Model input
The modelInput is where you add your data about available drivers and the jobs to be scheduled and optimized.
The JSON shows an example modelInput.
Note, most of the values are missing.
{
"modelInput": {
"drivers": [
{
"id": "Beth"
}
],
"jobs": [
{
"id": "Job A"
}
],
"planningWindow": {
"startDate": "2022-03-10T12:15:50-04:00",
"endDate": "2022-03-10T12:15:50-04:00"
},
"priorityWeights": [
{
"priority": "HIGH",
"weight": 10000
}
]
}
}
-
driverscontains information about the drivers and the shifts they work. See Driver resource constraints for more details. -
jobscontains information about the jobs that need to be performed. See Job service constraints for more details. -
planningWindowis the period of time the schedule is being planned for. See Planning window for more details. -
priorityWeightslets you define custom priorities to be assigned to jobs. See Priority jobs and optional jobs for more details.
Next
-
See the full API spec or try the online API.
-
Learn about the Model input.
-
Learn about configuration parameters and profiles.