POST v1/user/shipment/onroad
MOBILE - User set shipment on road.
Request Information
URI Parameters
None.
Body Parameters
ShipmentStateChangeForLocationRequestModelName | Description | Type | Additional information |
---|---|---|---|
latitude | decimal number |
Required Data type: Text |
|
longitude | decimal number |
Required Data type: Text |
|
shipment_id | string |
Required |
|
shipment_departure_approve | boolean |
None. |
|
user_id |
User ID (GUID) |
string |
Required Data type: Text |
user_signature |
MD5 hash signature for the active user to validate the request |
string |
Required Data type: Text |
Request Format
application/json, text/json
Sample:
{ "latitude": 1.1, "longitude": 2.1, "shipment_id": "sample string 3", "shipment_departure_approve": true, "user_id": "sample string 4", "user_signature": "sample string 5" }
Response Information
Resource Description
MOBILE - User set shipment on road.
BaseMetaResultModelName | Description | Type | Additional information |
---|---|---|---|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "meta": { "status_code": 1, "status_message": "sample string 2" } }