Menu
/api/items/partailCopy
/api/items/partailCopy
POST
/api/items/partailCopyUse it in a workflow
- Add a step and choose the TradeBeyond connector.
- Pick the /api/items/partailCopy action (under ItemController).
- Fill in the fields below, then reference the result from later steps as
{{apiItemsPartailcopy.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"version": 0,
"refNo": "string",
"itemNo": "string",
"itemName": "string",
"itemDesc": "string",
"masterEan": "string",
"buyerItemNo": "string",
"masterCasePack": 0,
"eanType": {
"code": "string",
"name": "string",
"version": 0
},
"customFields": {
"dynamicModelMap": {}
}
}
Response
Returns 200 with an object. Read it in later steps with {{apiItemsPartailcopy.response.data.<field>}}.
{
"formDefine": {
"id": "string",
"refNo": "string",
"label": "string",
"labelId": "string",
"version": "string",
"module": "NONE",
"subModuleId": "string",
"refNoLabelFieldId": "string",
"inPopup": "string",
"header": {
"uiId": "string",
"fields": [
{
"fieldId": "string",
"viewName": "string",
"fieldType": "string",
"fieldValue": [
"string"
],
"fieldLabel": "string",
"type": "string"
}
],
"linkbar": {
"id": "string",
"uiId": "string",
"align": "string",
"type": "VIEW",
"menuItems": [
{
"id": "string",
"uiId": "string",
"type": "ITEM",
"label": "string",
"labelId": "string",
"message": "string",
"externalLabel": "string",
"prefixIcon": "string",
"iconKey": "string",
"actionId": "string",
"action": "string",
"actionParams": {}
}
]
}
},
"toolbar": {
"id": "string",
"menuGroups": [
{
"id": "string",
"uiId": "string",
"align": "string",
"type": "VIEW",
"menuItems": [
{
"id": null,
"uiId": null,
"type": null,
"label": null,
"labelId": null,
"message": null,
"externalLabel": null,
"prefixIcon": null,
"iconKey": null,
"actionId": null,
"action": null,
"actionParams": null
}
]
}
]
},
"partyOwnerAccessRight": "NONE"
},
"doc": {
"id": "string",
"version": 0,
"refNo": "string",
"domainId": "string",
"status": "string",
"hubDomainId": "string",
"amIOwner": false,
"partiesList": [
{
"revision": 0,
"entityVersion": 0,
"domainId": "string",
"hubDomainId": "string",
"isForReference": false,
"internalSeqNo": 0,
"duid": "string",
"partyNameSeqNo": 0,
"contactUserSeqNo": 0,
"isOwner": false,
"partyName": {
"code": "string",
"name": "string",
"version": 0
},
"contactUser": {
"id": "string",
"refNo": "string",
"version": 0,
"userName": "string",
"docStatus": "string"
}
}
],
"initializePartyByDocumentId": "string",
"docTagList": [
{
"id": "string",
"refNo": "string",
"revision": 0,
"entityVersion": 0,
"domainId": "string",
"hubDomainId": "string",
"isForReference": false,
"version": 0,
"status": "string",
"docStatus": "string",
"editingStatus": "string",
"amIOwner": false
}
],
"docStatus": "string",
"fromImport": false
}
}
Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.
Was this page helpful?