POST v1/user/location/multiple
MOBILE - Receive user's multiple locations.
Request Information
URI Parameters
None.
Body Parameters
UserMultiLocationRequestModelName | Description | Type | Additional information |
---|---|---|---|
user_shipment_id |
Optional active shipment ID for the user |
string |
None. |
shipmentId | string |
None. |
|
locations |
List of user locations |
Collection of UserLocationSimpleModel |
Required |
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_shipment_id": "sample string 1", "shipmentId": "sample string 2", "locations": [ { "location_latitude": 1.1, "location_longitude": 2.1, "location_date_time": "2024-11-25T04:42:21.3626078+03:00" }, { "location_latitude": 1.1, "location_longitude": 2.1, "location_date_time": "2024-11-25T04:42:21.3626078+03:00" } ], "user_id": "sample string 3", "user_signature": "sample string 4" }
Response Information
Resource Description
MOBILE - Receive user's multiple locations.
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" } }