Menu
/api/factories/{factRefNo}/factAgreementList/{factAgreementId} (Update fact agreement status as 'agreed')
Update fact agreement status as 'agreed'
PATCH
/api/factories/{factRefNo}/factAgreementList/{factAgreementId}Use it in a workflow
- Add a step and choose the TradeBeyond connector.
- Pick the /api/factories/{factRefNo}/factAgreementList/{factAgreementId} (Update fact agreement status as 'agreed') action (under FactoryController).
- Fill in the fields below, then reference the result from later steps as
{{apiFactoriesFactrefnoFactagreementlistFactagreementidUpdateFactAgreementStatusAsAgreed.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": "string",
"code": "string",
"uniqueKey": "string",
"type": {
"code": "string",
"name": "string",
"version": 0
},
"category": {
"code": "string",
"name": "string",
"version": 0
},
"contractFileRefNo": "string",
"contractFileAttachment": {
"id": "string",
"fileName": "string",
"thumbnail": false,
"filePath": "string",
"fileSize": "string",
"protocol": "string",
"createUser": "string",
"createUserName": "string",
"updateUser": "string",
"updateUserName": "string",
"url": "string",
"angle": 0
},
"description": "string",
"instructionToVendor": "string",
"effectiveUntil": "2025-01-01",
"status": {
"code": "string",
"name": "string",
"version": 0
},
"docStatus": {
"code": "string",
"name": "string",
"version": 0
}
}
Response
Returns 200 with an object. Read it in later steps with {{apiFactoriesFactrefnoFactagreementlistFactagreementidUpdateFactAgreementStatusAsAgreed.response.data.<field>}}.
{
"id": "string",
"refNo": "string",
"version": 0,
"businessName": "string",
"factCode": "string",
"factAuditNo": "string",
"baselineYearCode": "string",
"editingStatus": "string",
"status": "string",
"factTypeValue": "string",
"baselineEmissions": 0,
"country": {
"code": "string",
"name": "string",
"version": 0
}
}
Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.
Was this page helpful?