Events
Manage pick-pack events
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Date after which we want to filter the events.
yyyy-MM-dd'T'HH:mm:ssZNumber of the page.
Size of the page.
Order entry event
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Internal Service Error occurred.
GET /pick-pack/{tenant}/events HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"eventId": "123",
"productId": "123",
"deliveryCycle": "2023-10-13-11-test",
"orderNumber": "123",
"timestamp": "2020-09-14T13:35:18.333Z",
"pickedAmount": 2,
"packedAmount": 2,
"canceledAmount": 0,
"packedAmountInPc": 2,
"supplierId": "1234",
"user": "1234",
"site": "main",
"unit": "H87",
"bookProduct": true
}
]Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Token provided by the Emporix system, used to identify logged in customers. This token has an expiry date and is signed with a passphrase.
The event id generated by the client
123The order number for which the packing event is created
123The product id for which the packing event is created
123The delivery cycle for which the packing event is created
2023-10-13-11-testThe amount of picked items
1The amount of packed items
1The amount of cancelled items
0The supplier id
123The unit of the packed item
H87Timestamp of the packing event in ISO format
2020-09-14T13:35:18.333ZThe site code for which the event is created
maintrueEvent creation response
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Conflict
Internal Service Error occurred.
POST /pick-pack/{tenant}/events HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
saas-token: text
Content-Type: application/json
Accept: */*
Content-Length: 249
{
"eventId": "123",
"orderNumber": "123",
"productId": "123",
"deliveryCycle": "2023-10-13-11-test",
"pickedAmount": 1,
"packedAmount": 1,
"canceledAmount": 0,
"supplierId": "123",
"unit": "H87",
"timestamp": "2020-09-14T13:35:18.333Z",
"site": "main",
"bookProduct": true
}{
"message": "Success",
"code": 200
}Was this helpful?

