Docs

Pronađi pogrešku ili šifru razloga

  • U sandboxu

Jednostavnim riječima

Objašnjava jednu šifru pogreške: što nije u redu, što učiniti i tko postupa.
GET
/catalogue/{code}

Vraća unos kataloga za ID pravila, šifru pogreške kanala ili francusku šifru razloga (ID-ovi i aliasi).

Autorizacija

apiKey
headerAuthorizationBearer <token>

Ključ pošaljite kao bearer token: Authorization: Bearer <your-api-key>. Poziv za stanje usluge jedini je poziv za koji nije potreban ključ.

Parametri putanje

code*string

Tijelo odgovora

Unos.

application/json
  1. response
id*string
aliases?array<string>
routes*array<string>
severity*string
Vrijednost iz"error""warning""info""business"
meaning*string
owner*string
Vrijednost iz"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"}