Create a Commerce Process Data Column

post

/rest/v19/commerceProcessSetups/{processVarName}/dataColumns

Use this endpoint to create Data Columns for the specified Commerce Process.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : CmAdminDataColumnRequestModel
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Success
Back to Top

Examples

The following example shows how to create Data Columns for the specified Commerce Process by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/commerceProcessSetups/oraclecpqo/dataColumns

Request Body Samples

{
  "attributeType": "COMMERCE",
  "documentId": 3023304905,
  "isIndexed": false,
  "isKeywordSearch": false,
  "cmAttrId": 3023312918,
  "catAttrId": -1,
  "searchLabel": "abc",
  "reportLabel": "abc",
  "variableName": "abcdhjiIIii_c",
  "catSegmentId": 50,
  "catPlineId": 3023271275,
  "catModelId": 3023271276
}

Response Body Sample

{
  "id": 3023491496
}
Back to Top