Skip to content

Available languages for sale documents

This API method returns the languages in which transaction documentation, the catalog, and other resources are available. The Code values returned in Languages are the valid values that can be used in the Documentation or Catalog calls.

Access method

GET /activity/availablelanguages

Response structure

  • Languages: (list). Array of objects containing each language in which the documentation is available.
    • Code: (string). Language code.
    • EnglishName: (string). Language name in English.
    • NativeName: (string). Language name in its native language.
  • Success (boolean): value that indicates whether the call was processed correctly or not.
  • Timestamp (dateTime): time at which the request was processed. ISO 8601 format (yyyy-MM-ddThh:mm:ss.fffffff).
  • ErrorMessage (string): error message explaining why the request was not successful. If it was correct, it will return null.
  • ErrorCodes (string[]): list of codes that identify the errors that occurred in the call.
  • ErrorEntityBreakDown (list): list that contains objects with the name and ID in case of error.
    • Id (string): identifier
    • Name (string): related name of the identifier.

Response example

{
    "Languages": [
        {
            "Code": "es",
            "EnglishName": "Spanish",
            "NativeName": "español"
        },
        {
            "Code": "en",
            "EnglishName": "English",
            "NativeName": "English"
        },
        {
            "Code": "fr",
            "EnglishName": "French",
            "NativeName": "français"
        },
        {
            "Code": "pt",
            "EnglishName": "Portuguese",
            "NativeName": "português"
        },
        {
            "Code": "ca-ES",
            "EnglishName": "Catalan (Spain)",
            "NativeName": "català (Espanya)"
        }
    ],
    "Success": true,
    "Timestamp": "2023-03-23T12:01:48.3406628"
}