Get Array Sets Metadata

get

/rest/v7/commerceProcesses/{processVarName}/documents/{docVarName}/arraySets

This service returns the metadata for all array sets defined for the specified Commerce document.

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : CommerceArraySets-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : CommerceArraySets
Type: object
Show Source
Nested Schema : lookup
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve metadata for all array sets defined for the specified Commerce document by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets

Response Body Sample

{
  "items": [{
      "id": 36642830,
      "dateModified": "2019-02-01",
      "links": [{
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction"
        }, {
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/financeOptions"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/financeOptions/translations"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/financeOptions/attributes"
        }
      ],
      "label": "Finance Options",
      "description": "",
      "variableName": "financeOptions",
      "type": {
        "lookupCode": "CmArrayAttrSet",
        "displayValue": "Array Set"
      }
    }, {
      "id": 36641143,
      "dateModified": "2019-01-28",
      "links": [{
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction"
        }, {
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/translations"
        }, {
          "rel": "child",
          "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/attributes"
        }
      ],
      "label": "Labor Services",
      "description": "",
      "variableName": "laborServices",
      "type": {
        "lookupCode": "CmArrayAttrSet",
        "displayValue": "Array Set"
      }
    }
  ],
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/arraySets"
    }
  ]
}
Back to Top