Post Measurement Locations

Changed on
post/measurement_locations

Request

  • Base URL
    https://api.isometric.com/mrv/v0
  • URL
    https://api.isometric.com/mrv/v0/measurement_locations
  • Auth
    HTTP bearer

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

Request body

supplier_reference_idstring 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.

latitudenumber required

A WGS84 latitude in decimal degrees, between -90 and 90.

longitudenumber required

A WGS84 longitude in decimal degrees, between -180 and 180.

project_idstring required

Example request

{
  "latitude": 51.5072,
  "longitude": -0.1276,
  "project_id": "prj_1CTWZQGKE1S0VAXA"
}

Response

Successful Response

idstring required
latitudenumber required

A WGS84 latitude in decimal degrees, between -90 and 90.

longitudenumber required

A WGS84 longitude in decimal degrees, between -180 and 180.

supplier_reference_idstring nullable 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.

Example response

{
  "id": "mlc_1CCZASA6Q1S0V8T4",
  "latitude": 51.5072,
  "longitude": -0.1276
}

Changes

    • breaking

      the / response property's maxLength was increased from 100 to 200 for the response status

    • info

      the request property's maxLength was increased from 100 to 200

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the response property's maxLength was increased from 36 to 37 for the response status

    • info

      the request property's maxLength was increased from 36 to 37