POST v1/user/location
MOBILE - Receive user's location.
Request Information
URI Parameters
None.
Body Parameters
UserLocationRequestModelName | Description | Type | Additional information |
---|---|---|---|
user_current_latitude | decimal number |
Required Data type: Text |
|
user_current_longitude | decimal number |
Required Data type: Text |
|
user_shipment_id | string |
Data type: Text |
|
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:
{ "user_current_latitude": 1.1, "user_current_longitude": 2.1, "user_shipment_id": "sample string 3", "user_id": "sample string 4", "user_signature": "sample string 5" }
Response Information
Resource Description
MOBILE - Receive user's location.
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" } }