POST
/
project_components
curl --request POST \
  --url https://api.sandbox.isometric.com/mrv/v0/project_components \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '{
  "allocation_strategy": "ESTIMATED_PROJECT_TONNAGE",
  "component_data": {
    "activity_completed_at": "2023-11-07T05:31:56Z",
    "activity_started_at": "2023-11-07T05:31:56Z",
    "component_blueprint_key": "<string>",
    "description": "<string>",
    "display_name": "<string>",
    "inputs": [
      {
        "__typename": "CreateComponentListInput",
        "datapoint_ids": [
          "dtp_1DVKHKS101S0Q61Q"
        ],
        "input_key": "<string>"
      }
    ],
    "project_id": "prj_1CTWZQGKE1S0VAXA",
    "supplier_reference_id": "<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"

Body

application/json

Response

200
application/json
Successful Response

The response is of type object.