Add Pricing Lookup Value
post
/rest/v16/pricingSetup/pricingLookups/{lookupTypeVarName}/lookupValues
Use this endpoint to add a pricing lookup value.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : PricingLookupValue
Type:
Show Source
object
-
active:
boolean()
Title:
Active
Indicates if the pricing lookup value is active. -
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Added
Read Only:true
Creation date of the pricing lookup value. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Modified
Read Only:true
Last modified date of the pricing lookup value. -
description:
string()
Title:
Description
The description of the pricing lookup value. -
displayLabel:
string()
Title:
Display Label
The display label of the pricing lookup value. -
id:
integer()
Title:
ID
Read Only:true
The ID of the pricing lookup value. -
integrationId:
string()
Title:
Integration ID
The integration ID of the pricing lookup value. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
lookupCode:
string()
Title:
Lookup Code
The lookup code of the pricing lookup value. -
lookupType:
string()
Title:
Lookup Type
The lookup type of the pricing lookup value. -
orderNumber:
integer()
Title:
Order Number
The position(starting from 1) in a ordered list of Pricing Lookup Values. -
parentLookupCode:
string()
Title:
Parent Lookup Code
The parent lookup code for the pricing lookup value. -
type:
string()
Title:
Type
Read Only:true
Allowed Values:[ "Standard Value", "Custom Value" ]
The type of the pricing lookup value.
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 : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object
-
emailId:
string()
Title:
Email Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : PricingLookupValue
Type:
Show Source
object
-
active:
boolean()
Title:
Active
Indicates if the pricing lookup value is active. -
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Added
Read Only:true
Creation date of the pricing lookup value. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Modified
Read Only:true
Last modified date of the pricing lookup value. -
description:
string()
Title:
Description
The description of the pricing lookup value. -
displayLabel:
string()
Title:
Display Label
The display label of the pricing lookup value. -
id:
integer()
Title:
ID
Read Only:true
The ID of the pricing lookup value. -
integrationId:
string()
Title:
Integration ID
The integration ID of the pricing lookup value. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
lookupCode:
string()
Title:
Lookup Code
The lookup code of the pricing lookup value. -
lookupType:
string()
Title:
Lookup Type
The lookup type of the pricing lookup value. -
orderNumber:
integer()
Title:
Order Number
The position(starting from 1) in a ordered list of Pricing Lookup Values. -
parentLookupCode:
string()
Title:
Parent Lookup Code
The parent lookup code for the pricing lookup value. -
type:
string()
Title:
Type
Read Only:true
Allowed Values:[ "Standard Value", "Custom Value" ]
The type of the pricing lookup value.
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 : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object
-
emailId:
string()
Title:
Email Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
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 }