Menu
/api/purchase_orders/createChainOfCustody
Create coc from vpo
GET
/api/purchase_orders/createChainOfCustodyUse it in a workflow
- Add a step and choose the TradeBeyond connector.
- Pick the /api/purchase_orders/createChainOfCustody action (under VendorPurchaseOrderController).
- Fill in the fields below, then reference the result from later steps as
{{apiPurchaseOrdersCreatechainofcustody.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{apiPurchaseOrdersCreatechainofcustody.response.data.<field>}}.
{
"vpoChainOfCustodyDtlUpdateList": [
{
"vpo": {
"id": "string",
"refNo": "string",
"version": 0,
"vpoNo": "string",
"shipmentDate": "2025-01-01"
},
"vendor": {
"id": "string",
"fromImport": false,
"deleteCommentFieldInfoList": [
{
"uiId": "string",
"businessKey": "string",
"internalSeqNo": 0
}
],
"get_overrideCreateUser": "string",
"get_overrideCreateUserName": "string",
"get_overrideUpdateUser": "string",
"get_overrideUpdateUserName": "string",
"get_overrideCreatedOn": "2025-01-01T00:00:00Z",
"get_overrideUpdatedOn": "2025-01-01T00:00:00Z",
"get_overrideStatus": "string",
"refNo": "string",
"businessRefNo": "string"
},
"productCategoryValue": "string",
"cocId": "string",
"sectionSeqNo": 0,
"sectionName": "string",
"description": "string",
"chainOfCustodyStatus": {
"code": "string",
"name": "string",
"version": 0
},
"chainOfCustodySupplier": {
"id": "string",
"refNo": "string",
"version": "string",
"status": "string",
"businessName": "string",
"city": "string",
"type": "string",
"module": "NONE",
"gpsLng": "string",
"gpsLat": "string",
"country": {
"code": "string",
"name": "string",
"version": 0
},
"facilityTypeList": [
{
"code": "string",
"name": "string",
"version": 0
}
]
},
"countryOfOrigin": "string",
"city": "string",
"documentDate": "2025-01-01"
}
]
}
Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.
Was this page helpful?