Download OpenAPI specification:
EventHub input topics.
required | Array of objects (transportEvent) Action to perform on transports. |
required | Array of objects (employeeEvent) Action to perform on employees. |
required | Array of objects (vehicleEvent) Action to perform on vehicles. |
required | Array of objects (requirementEvent) Actions to perform on requirements. |
required | Array of objects (indisponibilityEvent) Actions to perform on indisponibilities. |
required | Array of objects (taskEvent) Actions to perform on tasks. |
required | Array of objects (areaEvent) Actions to perform the area. |
{- "transports": [
- {
- "actionDate": "string",
- "action": "CREATE",
- "transport": {
- "id": "string",
- "depotId": "string",
- "validityDate": "string",
- "patient": {
- "firstname": "string",
- "lastname": "string"
}, - "origin": {
- "coordinates": {
- "latitude": 0.1,
- "longitude": 0.1
}, - "address": "string",
- "zipCode": "string",
- "city": "string",
- "country": "string"
}, - "destination": {
- "coordinates": {
- "latitude": 0.1,
- "longitude": 0.1
}, - "address": "string",
- "zipCode": "string",
- "city": "string",
- "country": "string"
}, - "transportTimeWindowPEC": {
- "start": "string",
- "end": "string"
}, - "transportTimeWindowRDV": {
- "start": "string",
- "end": "string"
}, - "timeWindowType": "origin",
- "pickupDuration": "string",
- "dropOffDuration": "string",
- "pickupParkingAccessDuration": "string",
- "dropOffParkingAccessDuration": "string",
- "possibleVehicleTypes": [
- "TAXI"
], - "numberSeatsNeeded": 0,
- "sharedTransportAllowed": true,
- "requirementIds": [
- "string"
], - "direction": "FORWARD",
- "timeWindowAccuracy": true,
- "delayAllowed": true,
- "updateTime": "string",
- "valid": true,
- "alertMessage": "string",
- "alertCode": "string",
- "isLargeCitySurchargeApplicable": true,
- "vehicleId": "string",
- "driverId": "string",
- "partnerId": "string",
- "locked": true,
- "status": "00-PLANIFIE",
- "simultaneous": [
- "string"
]
}
}
], - "employees": [
- {
- "actionDate": "string",
- "action": "CREATE",
- "employee": {
- "id": "string",
- "depotId": "string",
- "validityDate": "string",
- "name": {
- "firstname": "string",
- "lastname": "string"
}, - "servicePriority": 0,
- "serviceFirstPickUp": "string",
- "serviceLastDropOff": "string",
- "serviceAmplitudeMax": "string",
- "serviceAmplitudeMin": "string",
- "serviceStart": "string",
- "serviceEnd": "string",
- "diploma": "DEA",
- "serviceAssignments": [
- "AMBU"
], - "remainingWeekTime": 0,
- "requirementIds": [
- "string"
], - "valid": true,
- "alertMessage": "string",
- "alertCode": "string"
}
}
], - "vehicles": [
- {
- "actionDate": "string",
- "action": "CREATE",
- "vehicle": {
- "id": "string",
- "depotId": "string",
- "validityDate": "string",
- "licensePlate": "string",
- "type": "TAXI",
- "requirementIds": [
- "string"
], - "valid": true,
- "alertMessage": "string",
- "alertCode": "string"
}
}
], - "requirements": [
- {
- "actionDate": "string",
- "action": "CREATE",
- "requirement": {
- "id": "string",
- "displayName": "string",
- "applicableOnPatient": true,
- "applicableOnVehicle": true,
- "applicableOnEmployee": true,
- "simulAllowed": true,
- "active": null
}
}
], - "indisponibilities": [
- {
- "actionDate": "string",
- "action": "CREATE",
- "indisponibility": {
- "id": "string",
- "name": "string",
- "employeeId": "string",
- "vehicleId": "string",
- "start": "string",
- "end": "string",
- "active": null
}
}
], - "tasks": [
- {
- "actionDate": "string",
- "action": "CREATE",
- "indisponibility": {
- "id": "string",
- "name": "string",
- "alias": "string",
- "message": "string",
- "employeeId": "string",
- "vehicleId": "string",
- "indispoId": "string",
- "start": "string",
- "end": "string",
- "active": null
}
}
], - "areas": [
- {
- "actionDate": "string",
- "action": "CREATE",
- "area": {
- "clusters": [
- {
- "id": "string",
- "name": "string"
}
], - "territories": [
- {
- "id": "string",
- "name": "string",
- "clusterId": "string"
}
], - "depots": [
- {
- "id": "string",
- "name": "string",
- "territoryId": "string",
- "location": {
- "coordinates": {
- "latitude": 0.1,
- "longitude": 0.1
}, - "address": "string",
- "zipCode": "string",
- "city": "string",
- "country": "string"
}
}
]
}
}
]
}{- "solutionId": "string",
- "solutionTimestamp": "string",
- "transports": [
- {
- "employeeId": "string",
- "crewManId": "string",
- "vehicleId": "string",
- "transportId": "string",
- "start": "string",
- "pickup": "string",
- "dropOff": "string",
- "end": "string",
- "breaks": {
- "type": "MEAL_BREAK",
- "start": "string",
- "end": "string"
}, - "horizonRegulation": true,
- "horizonInjection": true,
- "lockedLomaco": true,
- "lockedHexaly": true
}
], - "simultaneousTransports": [
- [
- "string"
]
]
}