Get Attributes Metadata

get

/rest/v16/commerceProcesses/{processVarName}/documents/{docVarName}/attributes

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

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : CommerceAttributes-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : CommerceAttributes
Type: object
Show Source
Nested Schema : Additional
Type: object
Title: Additional
Additional fields.
Nested Schema : foreignKey
Type: object
Show Source
Nested Schema : lookup
Type: object
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Nested Schema : dependencies
Type: object
Show Source
Nested Schema : Potential States
Type: object
Title: Potential States
Set of states for this attribute.
Nested Schema : System Default
Type: object
Title: System Default
System Default
Show Source
Nested Schema : Actions
Type: object
Title: Actions
Array of actions
Nested Schema : Attributes
Type: object
Title: Attributes
Array of attributes
Nested Schema : Resources
Type: object
Title: Resources
Array of resources
Back to Top

Examples

The following example shows how to retrieve the metadata for all attributes 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/v16/commerceProcesses/oraclecpqo/documents/transaction/attributes

The following example shows how to retrieve metadata for all attributes using the 'Expand All' parameter to include all translations 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/attributes?expand=all*
Back to Top