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
-
docVarName: string
Variable Name of the parent document.
-
processVarName: string
Variable Name of the parent process.
Response
Default Response
Nested Schema : CommerceArraySets
Type:
Show Source
object-
dateModified(optional):
string
Title:
Date Last ModifiedSystem field indicating the date on which the object was last modified. -
description(optional):
string
Title:
DescriptionDescription -
id(optional):
integer
Title:
IdPrimary Key of Commerce Attributes. -
label(optional):
string
Title:
Display NameAttribute Name -
links(optional):
object arraySetLinks
-
type(optional):
object lookup
-
variableName(optional):
string
Title:
Variable NameVariable Name
Nested Schema : arraySetLinks
Type:
Show Source
object-
parent(optional):
string
Links to parent Commerce process document, array set translations, and array set attributes.
Nested Schema : lookup
Type:
Show Source
object-
displayValue(optional):
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
lookupCode(optional):
string
Title:
Lookup CodeLanguage 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 - 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"
}
]
}