Get Array Set Metadata
get
/rest/v7/commerceProcesses/{processVarName}/documents/{docVarName}/arraySets/{arraySetVarName}
This service returns the metadata for a specific Commerce array set.
Request
Path Parameters
-
arraySetVarName: string
Variable Name of the array Set.
-
docVarName: string
Variable Name of the parent document.
-
processVarName: string
Variable Name of the parent process.
Response
Default Response
Root 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 the specified array set 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/laborServices
Response Body Sample
{
"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"
}
}