Get a Transaction Line Pricing Data
get
/rest/v19/pricingSetup/preview/{bsId}/items/{docNumber}
Use this endpoint to retrieve the line level pricing items for the specified transaction line item.
Request
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : PricingPreviewLineItem
Type:
Show Source
object-
bomItemName:
string()
Title:
Bom Item NameRead Only:trueBom Item Name. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
documentNumber:
integer()
Title:
Line Item Document NumberRead Only:trueLine Item Document Number. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
itemAttributeValues:
object Item Attribute Values
Title:
Item Attribute ValuesRead Only:trueItem Attribute Values. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
partNumber:
string()
Title:
Part NumberRead Only:truePart Number. -
rootBomItemName:
string()
Title:
Root Bom Item NameRead Only:trueRoot Bom Item Name. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Item Attribute Values
Type:
objectTitle:
Item Attribute ValuesRead Only:
trueItem Attribute Values.
Nested Schema : Last Modified By
Title:
Last Modified ByRead Only:
trueThe details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast Name of the user
Examples
The following example shows how to retrieve the line level pricing items for the specified transaction line item by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/pricingSetup/preview/38635017/items/6
Response Body Sample
{
"documentNumber": 6,
"partNumber": "Mental Wellness Apps",
"bomItemName": "Mental Wellness Apps",
"rootBomItemName": "Telehealth and Wellness",
"itemAttributeValues": {
"_bomItemVariableName": "04881379b2350a612db0cb1bb40de11a2e53f8dfe3320d598c6c489d8b399068",
"_quantity": 11,
"_serviceDurationPeriod": "",
"_serviceDuration": "",
"_requestedAgreementNumber": "",
"_requestedRatePlanNumber": "mentalWellnessAppsPlan1"
}
}