Get Price Book Translation
get
/rest/v19/priceBooks/{variableName}/translations
This action retrieves translations for the specified Price Book.
Request
Path Parameters
-
variableName(required): string
Unique name for price book
Response
Default Response
Nested Schema : priceBookTranslations
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:
DescriptionTranslated description of the pricebook -
id:
integer
Title:
IdPrimary Key of pricebook translations -
language:
object Language
Title:
LanguageThe defined language of the rows translated columns. -
name:
string
Title:
NameTranslated name of the pricebook
Nested Schema : Language
Type:
objectTitle:
LanguageThe defined language of the rows translated columns.
Show Source
-
id:
integer
Title:
IdPrimary Key of the language resource. -
languageNumber:
integer
Title:
Language NumberUnique language number.
Examples
The following example shows how to retrieve a specified Price Book translation 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/priceBooks/{variableName}/translations
Response Body Sample
{
"hasMore": false,
"links": [{
"rel": "self",
"href": "rest/v12/priceBooks"
}
],
"items": [{
"orderNumber": 3,
"variableName": "pricebook7",
"name": "Pricebook 7: Inactive",
"description": null,
"dateModified": "2016-05-11T22:05:44.000Z",
"id": 16266872,
"dateAdded": "2013-09-20T20:21:02.000Z",
"status": {
"lookupCode": "3",
"displayValue": "Inactive",
"id": 21209454,
"links": [{
"rel": "domain",
"href": "/rest/v19/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22PRICEBOOK_STATUS_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "/rest/v19/lookupValues/21209454"
}
]
},
"links": [{
"rel": "self",
"href": "/rest/v19/priceBooks/pricebook7"
}, {
"kind": "",
"rel": "child",
"name": "translations",
"href": "/rest/v19/priceBooks/pricebook7/translations"
}
]
}, {
"orderNumber": 2,
...
}, {
"orderNumber": 1,
...
}
]
}