Menu
/api/codelists (The saveAndConfirm action of CodelistBook)
The saveAndConfirm action of CodelistBook
POST
/api/codelistsUse it in a workflow
- Add a step and choose the TradeBeyond connector.
- Pick the /api/codelists (The saveAndConfirm action of CodelistBook) action (under CodelistController).
- Fill in the fields below, then reference the result from later steps as
{{apiCodelistsTheSaveandconfirmActionOfCodelistbook.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"refNo": "string",
"version": 0,
"name": "string",
"description": "string",
"referenceDataList": [
{
"revision": 0,
"entityVersion": 0,
"domainId": "string",
"condition": "string",
"hubDomainId": "string",
"isForReference": false,
"internalSeqNo": 0,
"seqNo": 0,
"code": "string",
"name": "string",
"disabled": false,
"refNo": "string"
}
],
"category": {
"code": "string",
"name": "string",
"version": 0
}
}
Response
Returns 200 with an object. Read it in later steps with {{apiCodelistsTheSaveandconfirmActionOfCodelistbook.response.data.<field>}}.
{
"refNo": "string",
"version": 0,
"name": "string",
"description": "string",
"referenceDataList": [
{
"revision": 0,
"entityVersion": 0,
"domainId": "string",
"condition": "string",
"hubDomainId": "string",
"isForReference": false,
"internalSeqNo": 0,
"seqNo": 0,
"code": "string",
"name": "string",
"disabled": false,
"refNo": "string"
}
],
"category": {
"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?