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
                - application/json
Path Parameters
                
                
                
                
                
                
                Root Schema : CmAdminDataColumnRequestModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            attributeType: 
            string()
            Title:Attribute TypeType of Attribute
- 
            catAttrId: 
            integer()
            Title:Catalog Attribute IdID of Catalog Attribute
- 
            catModelId: 
            integer()
            Title:Model IdId of Catalog Model Id
- 
            catPlineId: 
            integer()
            Title:Product Line IdId of Catalog Product Line
- 
            catSegmentId: 
            integer()
            Title:Segment IdId of Segment
- 
            cmAttrId: 
            integer()
            Title:Commerce Attribute IdID of Commerce Attribute
- 
            documentId: 
            integer()
            Title:documentIdID of document
- 
            isIndexed: 
            boolean()
            Title:Is IndexedIs Indexing enabled for the data column
- 
            isKeywordSearch: 
            boolean()
            Title:Is KeywordSearchIs keyword search enabled
- 
            reportLabel: 
            string()
            Title:Report LabelReport Label
- 
            searchLabel: 
            string()
            Title:Search LabelSearch Label
- 
            variableName: 
            string()
            Title:Variable NameVariable Name of Data Column
Response
Supported Media Types
                - application/json
201 Response
Success
                
                
                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
}