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
label
string | null
latitude
number
longitude
number

Response

200
application/json
OK
id
string
required
label
string | null
required
latitude
number
required
longitude
number
required