DeltaX Client REST HTTP API
    • Webhook Integration Documentation
    • trip
      • Get Trip by ID
      • Update Trip
      • Create Incidence
      • List Trips
    • route
      • List Routes
      • Get Route by ID
      • List Warehouses
      • Get Warehouse by ID
      • List Window Availability
    • 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
      • List Webhook Callback Registrations
      • Update 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
      • TripUpdateResponse
      • ClientTripUpdate
      • ClientIncidence
      • IncidenceCreateResponse
      • Trip
      • TripResponse
      • TripsListResponse
      • PaginationInfo
      • Route
      • RouteResponse
      • RoutesListResponse
      • Warehouse
      • WarehouseResponse
      • WarehousesListResponse
      • TransportCompany
      • TransportCompanyResponse
      • TransportCompaniesListResponse
      • TransportUnit
      • TransportUnitResponse
      • TransportUnitsListResponse
      • Trucker
      • TruckerResponse
      • TruckersListResponse
      • Dolly
      • DollyResponse
      • DolliesListResponse
      • WindowAvailability
      • WindowAvailabilityResponse
      • WebhookRegistration
      • WebhookRegistrationUpdate
      • CallbackRegistrationsListResponse
      • CallbackRegistrationUpdateResponse

    IncidenceCreateResponse

    Response returned after successfully creating an incidence

    {
        "message": "Incidence created successfully",
        "data": {
            "tripId": "0017228764",
            "clientIncidence": {
                "_id": "507f1f77bcf86cd799439015",
                "status": "pending",
                "clientId": "507f1f77bcf86cd799439011",
                "clientCode": "CLIENT001",
                "tripId": "0017228764",
                "incidenceData": {
                    "stage": "load",
                    "incident": "others",
                    "offender": "others",
                    "observation": "noForklift",
                    "comment": "DEMORA EN DOCUMENTOS",
                    "timezone": "-06:00",
                    "etaUpdatedDate": "15/01/2025",
                    "reminderTime": "10:30"
                },
                "created": "2024-01-15T10:30:00.000Z"
            }
        }
    }
    Built with