Capacity
Get capacity information
Retrieve capacity information for a specific site and date
get/services/appointments/v1/capacity
Request
- Base URLhttps://na12.api.project44.com
- AuthOAuth 2Client credentialsToken URL/api/v4/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
siteCodestring required
Site code to get capacity for
capacityDatestring date required
Date for capacity information (YYYY-MM-DD format)
Response
Capacity information retrieved successfully
Example response
{
"availableSlots": [
{
"endDateTime": "2024-01-15T12:00:00-05:00",
"section": "DOCK001",
"startDateTime": "2024-01-15T10:00:00-05:00"
}
],
"bookedSlots": [
{
"endDateTime": "2024-01-15T11:00:00-05:00",
"shipmentNumber": "SHIP123456",
"startDateTime": "2024-01-15T09:00:00-05:00"
}
],
"capacityDate": "2024-01-15",
"siteCode": "SITE001",
"totalSlots": 20,
"totalBookedSlots": 8,
"totalCapacity": 10,
"unplannedShipmentsCount": 2
}Changes
No recorded changes to this operation across all 1 revision of this API.