younifyd
Menu

/api/purchase_orders/updateGridVisibleAndOrder

Update grid order ,json in newui

POST/api/purchase_orders/updateGridVisibleAndOrder

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/purchase_orders/updateGridVisibleAndOrder action (under VendorPurchaseOrderController).
  3. 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.

idstring
refNostring
labelstring
labelIdstring
versionstring
modulestring

One ofNONEALLCOLORINGREDIENTITEM_COLORITEM_SIZEFACTINSPECT_BOOKINGITEMSPECIFICATIONNOTEPATTERNRFQRFQ_ITEMVENDORVQESTIMATEDVQCEESTIMATEDCECODELISTCUSTOFFERSHEETUSER_ACCOUNT_COMPANYCPMACTIVITIESAPI_REPRESENTATIONCOMMAND_LOGSHIPMENT_ADVICECOMPONENTSHIPMENT_COMPLIANCEPACKAGING_ARTWORKHCL_TYPECOLOR_PALETTESIZE_TEMPLATEDOMAINOPEN_COSTING_TEMPLATEQUERY_COUNT_CACHEPARTY_TEMPLATEDEFAULT_PROFILEREGISTRATION_REQUEST

subModuleIdstring
refNoLabelFieldIdstring
inPopupstring
headerobject
uiIdstring
fieldsarray<object>6 fields
linkbarobject5 fields
toolbarobject
idstring
menuGroupsarray<object>5 fields
partyOwnerAccessRightstring

One ofNONEEDITABLEREADONLYHIDDEN

toolPanelsarray<object>
idstring
labelstring
rightHandPanelsarray<object>
idstring

One ofGENERALNOTESSHIPMENT

uiIdstring
titlestring
titleIconstring
tabGroupsarray<object>
idstring
uiIdstring
labelstring
labelIdstring
editingHintstring
hintstring
hiddenboolean
readonlyboolean
existConditionsarray<object>5 fields
conditionsApplyModestring

One ofSOMEEVERY

ratioarray<string>
sectionsarray<object>26 fields
tabGroupTypestring

One ofDIVIDERTOC_LABEL

fieldChangeConditionsarray<array<object>>
expandToolbarobject
idstring
menuGroupsarray<object>5 fields
isCustomFormboolean
defaultTocCollapseboolean
fieldCustomScriptsobject
actionCustomScriptsobject
json
{
  "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>}}.

idstring
refNostring
labelstring
labelIdstring
versionstring
modulestring

One ofNONEALLCOLORINGREDIENTITEM_COLORITEM_SIZEFACTINSPECT_BOOKINGITEMSPECIFICATIONNOTEPATTERNRFQRFQ_ITEMVENDORVQESTIMATEDVQCEESTIMATEDCECODELISTCUSTOFFERSHEETUSER_ACCOUNT_COMPANYCPMACTIVITIESAPI_REPRESENTATIONCOMMAND_LOGSHIPMENT_ADVICECOMPONENTSHIPMENT_COMPLIANCEPACKAGING_ARTWORKHCL_TYPECOLOR_PALETTESIZE_TEMPLATEDOMAINOPEN_COSTING_TEMPLATEQUERY_COUNT_CACHEPARTY_TEMPLATEDEFAULT_PROFILEREGISTRATION_REQUEST

subModuleIdstring
refNoLabelFieldIdstring
inPopupstring
headerobject
uiIdstring
fieldsarray<object>6 fields
linkbarobject5 fields
toolbarobject
idstring
menuGroupsarray<object>5 fields
partyOwnerAccessRightstring

One ofNONEEDITABLEREADONLYHIDDEN

toolPanelsarray<object>
idstring
labelstring
rightHandPanelsarray<object>
idstring

One ofGENERALNOTESSHIPMENT

uiIdstring
titlestring
titleIconstring
tabGroupsarray<object>
idstring
uiIdstring
labelstring
labelIdstring
editingHintstring
hintstring
hiddenboolean
readonlyboolean
existConditionsarray<object>5 fields
conditionsApplyModestring

One ofSOMEEVERY

ratioarray<string>
sectionsarray<object>26 fields
tabGroupTypestring

One ofDIVIDERTOC_LABEL

fieldChangeConditionsarray<array<object>>
expandToolbarobject
idstring
menuGroupsarray<object>5 fields
isCustomFormboolean
defaultTocCollapseboolean
fieldCustomScriptsobject
actionCustomScriptsobject
json
{
  "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.