Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

List scheduledtimes

...

Name

Required

Value

Description

Defaultvalues
resourceyesresource=12Selected resource 

startdate

Yes

startdate=2014-01-01

Start date for period

-

enddate

No

enddate=2014-01-02

End date for period

startdate + 1 day

Example:

Code Block
APIURL/scheduledtimes.xml?resource=12&startdate=2014-01-01&enddate=2014-01-02

...

Code Block
<scheduledtimes>
	<resource>
		<id>12</id>
		<name>Reception</name>
	</resource>
	<startdate>2014-01-01</enddate>
	<enddate>2014-01-02</enddate>
	<blocks>
   		<block>
			<date>2014-01-01</date>
			<start>10:00</start>
			<end>12:00</end>
		</block>
	   	<block>
				<date>2014-01-01</date>
				<start>13:00</start>
			<end>16:00</end>
		</block>
	</blocks>
</scheduledtimes>