initObject
Instructs Spiral how to handle a request placing a stop into the INIT state. Spiral generates a new
solution with potentially revised earliest and latest times.
{
"skewEarly": <real>,
"skewLate": <real>,
"persistTarget": <bool>,
"ignoreVoluntary": <bool>,
"ignoreContingency": <bool>,
}
-
targettimeIntervaldefault1 hour - Generate the optimal immediate-service appointment with a targeted response time (a new latest time is usually created).
-
skewEarlyreal - Skew applied when generating the earliest time for an immediate solution.
-
skewLatereal - Skew applied when generating the latest time for an immediate solution.
-
apptapptObject - Return available appointments matching the specification.
-
persistTargetbooldefaulttrue - Schedule to the new latest time, or to the original requirement.
-
ignoreVoluntarybooldefaulttrue - Whether to consider voluntary-working solutions for immediate solutions.
-
ignoreContingencybooldefaultfalse - Whether to evaluate contingency-time impacts during immediate solution generation.