Skip to content

Report APIs

The Reports API generates analytical views and summaries based on confirmed bookings, reservations, and slot data. It ensures accurate data aggregation across logistics operations and supports decision-making for scheduling, capacity planning, and performance tracking. Reports serve as downstream insights consumed by dashboards, alerting systems, and operational review workflows.

Base URL

https://sandbox-apis.prayog.io/slots

API Response Status Codes

CodeDescription
1000OK
1001Success
1002Partial Success
4000Bad Request
4004Not Found
5000Internal Server Error

HTTP Response Status Codes

CodeDescription
200OK
201Created
207Multi Status
400Bad Request
404Not Found
500Internal Server Error

Available Endpoints

  1. Slot Usage Report
  2. Slot Bookings Report

1. Slot Usage Report

To get the slot usage report.

Method: GET
Endpoint: /api/v1/slot/{id}/reports/usage

Request Headers:

{
"Content-Type": "application/json",
"X-Tenant-ID": "Tenant id",
"X-User-ID": "User id"
}

Request Params Parameters

Field NameTypeMandatoryDescriptionExample
idint numberYesSlot Id1

Request Query Parameters

Field NameTypeMandatoryDescriptionExample
pageint numberNoPage1
limitint numberNoPage limit10
datestringNoSlot date (YYYY-MM-DD)2025-04-16

Sample Success Response

{
"status": "success",
"message": "Slot usage report fetched successfully.",
"data": {
"pincode": ["411015"],
"slots": [
{
"date": "2025-05-11",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 11998,
"bookedLocked": 2,
"utilization": 0.02,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 44998,
"bookedLocked": 2,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31679998,
"bookedLocked": 2,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 44998,
"physicalWeight": 11998
},
"remainingSpaces": [
{
"length": 598,
"width": 220,
"height": 240,
"x": 2,
"y": 0,
"z": 0
},
{
"length": 2,
"width": 219,
"height": 240,
"x": 0,
"y": 1,
"z": 0
},
{
"length": 2,
"width": 1,
"height": 239,
"x": 0,
"y": 0,
"z": 1
}
]
}
]
},
{
"date": "2025-05-12",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 11999,
"bookedLocked": 1,
"utilization": 0.01,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 44999,
"bookedLocked": 1,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31679999,
"bookedLocked": 1,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 44999,
"physicalWeight": 11999
},
"remainingSpaces": [
{
"length": 599,
"width": 220,
"height": 240,
"x": 1,
"y": 0,
"z": 0
},
{
"length": 1,
"width": 219,
"height": 240,
"x": 0,
"y": 1,
"z": 0
},
{
"length": 1,
"width": 1,
"height": 239,
"x": 0,
"y": 0,
"z": 1
}
]
}
]
},
{
"date": "2025-05-13",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 12000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 45000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31680000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"remainingSpaces": [
{
"length": 600,
"width": 220,
"height": 240,
"x": 0,
"y": 0,
"z": 0
}
]
}
]
},
{
"date": "2025-05-14",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 11999,
"bookedLocked": 1,
"utilization": 0.01,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 44999,
"bookedLocked": 1,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31679999,
"bookedLocked": 1,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 44999,
"physicalWeight": 11999
},
"remainingSpaces": [
{
"length": 599,
"width": 220,
"height": 240,
"x": 1,
"y": 0,
"z": 0
},
{
"length": 1,
"width": 219,
"height": 240,
"x": 0,
"y": 1,
"z": 0
},
{
"length": 1,
"width": 1,
"height": 239,
"x": 0,
"y": 0,
"z": 1
}
]
}
]
},
{
"date": "2025-05-15",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 12000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 45000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31680000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"remainingSpaces": [
{
"length": 600,
"width": 220,
"height": 240,
"x": 0,
"y": 0,
"z": 0
}
]
}
]
},
{
"date": "2025-05-16",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 11998,
"bookedLocked": 2,
"utilization": 0.02,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 44998,
"bookedLocked": 2,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31679998,
"bookedLocked": 2,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 44998,
"physicalWeight": 11998
},
"remainingSpaces": [
{
"length": 598,
"width": 220,
"height": 240,
"x": 2,
"y": 0,
"z": 0
},
{
"length": 2,
"width": 219,
"height": 240,
"x": 0,
"y": 1,
"z": 0
},
{
"length": 2,
"width": 1,
"height": 239,
"x": 0,
"y": 0,
"z": 1
}
]
}
]
},
{
"date": "2025-05-17",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 11999,
"bookedLocked": 1,
"utilization": 0.01,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 44999,
"bookedLocked": 1,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31679999,
"bookedLocked": 1,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 44999,
"physicalWeight": 11999
},
"remainingSpaces": [
{
"length": 599,
"width": 220,
"height": 240,
"x": 1,
"y": 0,
"z": 0
},
{
"length": 1,
"width": 219,
"height": 240,
"x": 0,
"y": 1,
"z": 0
},
{
"length": 1,
"width": 1,
"height": 239,
"x": 0,
"y": 0,
"z": 1
}
]
}
]
},
{
"date": "2025-05-18",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 12000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 45000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31680000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"remainingSpaces": [
{
"length": 600,
"width": 220,
"height": 240,
"x": 0,
"y": 0,
"z": 0
}
]
}
]
},
{
"date": "2025-05-19",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 12000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 45000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31680000,
"bookedLocked": 0,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"remainingSpaces": [
{
"length": 600,
"width": 220,
"height": 240,
"x": 0,
"y": 0,
"z": 0
}
]
}
]
},
{
"date": "2025-05-20",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"usage": {
"physicalWeight": {
"total": 12000,
"remaining": 11997,
"bookedLocked": 3,
"utilization": 0.03,
"constrained": true
},
"volumetricWeight": {
"total": 45000,
"remaining": 44997,
"bookedLocked": 3,
"utilization": 0.01,
"constrained": true
},
"volume": {
"total": 31680000,
"remaining": 31679997,
"bookedLocked": 3,
"utilization": 0,
"constrained": true
}
},
"remainingCapacity": {
"volumetricWeight": 44997,
"physicalWeight": 11997
},
"remainingSpaces": [
{
"length": 597,
"width": 220,
"height": 240,
"x": 3,
"y": 0,
"z": 0
},
{
"length": 3,
"width": 219,
"height": 240,
"x": 0,
"y": 1,
"z": 0
},
{
"length": 3,
"width": 1,
"height": 239,
"x": 0,
"y": 0,
"z": 1
}
]
}
]
}
]
},
"pagination": {
"page": 1,
"limit": 10,
"offset": 0,
"totalPage": 2,
"totalItem": 20
},
"statusCode": 1000
}

Sample Error Response

{
"status": "error",
"error": "Id must be a positive integer number.",
"statusCode": 4000
}

Sample No Match Response

{
"status": "success",
"message": "Slot usage report fetched successfully.",
"data": [],
"pagination": {
"page": 1,
"limit": 10,
"offset": 0,
"totalPage": 2,
"totalItem": 20
},
"statusCode": 1000
}

2. Slot Bookings Report

To get the slot bookings report.

Method: GET
Endpoint: /api/v1/slot/{id}/reports/bookings

Request Headers:

{
"Content-Type": "application/json",
"X-Tenant-ID": "Tenant id",
"X-User-ID": "User id"
}

Request Params Parameters

Field NameTypeMandatoryDescriptionExample
idint numberYesSlot Id1

Request Query Parameters

Field NameTypeMandatoryDescriptionExample
pageint numberNoPage1
limitint numberNoPage limit10
datestringNoSlot date (YYYY-MM-DD)2025-04-16

Sample Success Response

{
"status": "success",
"message": "Slot bookings report fetched successfully.",
"data": {
"pincode": ["411015"],
"slots": [
{
"date": "2025-05-11",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": [
{
"reservationId": 139,
"slotId": 1,
"status": "confirmed",
"date": "2025-05-11",
"reservedAt": "2025-05-16T06:51:25.060Z",
"confirmedAt": "2025-05-16T06:51:34.656Z",
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:51:25.058Z",
"updatedAt": "2025-05-16T06:51:34.658Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 0,
"y": 0,
"z": 0
}
},
{
"reservationId": 140,
"slotId": 1,
"status": "confirmed",
"date": "2025-05-11",
"reservedAt": "2025-05-16T06:51:53.209Z",
"confirmedAt": "2025-05-16T06:52:04.978Z",
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:51:53.208Z",
"updatedAt": "2025-05-16T06:52:04.980Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 1,
"y": 0,
"z": 0
}
}
]
}
]
},
{
"date": "2025-05-12",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": [
{
"reservationId": 141,
"slotId": 1,
"status": "reserved",
"date": "2025-05-12",
"reservedAt": "2025-05-16T06:52:12.548Z",
"confirmedAt": null,
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:52:12.547Z",
"updatedAt": "2025-05-16T06:52:12.547Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 0,
"y": 0,
"z": 0
}
}
]
}
]
},
{
"date": "2025-05-13",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": []
}
]
},
{
"date": "2025-05-14",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": [
{
"reservationId": 142,
"slotId": 1,
"status": "confirmed",
"date": "2025-05-14",
"reservedAt": "2025-05-16T06:52:35.532Z",
"confirmedAt": "2025-05-16T06:52:43.832Z",
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:52:35.530Z",
"updatedAt": "2025-05-16T06:52:43.835Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 0,
"y": 0,
"z": 0
}
}
]
}
]
},
{
"date": "2025-05-15",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": []
}
]
},
{
"date": "2025-05-16",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": [
{
"reservationId": 143,
"slotId": 1,
"status": "reserved",
"date": "2025-05-16",
"reservedAt": "2025-05-16T06:52:56.525Z",
"confirmedAt": null,
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:52:56.523Z",
"updatedAt": "2025-05-16T06:52:56.523Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 0,
"y": 0,
"z": 0
}
},
{
"reservationId": 144,
"slotId": 1,
"status": "confirmed",
"date": "2025-05-16",
"reservedAt": "2025-05-16T06:52:59.463Z",
"confirmedAt": "2025-05-16T06:53:07.579Z",
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:52:59.462Z",
"updatedAt": "2025-05-16T06:53:07.580Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 1,
"y": 0,
"z": 0
}
}
]
}
]
},
{
"date": "2025-05-17",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": [
{
"reservationId": 145,
"slotId": 1,
"status": "reserved",
"date": "2025-05-17",
"reservedAt": "2025-05-16T06:53:36.617Z",
"confirmedAt": null,
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:53:36.615Z",
"updatedAt": "2025-05-16T06:53:36.615Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 0,
"y": 0,
"z": 0
}
}
]
}
]
},
{
"date": "2025-05-18",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": []
}
]
},
{
"date": "2025-05-19",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": []
}
]
},
{
"date": "2025-05-20",
"timings": [
{
"type": "pickup",
"label": "Pickup Slot - Morning Window",
"cutoffMinutesBefore": 5,
"from": "09:00",
"to": "10:00",
"dimensions": {
"length": 600,
"width": 220,
"height": 240
},
"capacity": {
"volumetricWeight": 45000,
"physicalWeight": 12000
},
"updatedAt": "2025-04-24T09:48:44.509Z",
"slotId": 1,
"createdAt": "2025-04-24T09:48:44.509Z",
"bookings": [
{
"reservationId": 146,
"slotId": 1,
"status": "reserved",
"date": "2025-05-20",
"reservedAt": "2025-05-16T06:53:47.507Z",
"confirmedAt": null,
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:53:47.506Z",
"updatedAt": "2025-05-16T06:53:47.506Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 0,
"y": 0,
"z": 0
}
},
{
"reservationId": 148,
"slotId": 1,
"status": "reserved",
"date": "2025-05-20",
"reservedAt": "2025-05-16T06:53:53.504Z",
"confirmedAt": null,
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:53:53.503Z",
"updatedAt": "2025-05-16T06:53:53.503Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 2,
"y": 0,
"z": 0
}
},
{
"reservationId": 147,
"slotId": 1,
"status": "confirmed",
"date": "2025-05-20",
"reservedAt": "2025-05-16T06:53:50.549Z",
"confirmedAt": "2025-05-16T06:54:01.619Z",
"cancelledAt": null,
"releasedAt": null,
"expiredAt": null,
"createdAt": "2025-05-16T06:53:50.549Z",
"updatedAt": "2025-05-16T06:54:01.621Z",
"bookedCapacity": {
"volumetricWeight": 1,
"physicalWeight": 1
},
"bookedSpaces": {
"length": 1,
"width": 1,
"height": 1,
"x": 1,
"y": 0,
"z": 0
}
}
]
}
]
}
]
},
"pagination": {
"page": 1,
"limit": 10,
"offset": 0,
"totalPage": 2,
"totalItem": 20
},
"statusCode": 1000
}

Sample Error Response

{
"status": "error",
"error": "Id must be a positive integer number.",
"statusCode": 4000
}

Sample No Match Response

{
"status": "success",
"message": "Slot bookings report fetched successfully.",
"data": [],
"pagination": {
"page": 1,
"limit": 10,
"offset": 0,
"totalPage": 2,
"totalItem": 20
},
"statusCode": 1000
}