scheduleInspectDate

Schedules the inspection iType for the date DateToSched.  If you supply inspectorID, the function assigns the scheduled inspection to the inspector whose Civic Platform user ID is inspectorID.

Version

1.5

Parameters

Parameter Type Description
iType string Inspection type.
DateToSched string Scheduled date of inspection.
inspectorID (optional) string User ID of inspector.
inspTime (optional) string Inspection time in HH12:MIAM format or AMPM (e.g. “12:00PM” or “PM”).
inspComm (optional) string Inspection comment.

Note

To specify the optional inspection time without passing in inspection use scheduleInspectDate("Desc","01/01/2001",null, "AM").

To specify the option inspection comment without the other option parameters you can use scheduleInspectDate("Desc","01/01/2001",null,null, "My Comment").