Skip to main content
POST
/
projects
/
{project_id}
/
storage_locations
Post Storage Location
curl --request POST \
  --url https://api.sandbox.isometric.com/mrv/v0/projects/{project_id}/storage_locations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '
{
  "latitude": 0,
  "longitude": 0,
  "name": "<string>",
  "project_id": "<string>",
  "description": {
    "__typename": "Undefined"
  },
  "storage_method": {
    "__typename": "Undefined"
  },
  "supplier_reference_id": {
    "__typename": "Undefined"
  }
}
'
{
  "id": "<string>",
  "name": "<string>",
  "project_id": "<string>",
  "storage_method": "biochar_field",
  "supplier_id": "<string>",
  "description": "<string>",
  "latitude": 0,
  "longitude": 0,
  "supplier_reference_id": "<string>"
}

This endpoint is in beta and requires opting-in.

Please contact support if you’re interested in using this endpoint.

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

Path Parameters

project_id
string
required

Body

application/json
latitude
number
required
Required range: -90 <= x <= 90
longitude
number
required
Required range: -180 <= x <= 180
name
string
required
project_id
string
required
Required string length: 20 - 37
description
default:{"__typename":"Undefined"}
storage_method
default:{"__typename":"Undefined"}
Available options:
biochar_field,
biochar_landfill,
biomass_injection_well,
biomass_subsurface,
saline_aquifer
supplier_reference_id
default:{"__typename":"Undefined"}

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

Successful Response

id
string
required
Required string length: 20 - 37
name
string
required

The name of the storage location

Maximum string length: 100
project_id
string
required

The ID of the project this storage location belongs to

Required string length: 20 - 37
storage_method
enum<string>
required

The method of storage by the storage location

Available options:
biochar_field,
biochar_landfill,
biomass_injection_well,
biomass_subsurface,
saline_aquifer
supplier_id
string
required

The ID of the supplier this storage location belongs to

Required string length: 20 - 37
description
string | null

Optional description of the storage location

latitude
number | null

The latitude coordinate of the storage location

Required range: -90 <= x <= 90
longitude
number | null

The longitude coordinate of the storage location

Required range: -180 <= x <= 180
supplier_reference_id
string | null

Optional supplier-specific reference ID for the storage location

Required string length: 1 - 100