Get All Price Books

get

/rest/v16/priceBooks

This action retrieves a list of Price Books

Request

There are no request parameters for this operation.

Back to Top

Response

Default Response

Body ()
Root Schema : priceBooks-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : priceBooks
Type: object
Show Source
Nested Schema : Status
Type: object
Title: Status
Price book status
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Id
    Primary Key of the fixed list of value resource.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Back to Top

Examples

The following example shows how to retrieve the list of Price Books by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/pricing/actions/calculatePrice

Response Body Sample

{
   "hasMore": false,
   "items": [{
         "id": 4125467,
         "dateModified": "2018-05-03T11:07:28.000Z",
         "status": 3,
         "variableName": "_default_price_book",
         "description": "Default Price Book. this is default",
         "orderNumber": 1,
         "name": "Base Price",
         "refId": -1,
         "dateAdded": "2005-11-15T20:56:15.000Z",
         "companyId": 4118171,
         "partnerPriceBookId": null,
         "multiplierValue": 1,
         "refType": 1
      }, {
         "id": 16266857,
         "dateModified": "2016-05-11T22:05:44.000Z",
         "status": 1,
         "variableName": "pricebook4",
         "description": null,
         "orderNumber": 5,
         "name": "Pricebook 4: Custom, Exchange Rates",
         "refId": -1,
         "dateAdded": "2013-09-20T20:19:35.000Z",
         "companyId": 4118171,
         "partnerPriceBookId": null,
         "multiplierValue": 1,
         "refType": 0
      }
   ]
}
         
Back to Top