Get Price Book Translation
get
/rest/v7/priceBooks/{variableName}/translations
This action retrieves translations for the specified Price Book.
Request
Path Parameters
-
variableName: string
Unique name for price book
Response
Default Response
Nested Schema : priceBookTranslations
Type:
Show Source
object-
dateAdded(optional):
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified(optional):
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
description(optional):
string
Title:
DescriptionTranslated description of the pricebook -
id(optional):
integer
Title:
IdPrimary Key of pricebook translations -
language(optional):
object Language
Title:
LanguageThe defined language of the rows translated columns. -
name(optional):
string
Title:
NameTranslated name of the pricebook
Nested Schema : Language
Type:
objectTitle:
LanguageThe defined language of the rows translated columns.
Show Source
-
id(optional):
integer
Title:
IdPrimary Key of the language resource. -
languageNumber(optional):
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 -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v7/priceBooks/{variableName}/translations
Response Body Sample
{
"hasMore": false,
"links": [{
"rel": "self",
"href": "rest/v7/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/v7/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22PRICEBOOK_STATUS_TYPE%22%7D%7D"
}, {
"rel": "canonical",
"href": "/rest/v7/lookupValues/21209454"
}
]
},
"links": [{
"rel": "self",
"href": "/rest/v7/priceBooks/pricebook7"
}, {
"kind": "",
"rel": "child",
"name": "translations",
"href": "/rest/v7/priceBooks/pricebook7/translations"
}
]
}, {
"orderNumber": 2,
...
}, {
"orderNumber": 1,
...
}
]
}