Skip to main content
POST
/
epcis
/
api
/
2.0
/
capture
Capture EPCIS events
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
}

Authorizations

X-API-Key
string
header
required

Body

application/json

EPCIS 2.0 Capture request body.

epcisBody
Epcisbody · object
required

EPCIS 2.0 document body containing an eventList array.

Response

Created

Response returned after a successful capture.

captureID
string
required

Unique identifier for this capture batch.

createdEvents
integer
required

Number of events successfully created.