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.

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-04-26T13:30:13.9463345+03:00"
    },
    {
      "location_latitude": 1.1,
      "location_longitude": 2.1,
      "location_date_time": "2024-04-26T13:30:13.9463345+03:00"
    }
  ],
  "user_id": "sample string 3",
  "user_signature": "sample string 4"
}

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