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




Parameter Type Description
iType string Inspection type.
DaysAhead number Number of days in the future to schedule the inspection for.
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.


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

To specify the option inspection comment without the other option parameters you can use scheduleInspectDate("Desc",5,null,null,"My Comment");