POST api/BatchServices
Request Information
URI Parameters
None.
Body Parameters
CreateServiceModel| Name | Description | Type | Additional information |
|---|---|---|---|
| assets | Collection of OBPOverdueAsset |
None. |
|
| priority | integer |
None. |
|
| task | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"assets": [
{
"OBPCustomerId": 1,
"Customer": "sample string 2",
"OBPDepotId": 3,
"Depot": "sample string 4",
"OBPAssetId": 5,
"Type": "sample string 6",
"Model": "sample string 7",
"Reg": "sample string 8",
"PlantNo": "sample string 9",
"Engineer": "sample string 10",
"ServiceDue": "2026-11-27T11:19:49.4169863+00:00",
"Age": "sample string 12",
"Open": true,
"OpenJobId": 1,
"UserId": 14,
"CreatedBy": 15
},
{
"OBPCustomerId": 1,
"Customer": "sample string 2",
"OBPDepotId": 3,
"Depot": "sample string 4",
"OBPAssetId": 5,
"Type": "sample string 6",
"Model": "sample string 7",
"Reg": "sample string 8",
"PlantNo": "sample string 9",
"Engineer": "sample string 10",
"ServiceDue": "2026-11-27T11:19:49.4169863+00:00",
"Age": "sample string 12",
"Open": true,
"OpenJobId": 1,
"UserId": 14,
"CreatedBy": 15
}
],
"priority": 1,
"task": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.