Updating Class Meeting Times using API

beedee
New Contributor III

Hi,
When PUTting classes with meeting times, there seems to be a problem recognising "Tuesdays" when it is the only day or the last day. e.g. the following:

        <meeting_time>
            <days>T Th </days>
            <start_time>60</start_time>
            <end_time>120</end_time>
        </meeting_time>

works, whereas the following:

        <meeting_time>
            <days>Th T </days>
            <start_time>60</start_time>
            <end_time>120</end_time>
        </meeting_time>

        <meeting_time>
            <days>T </days>
            <start_time>120</start_time>
            <end_time>180</end_time>
        </meeting_time>

don't. The first will only do Thursday, and the second will not have any days chosen.

A workaround is to do something like this:

        <meeting_time>
            <days>T Th </days>
            <start_time>60</start_time>
            <end_time>120</end_time>
        </meeting_time>

        <meeting_time>
            <days>T T </days>
            <start_time>120</start_time>
            <end_time>180</end_time>
        </meeting_time>

- specify Tuesday twice, or put it before other days.

I've logged a support case for this.

(The spaces inside the XML tags are just mirroring how JSS returns the data, but there doesn't seem to be a difference in behaviour when sending data.)

beedee

0 REPLIES 0