TYBA






protocol.taskschedule.AddScheduledTasksRequest

AddScheduledTasksRequest

Adds scheduled tasks into the task scheduler.

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
uidno1textuser id
sctyesunlimitedScheduledTaskScheduled 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>

 

back to index