POST
/
datapoints

Authorizations

Authorization
string
headerrequired

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

Body

application/json
description
string
required
display_name
string
required
Required string length: 1 - 100
quantity
object
required
source_ids
string[]
required
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
type
enum<string>
required
Available options:
CONSTANT,
STANDARD_PUBLISHED_VALUE,
REPORTED,
ASSUMPTION,
DERIVED
measured_at
string | null
measurement_location_id
string | null
Required string length: 20 - 36

Response

200 - application/json
description
string | null
required
display_name
string
required
id
string
required
Required string length: 20 - 36
measured_at
string | null
required
measurement_location_id
string | null
required
Required string length: 20 - 36
quantity
object
required
source_ids
string[]
required
supplier_reference_id
string | null
required
type
enum<string>
required
Available options:
CONSTANT,
STANDARD_PUBLISHED_VALUE,
REPORTED,
ASSUMPTION,
DERIVED