Docs

Vyhľadanie kódu chyby alebo dôvodu

  • V sandboxe

Jednoducho povedané

Vysvetlí jeden chybový kód: čo je zle, čo robiť a kto má konať.
GET
/catalogue/{code}

Vráti položku katalógu pre ID pravidla, kód chyby kanála alebo francúzsky kód dôvodu (ID a aliasy).

Autorizácia

apiKey
headerAuthorizationBearer <token>

Kľúč posielajte ako token typu Bearer: Authorization: Bearer <your-api-key>. Stav služby je jediné volanie, ktoré nevyžaduje kľúč.

Parametre cesty

code*string

Telo odpovede

Položka.

application/json
  1. response
id*string
aliases?array<string>
routes*array<string>
severity*string
Hodnota z"error""warning""info""business"
meaning*string
owner*string
Hodnota z"us""erp""business""buyer""client""route"
fix*string
partner_message?string|
curl -X GET "https://example.com/catalogue/BR-CO-16" \  -H "Authorization: Bearer <your-api-key>"
{  "severity": "error",  "owner": "us",  "routes": [    "ALL"  ],  "partner_message": "We could not read this invoice from your export. We are correcting our mapping; if a field is missing in the ERP we will tell you which one.",  "fix": "Read the JSON path in the error and correct the client mapping.",  "meaning": "The invoice JSON does not match the canonical model: a missing or unknown field, a wrong type or code, or a route rule on structure.",  "id": "EI-SCHEMA"}