protocol.taskschedule.AddScheduledTasksRequest
Adds scheduled tasks into the task scheduler.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
cid | no | 1 | text | client id. used to track origin of any particular message |
uid | no | 1 | text | user id |
sct | yes | unlimited | ScheduledTask | Scheduled Tasks. |
Example xml:
<sireq> <cid>Mum</cid> <fn> <addScheduledTasks> <sct> <sctid>testsched1</sctid> <en>on</en> <sch> <hr>23</hr> <mn>59</mn> <mon>on</mon> <tue>on</tue> <wed>off</wed> <thu>off</thu> <fri>on</fri> <sat>off</sat> <sun>off</sun> <rep>on</rep> </sch> <pid>playerid1</pid> <pid>playerid2</pid> <pid>playerid3</pid> <mitm> <trid>trackid</trid> </mitm> </sct> <sct> <sctid>testsched2</sctid> <en>off</en> <sch> <hr>12</hr> <mn>04</mn> <mon>on</mon> <tue>on</tue> <wed>off</wed> <thu>off</thu> <fri>on</fri> <sat>off</sat> <sun>off</sun> <rep>on</rep> </sch> <pid>playerid</pid> <mitm> <plid>playlistid</plid> </mitm> </sct> </addScheduledTasks> </fn> </sireq>