LegacyTelogisServiceCreateJob Method |
Print this page
Create an unassigned job. Unassigned job does not belong to a route.
Namespace: Telogis.API Syntax public Job CreateJob(
Driver dispatcher,
Marker marker,
JobType jobType,
Priority priority,
DateTime expectedArrivalTime,
DateTime expectedDepartureTime,
DateTime earliestArrivalTime,
DateTime latestArrivalTime,
string description,
string notes,
string territoryName
)
Public Function CreateJob (
dispatcher As Driver,
marker As Marker,
jobType As JobType,
priority As Priority,
expectedArrivalTime As DateTime,
expectedDepartureTime As DateTime,
earliestArrivalTime As DateTime,
latestArrivalTime As DateTime,
description As String,
notes As String,
territoryName As String
) As Job
Parameters
- dispatcher
- Type: Telogis.APIDriver
(required) The Driver/Fleet user who created the job assignment.
- marker
- Type: Telogis.APIMarker
(required) The destination. It should contain an ID with corresponding entry in the Fleet database.
- jobType
- Type: Telogis.APIJobType
(required) The job category. It should contain an ID with corresponding entry in the Fleet database.
- priority
- Type: Telogis.APIPriority
The priority of the job.
- expectedArrivalTime
- Type: SystemDateTime
The time in the planned route when the scheduled vehicle is expected to arrive at the job site.
- expectedDepartureTime
- Type: SystemDateTime
The time in the planned route when the vehicle is expected to leave the job site.
- earliestArrivalTime
- Type: SystemDateTime
The earliest time of day when the driver can arrive to service this job.
- latestArrivalTime
- Type: SystemDateTime
The latest time of day when the driver can arrive to service this job.
- description
- Type: SystemString
A brief description of the job.
- notes
- Type: SystemString
Notes related to the job.
- territoryName
- Type: SystemString
The name of the territory to which the job belongs.
Return Value
Type:
JobSee Also