PATCH
/
components
/
{id}
Patch Component
curl --request PATCH \
  --url https://api.sandbox.isometric.com/mrv/v0/components/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '{
  "allocation_strategy": "ESTIMATED_PROJECT_TONNAGE",
  "description": "<string>",
  "display_name": "<string>",
  "inputs": [
    {
      "__typename": "CreateComponentListInput",
      "datapoint_ids": [
        "dtp_1DVKHKS101S0Q61Q"
      ],
      "input_key": "<string>"
    }
  ]
}'
{
  "activity_completed_at": "2023-11-07T05:31:56Z",
  "activity_started_at": "2023-11-07T05:31:56Z",
  "allocation_strategy": "ESTIMATED_PROJECT_TONNAGE",
  "blueprint_key": "<string>",
  "description": "<string>",
  "display_name": "<string>",
  "id": "cmp_1EP2SB7MZ1S036PY",
  "inputs": [
    {
      "__typename": "ComponentListInput",
      "datapoint_ids": [
        "dtp_1DVKHKS101S0Q61Q"
      ],
      "input_key": "<string>"
    }
  ],
  "scope": "REMOVAL",
  "supplier_reference_id": "<string>",
  "type": "ACTIVITY"
}

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

Examples:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Path Parameters

id
string
required

Body

application/json
allocation_strategy
default:{"__typename":"Undefined"}

Allocation strategy to change the component to. This can only be set on project-scoped components. Strategies which control how Project Emissions are automatically amortized and attributed to GHG Statement and Removals

ESTIMATED_PROJECT_TONNAGE - Automatic amortization ensuring full amortization in proportion to the project's estimated gross removal.

MANUAL - No automatic amortization. All GHG Statement and Removal attributions are performed manually.

CUSTOM_TIME_PERIOD - Automatic amortization ensuring full amortization by a specified target date.

ESTIMATED_PROJECT_LIFETIME - Automatic amortization ensuring full amortization over the project's estimated lifetime.

Available options:
ESTIMATED_PROJECT_TONNAGE,
MANUAL,
CUSTOM_TIME_PERIOD,
ESTIMATED_PROJECT_LIFETIME
description
default:{"__typename":"Undefined"}
display_name
default:{"__typename":"Undefined"}
Required string length: 1 - 100
inputs

Overwrite existing component inputs

Response

Successful Response

activity_completed_at
string<date-time> | null
required
activity_started_at
string<date-time> | null
required
blueprint_key
string
required
description
string | null
required
display_name
string
required
id
string
required
Required string length: 20 - 37
Examples:

"cmp_1EP2SB7MZ1S036PY"

"cmp_1EHK4R6QJSBXFC5N"

inputs
Inputs · array
required

A list of component inputs. The inputs can be either scalars or list inputs.

scope
enum<string>
required
Available options:
REMOVAL,
GHG_STATEMENT,
PROJECT,
NET_NEGATIVITY
supplier_reference_id
string | null
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:
ACTIVITY,
COUNTERFACTUAL,
SEQUESTRATION,
LOSS,
REDUCTION,
UNCERTAINTY_DISCOUNT
allocation_strategy
enum<string> | null

Attribution strategy, manages how project-scoped components are distributed across GHG statements; value will be Null if scope is not of scope project Strategies which control how Project Emissions are automatically amortized and attributed to GHG Statement and Removals

ESTIMATED_PROJECT_TONNAGE - Automatic amortization ensuring full amortization in proportion to the project's estimated gross removal.

MANUAL - No automatic amortization. All GHG Statement and Removal attributions are performed manually.

CUSTOM_TIME_PERIOD - Automatic amortization ensuring full amortization by a specified target date.

ESTIMATED_PROJECT_LIFETIME - Automatic amortization ensuring full amortization over the project's estimated lifetime.

Available options:
ESTIMATED_PROJECT_TONNAGE,
MANUAL,
CUSTOM_TIME_PERIOD,
ESTIMATED_PROJECT_LIFETIME