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
Back to Top

Response

Supported Media Types

Default Response

List of company translation details.
Body ()
Root Schema : Company Translations
Type: object
Title: Company Translations
Show Source
Nested Schema : Company Translations List
Type: array
Title: Company Translations List
Show Source
Nested Schema : Company Translation
Type: object
Title: Company Translation
Show Source
Nested Schema : Translation Language
Type: object
Title: Translation Language
Show Source
Back to Top

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"
    }
  ]
}
Back to Top