There is a mismatch between the example and the actual XML I get via the API. The example uses a <Time> element within the actual XML returned is a <TimeOffsetUtc> element (see below).
Within the example documentation... this is what I expect returned:
Code: Select all
<OptionsDaily Enabled="true">
<Kind>Everyday</Kind>
<Days>Sunday</Days>
<Days>Monday</Days>
<Days>Tuesday</Days>
<Days>Wednesday</Days>
<Days>Thursday</Days>
<Days>Friday</Days>
<Days>Saturday</Days>
<Time>22:00:00.0000000-07:00</Time>
</OptionsDaily>
Code: Select all
<OptionsDaily Enabled="true">
<Kind>Everyday</Kind>
<Days>Sunday</Days>
<Days>Monday</Days>
<Days>Tuesday</Days>
<Days>Wednesday</Days>
<Days>Thursday</Days>
<Days>Friday</Days>
<Days>Saturday</Days>
<TimeOffsetUtc>65700</TimeOffsetUtc>
</OptionsDaily>
I need to change the time jobs start via the API and this is really confusing. I want the Time element as the documentation shows, not the TimeOffsetUtc (royal pain). Is there a way to get the correct element (Time) returned in the XML and/or how to I convert values (need to know base point in time and what each integer value represents)?