Document toolboxDocument toolbox

14.1 Jeopardy States

The Jeopardy Report SOAP API contains ‘JeopStates’ fields, which allow specific jeopardy states to be passed in (to limit which states to report on) and which are passed back (to report on what states are the causes of a jeopardy condition).

For calling the API, if a particular jeopardy state is required it should be supplied, with a boolean value of true. If the option is not required it should be omitted from the call.

For API responses, the jeopardy state will either:

  • be present with a boolean value of true if it is a reason for the jeopardy condition; or
  • be present as part of a bitwise OR operation result.

For the latter case case, the hexidecimal value of each jeopardy state is included in the table to below, to allow the jeopardy state(s) for a given work item to be calculated.

JeopStates

Option Name

TypeJeopardy State TypeHexadecimal Value

Definition

ADJUnsuitableShift

boolean10x8000000

 

beforeContract

boolean10x10000

ETA before contract earliest.

depMissedTime

boolean

20x40

Dependency breaking time constraints of dependency.

depNotDiffOper

boolean

20x20

Dependent job not on different operative where dependency requires it.

depNotSameOper

boolean

20x10

Dependent job not on same operative where dependency requires it.

depUnscheduled

boolean

20x08

Dependent Job Unscheduled.

dispFailBatch

boolean10x4000000

The batch dispatch of the job was rejected by the host system.

dispFailEarmark

boolean1

0x800000

The dispatch for the earmark was rejected by the host system.

dispFailReearmark

boolean10x2000000

The dispatch for the reearmark was rejected by the host system.

dispFailUnearmark

boolean10x1000000

The dispatch for the unearmark was rejected by the host system.

lateContact

boolean1

0x01

The operative has not accepted the job.

lateEarmark

boolean10x10

The job is late being earmarked.

lateLogoff

boolean10x04

The job is not Logged Off.

lateLogon

boolean10x02

The job is not in LoggedOn/On Site status.

lateTravel

boolean10x20

The job is not in travelling/EnRoute status.

missedAppt

boolean10x4000 

Appointment: ETA outside windows. If missedApptEarly or missedApptLate is set, then this is set.

missedApptEarly

boolean10x40000

ETA before promise.

missedApptLate

boolean10x80000

ETA after promise.

noGo

boolean10x20000000

The job is in a No Go postal code.

outsideAccHours

boolean

20x01

Outside access hours.

outsideServHours

boolean

20x04

Outside service hours.

ovlBreakboolean2

0x80

Job overlaps a break. NOT USED.

ovlJob

boolean10x08

The job is overlapped by another job.

ovlOT

boolean10x100

The job exceeds the operative’s maximum overtime (UOT).

ovlShiftboolean10x80The job is (partially) outside the operative’s normal shift (AOT).

ovlStdAct

boolean10x200

The job overlaps a standard activity.

pastContract

boolean10x20000 

ETA after contract latest.

promise

boolean10x800 

Broken customer promise. If any of missedApptEarly, missedApptLate, pastContract, beforeContract, outsideAccHours or outsideServHours are set, then this is set.

spareNotInVanboolean20x100Not all required spares can be sourced from van stocks

unscheduled

boolean10x2000

The job is unscheduled.