Add Pricing Lookup Value

post

/rest/v16/pricingSetup/pricingLookups/{lookupTypeVarName}/lookupValues

Use this endpoint to add a pricing lookup value.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : PricingLookupValue
Type: object
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
Show Source
Nested Schema : Last Modified By
Title: Last Modified By
Read Only: true
The details of the user who modified the record.
Match All
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : PricingLookupValue
Type: object
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
Show Source
Nested Schema : Last Modified By
Title: Last Modified By
Read Only: true
The details of the user who modified the record.
Match All
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Back to Top

Examples

The following example shows how to add a pricing lookup value by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/pricingSetup/pricingLookups/chargeTypes/lookupValues

Request Body

{
  "lookupType": "chargeTypes",
  "lookupCode": "installationFee",
  "displayLabel": "Installation Fee",
  "description": "",
  "active": true,
  "type": "Standard Value",
  "orderNumber": 4
}

Response Body

{
  "lookupType": "chargeTypes",
  "lookupCode": "installationFee",
  "displayLabel": "Installation Fee",
  "description": "",
  "active": true,
  "type": "Standard Value",
  "orderNumber": 4
}
Back to Top