POST api/Jobs
Edit a service records
Request Information
URI Parameters
None.
Body Parameters
_apiJobRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ManifestId | integer |
None. |
|
| ManifestNumber | integer |
None. |
|
| BinPlacedId | integer |
None. |
|
| BinRemovedId | integer |
None. |
|
| DriverComment | string |
None. |
|
| Items | Collection of _apiJobItemRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ManifestId": 1,
"ManifestNumber": 1,
"BinPlacedId": 1,
"BinRemovedId": 1,
"DriverComment": "sample string 2",
"Items": [
{
"Id": 1,
"Units": 2.1
},
{
"Id": 1,
"Units": 2.1
}
]
}
application/xml, text/xml
Sample:
<_apiJobRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WasteMart.Models">
<BinPlacedId>1</BinPlacedId>
<BinRemovedId>1</BinRemovedId>
<DriverComment>sample string 2</DriverComment>
<Id>1</Id>
<Items>
<_apiJobItemRequest>
<Id>1</Id>
<Units>2.1</Units>
</_apiJobItemRequest>
<_apiJobItemRequest>
<Id>1</Id>
<Units>2.1</Units>
</_apiJobItemRequest>
</Items>
<ManifestId>1</ManifestId>
<ManifestNumber>1</ManifestNumber>
</_apiJobRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>