Get Price Book Translation

get

/rest/v16/priceBooks/{variableName}/translations

This action retrieves translations for the specified Price Book.

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : priceBookTranslations-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : priceBookTranslations
Type: object
Show Source
Nested Schema : Language
Type: object
Title: Language
The defined language of the rows translated columns.
Show Source
Back to Top

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/v16/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/v16/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22PRICEBOOK_STATUS_TYPE%22%7D%7D"
               }, {
                  "rel": "canonical",
                  "href": "/rest/v16/lookupValues/21209454"
               }
            ]
         },
         "links": [{
               "rel": "self",
               "href": "/rest/v16/priceBooks/pricebook7"
            }, {
               "kind": "",
               "rel": "child",
               "name": "translations",
               "href": "/rest/v16/priceBooks/pricebook7/translations"
            }
         ]
      }, {
         "orderNumber": 2,
         ...
      }, {
         "orderNumber": 1,
         ...
      }
   ]
} 
         
Back to Top