Update Pricing Lookup Type
patch
/rest/v16/pricingSetup/pricingLookups/{lookupTypeVarName}
Use this endpoint to update the specified pricing lookup type.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : PricingLookupType
Type:
Show Source
object
-
active:
boolean()
Title:
Active
Indicates if the pricing lookup type 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 type. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Modified
Read Only:true
Last modified date of the pricing lookup type. -
description:
string()
Title:
Description
The description of the pricing lookup type. -
displayLabel:
string()
Title:
Display Label
The display label of the pricing lookup type. -
id:
integer()
Title:
ID
The ID of the pricing lookup type. -
integrationId:
string()
Title:
Integration ID
The integration ID of the pricing lookup type. -
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. -
lookupType:
string()
Title:
Lookup Type
The unique lookup type. -
lookupValues:
Pricing Lookup Values
Title:
Pricing Lookup Values
Read Only:true
The collection of pricing lookup values for the Pricing Lookup Type. Note this is a child resource. -
parentLookupType:
string()
Title:
Parent Lookup Type
The parent lookup type for the pricing lookup type. -
type:
string()
Title:
Type
Allowed Values:[ "Standard Lookup", "Custom Lookup" ]
The type of the pricing lookup type.
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 : Pricing Lookup Values
Title:
Pricing Lookup Values
Read Only:
true
The collection of pricing lookup values for the Pricing Lookup Type. Note this is a child resource.
Match All
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
Nested Schema : PricingResourceCollection_PricingLookupValue
Type:
Show Source
object
-
count:
integer()
Title:
Count
Read Only:true
The number of resource instances returned in the current range. -
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
hasMore:
boolean()
Title:
HasMore
Read Only:true
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. -
items:
array items
-
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
limit:
integer()
Title:
Limit
Read Only:true
The actual paging size used by the server. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
offset:
integer()
Title:
OffSet
Read Only:true
The offset value used in the current page. -
totalResults:
integer()
Title:
Total Results
Read Only:true
Captures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
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 : 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
Response
204 Response
Success
Examples
The following examples show how to update the specified pricing lookup type by submitting a PATCH request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X PATCH - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/pricingSetup/pricingLookups/chargeTypes
Request Body Sample
{ "lookupType": "chargeTypes", "displayLabel": "Charge Types", "description": "Identifies the value that will be received by the customer for a charge price. For example, the sale of a network device may have both a one time purchase price (with charge type of 'Purchase Price') and a one time installation price (with charge type of 'Installation Fee').", "type": "Standard Lookup", "integrationId": "charge_id", "active": true }