This Verayu LaaS API method enables you to push trackee trip scheduling to verayu servers.
http method : POST
|email address||The account email|
|key||api key||The Key associated with your API|
|trackeeid||int||Verayu Trackee Id|
|shiftid||int||The shift id (refer createshift for more details)|
|startdate||Date||allowed format YYYY-MM-DD (2014-12-04)|
|enddate||Date||allowed format YYYY-MM-DD (2014-12-05)|
The accpted values are 1 (Yes) or 0 (No), starting from Mon-Sun.
So if you want to specify trips from Monday to Friday your entry would be 1111100.
if you want to run trips from Mon-Wed the entry should be 1110000
The accpted values are
.5 for 5 seconds mode
1 for 1 minute mode
10 for either 10 minutes or 15 minutes (device only, if it supports) mode.
30 for 30 minutes mode in Android and 2 hours mode in Yantra (device)
|method||string||The method name <scheduletrackeetrips> to be passed|
|status||integer||200 for success 402 for failures and errors|
The messages returned are:
The request has successfuly accepted for scheduling trips. The scheduling will be rejected if there is a conflict of start time.
On Overlapping of shifts
Scheduler overlapping found, ignoring.
For any other error during scheduling
Nothing to schedule. Error occured, please try after sometime.
Sample XML output (on Success)
Sample XML output (on scheduler overlapping)
If any errors encountered the api returns a status code of 402 along with an appropriate message