job_type
A job_type
represents a specific type of Job.
It can be used to set default parameters to be used if not explicitly set on a job.
Name | Type | Description |
---|---|---|
default_time_on_site | timespan | Optional. The default time on site for jobs of this type. Overridden by job.time_on_site. |
default_time_window | time_window | Optional. The default arrival time window for jobs of this type. Overridden by job.time_window. A job may still provide a time_window2 if it is using this default value for its first time window. See also Routing with Time Windows. |
id | id | A unique ID for the job type. |
name | string | Optional. The name of the job type. |
For example
{
"id": "job_type0",
"name": "Delivery",
"default_time_on_site": "00:05:00",
"default_time_window": {
"start": "09:00:00",
"end": "17:30:00"
}
}
See Also
- The job.type field
- The job_template.type field