POST api/ATMS/PlantVehicleRouteMapping
Request Information
URI Parameters
None.
Body Parameters
ATMSPlantVehicleRouteMappingMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
None. |
|
| routeId | integer |
None. |
|
| branchId | integer |
None. |
|
| branchName | string |
None. |
|
| transporterCode | string |
None. |
|
| regNo | string |
None. |
|
| deviceimei | string |
None. |
|
| userId | integer |
None. |
|
| Isoverspeed | string |
None. |
|
| IsoverspeedBool | boolean |
None. |
|
| overspeedLimit | integer |
None. |
|
| overspeedDuration | integer |
None. |
|
| DO | string |
None. |
|
| driverName | string |
None. |
|
| driverNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"companyId": 1,
"routeId": 2,
"branchId": 3,
"branchName": "sample string 4",
"transporterCode": "sample string 5",
"regNo": "sample string 6",
"deviceimei": "sample string 7",
"userId": 8,
"Isoverspeed": "sample string 9",
"IsoverspeedBool": true,
"overspeedLimit": 11,
"overspeedDuration": 12,
"DO": "sample string 13",
"driverName": "sample string 14",
"driverNumber": "sample string 15"
}
application/xml, text/xml
Sample:
<ATMSPlantVehicleRouteMappingMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.ATMS"> <DO>sample string 13</DO> <Isoverspeed>sample string 9</Isoverspeed> <IsoverspeedBool>true</IsoverspeedBool> <branchId>3</branchId> <branchName>sample string 4</branchName> <companyId>1</companyId> <deviceimei>sample string 7</deviceimei> <driverName>sample string 14</driverName> <driverNumber>sample string 15</driverNumber> <overspeedDuration>12</overspeedDuration> <overspeedLimit>11</overspeedLimit> <regNo>sample string 6</regNo> <routeId>2</routeId> <transporterCode>sample string 5</transporterCode> <userId>8</userId> </ATMSPlantVehicleRouteMappingMDL>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Result | boolean |
None. |
|
| Data | string |
None. |
|
| status | integer |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Description": "sample string 2",
"Result": true,
"Data": "sample string 4",
"status": 5,
"TotalCount": 6
}
application/xml, text/xml
Sample:
<ServiceResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices"> <Data>sample string 4</Data> <Description>sample string 2</Description> <Message>sample string 1</Message> <Result>true</Result> <TotalCount>6</TotalCount> <status>5</status> </ServiceResultOfstring>