Element Type
|
Field
|
Description
|
---|---|---|
jobInstanceId
|
This is the j
ob reference ID.
|
|
proposedSlotElement
|
id
|
This is the w
ork order ID.
|
resolvedLatitude
|
This is the l
atitude coordinate of the work order location.
|
|
resolvedLongitude
|
This is the l
ongitude coordinate of the work order location.
|
|
slots
|
This is the available slot information for the work order.
The following information is provided for each available slot:
• resource: Name of the technician.
• startTime: Start time of the drive to reach the work order location.
• driveDuration: Driving time needed for this slot from the technician's current location.
• arrivalTime: Technician arrival time for this work order.
• idleDuration: Technician idle time, if any. If the technician arrival time is earlier than the start time for the slot, there is idle time.
• serviceDuration: Service duration
for the work order.
• endTime: End time of the slot for the work order.
• category: Category of the slot. Possible values are RECOMMENDED, OK, and POOR.
|
|
exceptionMsgCode
|
This is the m
essage code for the exception message. In the success scenario, the message code is always 0.
|
|
createdDateTime
|
This is the d
ate and time at which the response JSON was created.
|
Field
|
Description
|
Notes
|
---|---|---|
jobInstanceId
|
This is the j
ob reference ID.
|
|
proposedSlotElement
|
This is the Work Order ID.
|
|
violations
|
The list of violations due to which no proposals or slots are found for work order.
• code – Violation code
• message – Violation message corresponding to code
|
|
exceptionMsg
|
This is the e
rror message that indicates the reason for which scheduling was not performed for the work order.
|
For the list of error codes and corresponding error messages, see Error Codes and Messages.
|
exceptionMsgCode
|
This is the e
rror message code.
|
|
createdDateTime
|
This is the d
ate and time when the response JSON was created.
|