POST v1/user/location/multiple

MOBILE - Receive user's multiple locations.

Request Information

URI Parameters

None.

Body Parameters

UserMultiLocationRequestModel
NameDescriptionTypeAdditional information
user_shipment_id

Optional active shipment ID for the user

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",
  "locations": [
    {
      "location_latitude": 1.1,
      "location_longitude": 2.1,
      "location_date_time": "2018-09-22T21:53:21.9492231+03:00"
    },
    {
      "location_latitude": 1.1,
      "location_longitude": 2.1,
      "location_date_time": "2018-09-22T21:53:21.9492231+03:00"
    }
  ],
  "user_id": "sample string 2",
  "user_signature": "sample string 3"
}

Response Information

Resource Description

MOBILE - Receive user's multiple locations.

BaseMetaResultModel
NameDescriptionTypeAdditional 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"
  }
}