PUT api/Works/{workorder}/Tasks
Save Work Order Tasks
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workorder |
|
string |
Required |
Body Parameters
Collection of TaskEditName | Description | Type | Additional information |
---|---|---|---|
Id |
|
integer |
Required |
Performed |
|
PerformedType |
None. |
Notes |
|
string |
None. |
Type |
|
VerificationType |
None. |
Request Formats
Sample:
[ { "Id": 1, "Performed": 0, "Notes": "sample string 2", "Type": 65 }, { "Id": 1, "Performed": 0, "Notes": "sample string 2", "Type": 65 } ]
Sample:
<ArrayOfTaskEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <TaskEdit> <Id>1</Id> <Notes>sample string 2</Notes> <Performed>NotOk</Performed> <Type>Preparatory</Type> </TaskEdit> <TaskEdit> <Id>1</Id> <Notes>sample string 2</Notes> <Performed>NotOk</Performed> <Type>Preparatory</Type> </TaskEdit> </ArrayOfTaskEdit>
Sample:
Sample not available.
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Performed" NotOk --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Notes" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Type" Preparatory --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Performed" NotOk --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Notes" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Type" Preparatory --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version |
|
Version |
None. |
Content |
|
HttpContent |
None. |
StatusCode |
|
HttpStatusCode |
None. |
ReasonPhrase |
|
string |
None. |
Headers |
|
Collection of Object |
None. |
RequestMessage |
|
HttpRequestMessage |
None. |
IsSuccessStatusCode |
|
boolean |
None. |