CertifMaker Docs
Api reference

Statut d'un batch

Retourne l'état d'avancement d'un batch avec les compteurs de traitement.

GET
/batches/{id}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Clé API au format cm_live_..., générée depuis Paramètres > Clés API.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "http://localhost:3000/api/v1/batches/string"
{
  "id": "string",
  "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d",
  "status": "PROCESSING",
  "totalCount": 0,
  "processedCount": 0,
  "failedCount": 0,
  "pendingCount": 0,
  "progress": 100,
  "createdAt": "2019-08-24T14:15:22Z",
  "completedAt": "2019-08-24T14:15:22Z"
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "string",
    "status": 0
  }
}