Vai al contenuto

Get error list

Richiesta

Returns the human-readable description of an error code in the requested language.

Note: requires Content-Type: application/json header.

Sicurezza
basicAuth and sslCertificate
Query
codeinteger, (int32)obbligatorio

The error code to look up.

Esempio:code=1027
languagestringobbligatorio

Language for the error text. Use ISO 639-1 alpha-2 codes: EN (English), IT (Italian), DE (German), ES (Spanish), RO (Romanian). ISO 639-2 alpha-3 codes (ENG, ITA, DEU, SPA, RON) are accepted for legacy compatibility but will not be extended to new languages.

Enum:"EN""ENG""IT""ITA""DE""DEU""ES""SPA""RO""RON"
Esempio:language=EN
curl -i -X GET \
  -u '<username>:<password>' \
  'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/utility/errors?code=1027&language=EN'

Risposte

Error description returned.

If the error code does not exist, errorText is "Unspecified error".

Corpoapplication/json
errorCodeinteger, (int32)

The error code.

Esempio:1027
errorLanguagestring

ISO 639-2 alpha-3 language code of the response.

Esempio:"ENG"
errorLanguage2string

ISO 639-1 alpha-2 language code of the response.

Esempio:"EN"
errorTextstring

Human-readable description of the error in the requested language. Returns "Unspecified error" if the error code does not exist.

Esempio:"The file is duplicated"
Risposta
{ "errorCode": 1027, "errorLanguage": "ENG", "errorLanguage2": "EN", "errorText": "The file is duplicated" }