Get All Transaction Lines Pricing Data
get
/rest/v19/pricingSetup/preview/{bsId}/items
Use this endpoint to retrieve all pricing items for the specified transaction.
Request
Path Parameters
Query Parameters
-
fields: string
This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : PricingPreviewLineItem
Type:
Show Source
object
-
bomItemName:
string()
Title:
Bom Item Name
Read Only:true
Bom Item Name. -
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
documentNumber:
integer()
Title:
Line Item Document Number
Read Only:true
Line Item Document Number. -
itemAttributeValues:
object Item Attribute Values
Title:
Item Attribute Values
Read Only:true
Item Attribute Values. -
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. -
partNumber:
string()
Title:
Part Number
Read Only:true
Part Number. -
rootBomItemName:
string()
Title:
Root Bom Item Name
Read Only:true
Root Bom Item Name.
Nested Schema : Created By
Title:
Created By
Read Only:
true
The 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:
object
Title:
Item Attribute Values
Read Only:
true
Item Attribute Values.
Nested Schema : Last Modified By
Title:
Last Modified By
Read Only:
true
The 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:
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 retrieve all pricing items for the specified transaction 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
Response Body Sample
[{ "documentNumber": 2, "partNumber": "Telehealth and Wellness", "bomItemName": "Telehealth and Wellness", "rootBomItemName": "Telehealth and Wellness" }, { "documentNumber": 3, "partNumber": "Online Counseling Services", "bomItemName": "Online Counseling Services", "rootBomItemName": "Telehealth and Wellness" }, { "documentNumber": 4, "partNumber": "Access to Virtual Therapy", "bomItemName": "Access to Virtual Therapy", "rootBomItemName": "Telehealth and Wellness" }, { "documentNumber": 5, "partNumber": "Counseling Services", "bomItemName": "Counseling Services", "rootBomItemName": "Telehealth and Wellness" }, { "documentNumber": 6, "partNumber": "Mental Wellness Apps", "bomItemName": "Mental Wellness Apps", "rootBomItemName": "Telehealth and Wellness" } ]