Get All Translation Details for Host Company or a Partner Organization
get
/rest/v16/companies/{companyLoginName}/translations
This endpoint retrieves all host company or partner organization translated company names in the supported language.
Request
Path Parameters
-
companyLoginName(required): string
Company login name.
Response
Supported Media Types
- application/json
Default Response
List of company translation details.
Root Schema : Company Translations
Type:
object
Title:
Show Source
Company Translations
-
items:
array Company Translations List
Title:
Company Translations List
-
links:
array Links
Title:
Links
Links to current objects.
Nested Schema : Company Translations List
Type:
array
Title:
Show Source
Company Translations List
-
Array of:
object Company Translation
Title:
Company Translation
Nested Schema : Links
Type:
array
Title:
Links
Links to current objects.
Show Source
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Company Translation
Type:
object
Title:
Show Source
Company Translation
-
language:
object Translation Language
Title:
Translation Language
-
links:
array Links
Title:
Links
Links to current objects. -
name:
string
Title:
Company Translation Name
Company translation name in specific language.
Nested Schema : Translation Language
Type:
object
Title:
Show Source
Translation Language
-
languageCode:
string
Title:
Language Code
Translation message language name. -
languageNumber:
string
Title:
Language Number
Language sequence number in supported language list. -
links:
array Links
Title:
Links
Links to current objects.
Nested Schema : Links
Type:
array
Title:
Links
Links to current objects.
Show Source
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Links
Type:
array
Title:
Links
Links to current objects.
Show Source
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : reference links
Type:
object
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related object
URL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current object
Default Value:self
Link Relationship to the current object
Examples
The following example shows how to retrieve all host company or partner organization translated company names in the supported language 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 "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/companies/visionServices/translations
Response Body Sample
{ "items": [{ "name": "A1BM1", "language": { "languageCode": "en", "languageNumber": -1, "links": [{ "rel": "domain", "href": "http://sitename.oracle.com/rest/v16/languages" }, { "rel": "canonical", "href": "http://sitename.oracle.com/rest/v16/languages/en" } ] }, "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/translations/en" } ] }, { "name": "DE A1BM1", "language": { "languageCode": "de", "languageNumber": 0, "links": [{ "rel": "domain", "href": "http://sitename.oracle.com/rest/v16/languages" }, { "rel": "canonical", "href": "http://sitename.oracle.com/rest/v16/languages/de" } ] }, "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/translations/de" } ] }, { "name": "ZH CN A1BM1", "language": { "languageCode": "zh_CN", "languageNumber": 5, "links": [{ "rel": "domain", "href": "http://sitename.oracle.com/rest/v16/languages" }, { "rel": "canonical", "href": "http://sitename.oracle.com/rest/v16/languages/zh_CN" } ] }, "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/translations/zh_CN" } ] } ], "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/translations" } ] }