Menu
/api/purchase_orders/updateGridVisibleAndOrder
Update grid order ,json in newui
POST
/api/purchase_orders/updateGridVisibleAndOrderUse it in a workflow
- Add a step and choose the TradeBeyond connector.
- Pick the /api/purchase_orders/updateGridVisibleAndOrder action (under VendorPurchaseOrderController).
- Fill in the fields below, then reference the result from later steps as
{{apiPurchaseOrdersUpdategridvisibleandorder.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"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": "string",
"uiId": "string",
"type": "ITEM",
"label": "string",
"labelId": "string",
"message": "string",
"externalLabel": "string",
"prefixIcon": "string",
"iconKey": "string",
"actionId": "string",
"action": "string",
"actionParams": {}
}
]
}
]
},
"partyOwnerAccessRight": "NONE"
}
Response
Returns 200 with an object. Read it in later steps with {{apiPurchaseOrdersUpdategridvisibleandorder.response.data.<field>}}.
{
"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": "string",
"uiId": "string",
"type": "ITEM",
"label": "string",
"labelId": "string",
"message": "string",
"externalLabel": "string",
"prefixIcon": "string",
"iconKey": "string",
"actionId": "string",
"action": "string",
"actionParams": {}
}
]
}
]
},
"partyOwnerAccessRight": "NONE"
}
Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.
Was this page helpful?