Developer documentation
Logs
Use the Logs API to list and inspect API request logs.
The logs resource can be used to inspect requests and see their respective status.
Response models
These response models describe the objects returned by this resource.
The log model
| Field | Description |
|---|---|
countintegerOptional | - |
nextstringOptional | - |
previousstringOptional | - |
resultsarrayOptional | - |
List all logs
GET
/wms/logs/Retrieves a collection of customers
Try it
Send a live request against the development middleware using your current API test session.
Request attributes
| Field | Description |
|---|---|
limitintegerOptional | Limit the number of results. Default is 50. |
pageintegerOptional | The page number to retrieve. |
Request examplecURL
curl https://eu-dev.middleware.ewarehousing-solutions.com/wms/logs/Response exampleJSON
{
"count": 1655,
"next": "https://eu-dev.middleware.ewarehousing-solutions.com/wms/logs?page=2",
"previous": null,
"results": [
{
"id": "cc6c80d6-6c6d-4ebc-a141-61b8c0408ad4",
"customer": "be62c27e-2aac-4ac1-902e-f770d64f8dce",
"path": "documents/33a59408-c708-4da4-9f1f-50e87c968928",
"error": null,
"status_code": "404",
"method": "delete",
"payload": null,
"response": {
"type": "https://tools.ietf.org/html/rfc2616#section-10",
"title": "An error occurred",
"detail": "Not Found",
"status": 404
},
"requested_at": "2022-09-05T19:00:37.942032",
"request_time": 0.021228999999948428
},
{
"id": "bae0cb9f-ef97-4208-8106-8e9200efa092",
"customer": "be62c27e-2aac-4ac1-902e-f770d64f8dce",
"path": "stock",
"error": null,
"status_code": "200",
"method": "get",
"payload": null,
"response": [
{
"id": "5060691c-2812-48e2-bd07-82ff3fd19382",
"ean": "1337",
"sku": null,
"variant": {
"id": "5060691c-2812-48e2-bd07-82ff3fd19382",
"ean": "1337",
"sku": null,
"name": "1337",
"depth": null,
"value": 0,
"width": null,
"height": null,
"weight": null,
"expirable": false,
"description": null,
"article_code": "1337",
"hs_tariff_code": null,
"country_of_origin": null,
"using_serial_numbers": false
},
"modified_at": "2022-07-18T09:55:49+00:00",
"article_code": "1337",
"stock_salable": 94,
"stock_physical": 100,
"stock_pickable": 97,
"stock_available": 94,
"stock_quarantine": 0
}
],
"requested_at": "2022-09-05T18:58:32.244406",
"request_time": 0.017088000000001102
}
]
}