cURL
curl --request POST \ --url https://www.closient.com/epcis/api/2.0/capture \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "epcisBody": {} } '
{ "captureID": "<string>", "createdEvents": 123 }
Capture one or more EPCIS 2.0 events. The request body must contain an epcisBody with an eventList array. Duplicate events (matching hash) return 409 Conflict.
EPCIS 2.0 Capture request body.
EPCIS 2.0 document body containing an eventList array.
Created
Response returned after a successful capture.
Unique identifier for this capture batch.
Number of events successfully created.