Get All Price Books
get
/rest/v19/priceBooks
This action retrieves a list of Price Books
Request
There are no request parameters for this operation.
Back to TopResponse
Default Response
Nested Schema : priceBooks
Type:
Show Source
object-
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
description:
string
Title:
DescriptionDescription -
id:
integer
Title:
IdPrimary Key of BM_PRICE_BOOK -
name:
string
Title:
NamePrice book name -
orderNumber:
integer
Title:
Order NumberOrder Number -
priceBookLink:
object priceBookLink
-
priceBookTranslationLinks:
object priceBookTranslationLinks
-
status:
object Status
Title:
StatusPrice book status -
variableName:
string
Title:
Variable NameUnique name for price book
Nested Schema : priceBookTranslationLinks
Type:
Show Source
object-
link:
string
Link to Price Book translations.
Nested Schema : Status
Type:
objectTitle:
StatusPrice book status
Show Source
-
displayValue:
string
Title:
Display ValueTranslated display name of the type for which fixed list of values can be defined. -
id:
integer
Title:
IdPrimary Key of the fixed list of value resource. -
lookupCode:
string
Title:
Lookup CodeLanguage independent code of the fixed list of value.
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 -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/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
}
]
}