Get Array Set Metadata
get
/rest/v16/commerceProcesses/{processVarName}/documents/{docVarName}/arraySets/{arraySetVarName}
This service returns the metadata for a specific Commerce array set.
Request
Path Parameters
-
arraySetVarName(required): string
Variable Name of the array Set.
-
docVarName(required): string
Variable Name of the parent document.
-
processVarName(required): string
Variable Name of the parent process.
Response
Default Response
Root 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 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/v16/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices
Response Body Sample
{ "id": 36641143, "dateModified": "2019-01-28", "links": [{ "rel": "parent", "href": "https://sitename.oracle.com/rest/v16/commerceProcesses/oraclecpqo/documents/transaction" }, { "rel": "self", "href": "https://sitename.oracle.com/rest/v16/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v16/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/translations" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v16/commerceProcesses/oraclecpqo/documents/transaction/arraySets/laborServices/attributes" } ], "label": "Labor Services", "description": "", "variableName": "laborServices", "type": { "lookupCode": "CmArrayAttrSet", "displayValue": "Array Set" } }