POST
/
measurement_locations
curl --request POST \
  --url https://api.sandbox.isometric.com/mrv/v0/measurement_locations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '{
  "latitude": 0,
  "longitude": 0,
  "project_id": "prj_1CTWZQGKE1S0VAXA",
  "supplier_reference_id": "<string>"
}'
{
  "id": "mlc_1CCZASA6Q1S0V8T4",
  "latitude": 123,
  "longitude": 123,
  "supplier_reference_id": "<string>"
}

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Example:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Body

application/json
latitude
number
required
Required range: -90 <= x <= 90
longitude
number
required
Required range: -180 <= x <= 180
project_id
string
required
Required string length: 20 - 36
Example:

"prj_1CTWZQGKE1S0VAXA"

supplier_reference_id
string
required

A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.

Required string length: 1 - 100

Response

200
application/json
Successful Response
id
string
required
Required string length: 20 - 36
Example:

"mlc_1CCZASA6Q1S0V8T4"

latitude
number
required
longitude
number
required
supplier_reference_id
string | null
required