DeltaX API Docs
    • Webhook Integration Documentation
    • trip
      • Get Trip by ID
      • Update Trip
      • Revert Trip
      • Create Incidence
      • List Trips
    • route
      • List Routes
      • Get Route by ID
      • List Warehouses
      • Get Warehouse by ID
      • List Service Slots
      • Create Service Slot
    • company
      • List Transport Companies
      • Get Transport Company by ID
    • fleet
      • List Transport Units
      • Get Transport Unit by ID
      • List Truckers
      • Get Trucker by ID
      • List Dollies
      • Get Dolly by ID
    • rates
      • List Rates
    • webhook
      • Register Webhook Callback
      • List Webhook Callback Registrations
      • Update Webhook Callback Registration
      • Delete Webhook Callback Registration
    • Schemas
      • Schemas
      • Response
        • Success
        • SuccessCreated
        • InternalServerError
        • BadRequest
        • NotFound
        • Unauthenticated
        • TripUpdateSuccess
        • IncidenceCreateSuccess
        • TripSuccess
        • TripsListSuccess
        • RouteSuccess
        • RoutesListSuccess
        • WarehouseSuccess
        • WarehousesListSuccess
        • TransportCompanySuccess
        • TransportCompaniesListSuccess
        • TransportUnitSuccess
        • TransportUnitsListSuccess
        • TruckerSuccess
        • TruckersListSuccess
        • DollySuccess
        • DolliesListSuccess
        • WindowAvailabilitySuccess
        • Unauthorized
      • IncidenceCreate
      • TripUpdate
      • WebhookRegistrationUpdate
      • RoutesListResponse
      • Route
      • WindowAvailabilityResponse
      • CreateServiceSlotRequest
      • CreateServiceSlotResponse
      • ServiceSlot
      • DolliesListResponse
      • Dolly
      • DollyResponse
      • TruckersListResponse
      • Trucker
      • TruckerResponse
      • TransportUnitsListResponse
      • TransportUnit
      • TransportUnitResponse
      • TransportCompaniesListResponse
      • TransportCompany
      • TransportCompanyResponse
      • WarehousesListResponse
      • Warehouse
      • WarehouseResponse
      • RouteResponse
      • TripsListResponse
      • Trip
      • PaginationInfo
      • TripResponse
      • WindowAvailability
      • IncidenceCreateResponse
      • ClientIncidence
      • TripUpdateResponse
      • TripRevert
      • TripRevertResponse
      • ClientTripUpdate
      • CallbackRegistrationUpdateResponse
      • CallbackRegistrationDeleteResponse
      • WebhookRegistration
      • CallbackRegistrationsListResponse

    WindowAvailabilityResponse

    Response containing service slots with real-time availability and pagination information

    {
        "message": "Service slots retrieved successfully",
        "data": {
            "storehouse": {
                "_id": "507f1f77bcf86cd799439018",
                "name": "MAIN DISTRIBUTION CENTER",
                "codeI2": "2070603000"
            },
            "day": "2024-01-15",
            "aggregates": {
                "total": 24,
                "available": 15,
                "scheduled": 3,
                "assigned": 4,
                "underway": 1,
                "occupied": 8
            },
            "slots": [
                {
                    "_id": "507f1f77bcf86cd799439022",
                    "storehouseId": "507f1f77bcf86cd799439018",
                    "storehouseName": "MAIN DISTRIBUTION CENTER",
                    "storehouseCode": "2070603000",
                    "timeZone": "-06:00",
                    "startDate": "2024-01-15T08:00:00.000Z",
                    "startDay": "2024-01-15",
                    "startTime": "08:00",
                    "endDate": "2024-01-15T08:30:00.000Z",
                    "endDay": "2024-01-15",
                    "endTime": "08:30",
                    "timeRange": "08:00-08:30",
                    "statusCode": "available",
                    "statusName": "Asignado",
                    "assignmentNumber": "0017228764",
                    "originName": "CEDIS NORTE",
                    "destinationName": "CLIENTE ABC",
                    "truckTypeName": "FULL",
                    "transportCompanyName": "TRANSPORTES SA",
                    "operationType": "Tradicional",
                    "actionType": "load",
                    "fleetType": "Full",
                    "vehicleType": "Caja seca",
                    "plate": "ABC123",
                    "priority": "ALTA",
                    "programmedDate": "2024-01-15T08:00:00.000Z",
                    "performedDate": "2024-01-15T08:05:00.000Z",
                    "eta": "2024-01-15T07:50:00.000Z",
                    "ata": "2024-01-15T07:55:00.000Z",
                    "adherence": "A tiempo",
                    "supportedChannelTypes": [
                        "Tradicional",
                        "Moderno"
                    ],
                    "supportedExpeditionTypes": [
                        "O3",
                        "O4"
                    ],
                    "supportedTransportCompanyNames": [
                        "T77",
                        "NAO",
                        "TEV"
                    ],
                    "manualScheduling": false,
                    "comments": [
                        {
                            "userId": "69ff713af231ecbd5ed9946a",
                            "firstName": "",
                            "lastName": "",
                            "userPicture": "",
                            "email": "auxiliar.logistico8@iceberg.com.co",
                            "comment": "Agendó cita a folio 0019992569",
                            "date": "2026-06-05T09:54:47.438Z",
                            "type": "comment"
                        }
                    ],
                    "abWindowConfigurationRuleId": "507f1f77bcf86cd799439080",
                    "conflictCode": "noDryBoxCapacity"
                }
            ],
            "pagination": {
                "page": 1,
                "size": 20,
                "totalSlots": 24,
                "totalPages": 2,
                "hasNextPage": true,
                "hasPreviousPage": false
            }
        }
    }
    Built with