Aller au contenu
duxt
Version à venir
Vous consultez la documentation d’une version à venir. Sa documentation et ses fonctionnalités peuvent encore changer.
Cette page n’est pas encore disponible dans votre langue
Vous la lisez en English (UK).

Book a demo consignment

post
/echo

echoConsignment

Takes a consignment and hands it back with an id and a timestamp, exactly as POST /consignments would, except that this one is answered, by this site.

Nothing is stored and nothing is checked beyond the token being present: it exists so the client on the landing page can be pressed.

Autorisation

    • bearerhttp · bearer

      A token obtained from the authorisation server.

Corps de la requête Obligatoire

The consignment to echo.

application/json

object
  • reference*ObligatoirestringWhat to call it.
  • modestringsea | airHow it travels.
json
{
  "reference": "HB-1042",
  "mode": "sea"
}

Réponses

201
The consignment, as it would have been stored.

application/json

object
  • idstring
  • referencestring
  • modestringsea | air
  • createdAtstring
json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "reference": "string",
  "mode": "sea",
  "createdAt": "2026-01-01T09:00:00Z"
}
401
No bearer token was sent.

application/json

objectProblem
  • title*ObligatoirestringA short, human-readable summary.
  • status*Obligatoireintegermin 400max 599
  • detailstring | null
json
{
  "title": "string",
  "status": 400,
  "detail": "string"
}

Envoyer une requête

Authentification

Ce que vous saisissez ici reste dans cet onglet, n’est jamais conservé et n’est envoyé qu’au serveur que vous avez choisi.

La requête est envoyée par votre navigateur, directement à ce serveur.

curl 'https://api.example.org/v3/consignments?limit=20&cursor=string&status=%5B%0A++%22booked%22%0A%5D&session=string' \
  -H 'Authorization: Bearer demo-token' \
  -H 'X-Request-Id: 00000000-0000-4000-8000-000000000000'