POST
/
v1
/
entities
/
{entityId}
/
locations
curl --request POST \
  --url https://platform.realto.io/api/v1/entities/{entityId}/locations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>",
  "latitude": 123,
  "longitude": 123
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "label": "<string>",
  "latitude": 123,
  "longitude": 123
}

Authorizations

Authorization
string
header
required

Access Token Authentication

Path Parameters

entityId
string
required

The id of the Entity

Body

The location

The body is of type object.

Response

200
application/json
OK

The response is of type object.