Get Array Sets Metadata
get
/rest/v19/commerceProcesses/{processVarName}/documents/{docVarName}/arraySets
This service returns the metadata for all array sets defined for the specified Commerce document.
Request
Path Parameters
-
docVarName(required): string
Variable Name of the parent document.
-
processVarName(required): string
Variable Name of the parent process.
Response
Default Response
Nested Schema : CommerceArraySets
Type:
Show Source
object
-
dateModified:
string
Title:
Date Last Modified
System field indicating the date on which the object was last modified. -
description:
string
Title:
Description
Description -
id:
integer
Title:
Id
Primary Key of Commerce Attributes. -
label:
string
Title:
Display Name
Attribute Name -
links:
object arraySetLinks
-
type:
object lookup
-
variableName:
string
Title:
Variable Name
Variable Name
Nested Schema : arraySetLinks
Type:
Show Source
object
-
parent:
string
Links to parent Commerce process document, array set translations, and array set attributes.
Nested Schema : lookup
Type:
Show Source
object
-
displayValue:
string
Title:
Display Value
Translated display name of the type for which fixed list of values can be defined. -
lookupCode:
string
Title:
Lookup Code
Language independent code of the fixed list of value.
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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/commerceProcesses/oraclecpqo/documents/transaction/arraySets
Response Body Sample
{ "items": [{ "id": 36642830, "dateModified": "2019-02-01", "links": [{ "rel": "parent", "href": "https://sitename.oracle.com/rest/v19/commerceProcesses/oraclecpqo/documents/transaction" }, { "rel": "self", "href": "https://sitename.oracle.com/rest/v19/commerceProcesses/oraclecpqo/documents/transaction/arraySets/financeOptions" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v19/commerceProcesses/oraclecpqo/documents/transaction/arraySets/financeOptions/translations" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v19/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/v19/commerceProcesses/oraclecpqo/documents/transaction" }, { "rel": "self", "href": "https://sitename.oracle.com/rest/v19/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v19/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/translations" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v19/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/v19/commerceProcesses/oraclecpqo/documents/transaction/arraySets" } ] }