POST api/VehicleLoad/StartTravel
Request Information
URI Parameters
None.
Body Parameters
VehicleLoad_StartTravelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceUniqueId | string |
None. |
|
| BorderauxCode | string |
None. |
|
| Driver | Driver |
None. |
|
| Vehicle | Vehicle |
None. |
|
| Note | string |
None. |
|
| IdOperator | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceUniqueId": "sample string 1",
"BorderauxCode": "sample string 2",
"Driver": {
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3"
},
"Vehicle": {
"Id": 1,
"LicensePlate": "sample string 2",
"Description": "sample string 3"
},
"Note": "sample string 3",
"IdOperator": 4
}
application/xml, text/xml
Sample:
<VehicleLoad_StartTravelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
<BorderauxCode>sample string 2</BorderauxCode>
<DeviceUniqueId>sample string 1</DeviceUniqueId>
<Driver>
<Code>sample string 2</Code>
<Id>1</Id>
<Name>sample string 3</Name>
</Driver>
<IdOperator>4</IdOperator>
<Note>sample string 3</Note>
<Vehicle>
<Description>sample string 3</Description>
<Id>1</Id>
<LicensePlate>sample string 2</LicensePlate>
</Vehicle>
</VehicleLoad_StartTravelRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VehicleLoad_StartTravelResultResponse Formats
application/json, text/json
Sample:
0
application/xml, text/xml
Sample:
<VehicleLoad_Enumerators.VehicleLoad_StartTravelResult xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">GenericError</VehicleLoad_Enumerators.VehicleLoad_StartTravelResult>