Patch Ghg Entry Components
Changed onChange component attributions for the GHG entry.
patch/ghg_entries/{id}/component_attributions
Request
- Base URLhttps://api.isometric.com/mrv/v0
- URLhttps://api.isometric.com/mrv/v0/ghg_entries/{id}/component_attributions
- AuthHTTP bearer
Path parameters
idstring required
Example:rmv_1EEM6NJXX1S0EXKD
Headers
x-client-secretstring required
A secret token identifying the client connecting to the API
Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP
Request body
Example request
{
"components_to_add": [
{
"component_id": "cmp_1EP2SB7MZ1S036PY",
"component_group_key": "bio-oil-storage"
}
],
"components_to_remove": [
"cmp_1EP2SB7MZ1S036PY"
]
}Response
Successful Response
Example response
{
"id": "rmv_1EEM6NJXX1S0EXKD",
"ghg_statement_id": "ggs_1GDQJ99Z51S0DYW9",
"feedstock_type_id": "ftt_1D7KZ1P761S0G7BN"
}Changes
- breaking
for the
pathrequest parameterid, the minLength was increased from0to20 - warning
for the
pathrequest parameterid, the maxLength was set to37 - info
for the
pathrequest parameterid, the type was generalized from no type tostring
- breaking
- info
endpoint added
- info