SOAP API - saveCalendarEntry
The table summarizes the SOAP API - saveCalendarEntry.
Request | Uses the saveCalendarEntry element (from the WorkCalService schema) |
Parameter notes |
|
Response | Returns a saveCalendarEntryResponse element (from the WorkCalService schema). |
Example 1: Create a working-day exclusion |
Request:
<soapenv:Body> <wor:saveCalendarEntry version="1" namespace="LONDON" name="UK_PUBLIC_HOLIDAYS" start="2012-06-01T00:00:00Z" end="2012-06-30T00:00:00Z"> <create-working-day description="JUBILEE" all-day="true" start="2012-06-05T00:00:01Z" end="2012-06-05T23:59:59Z" free-busy="BUSY"/> </wor:saveCalendarEntry> </soapenv:Body> |
Response:
<SOAP-ENV:Body> <saveCalendarEntryResponse end="2012-06-30T00:00:00Z" name="UK_PUBLIC_HOLIDAYS" namespace="LONDON" start="2012-06-01T00:00:00Z" version="2" xmlns="http://workcal.api.dac.n2.tibco.com"> <working-day all-day="true" description="JUBILEE" end="2012-06-05T23:59:59.999Z" free-busy="BUSY" guid="EF42E063-765E-4750-AE82-ADC0187B2913" start="2012-06-04T00:00:00.000Z" xmlns=""/> </saveCalendarEntryResponse> </SOAP-ENV:Body> |
Example 2: Create a recurring exclusion |
Request:
<soapenv:Body> <wor:saveCalendarEntry version="0" namespace="LONDON" name="EMEA-N" start="2012-04-01T00:00:00" end="2012-12-31T00:00:00"> <create-recurring description="Monday morning mtg" all-day="false" start="2012-03-19T08:30:00" end="2012-03-19T09:30:00" free-busy="BUSY" duration="PT1H0M0S" rrule="FREQ=WEEKLY;INTERVAL=1; BYDAY=MO"/> </wor:saveCalendarEntry> </soapenv:Body> |
Response:
<SOAP-ENV:Body> <saveCalendarEntryResponse end="2012-12-31T00:00:00" name="EMEA-N" namespace="LONDON" start="2012-02-27T00:00:00" version="1" xmlns="http://workcal.api.dac.n2.tibco.com"> <recurring all-day="false" description="Monday morning mtg" duration="PT1H" end="2012-03-19T09:30:00.000Z" free-busy="BUSY" guid="033B1E76-9F16-456E-85BF-D7F0A389E541" rrule="FREQ=WEEKLY;BYDAY=FR" start="2012-03-19T08:30:00.000Z" xmlns=""> <occurrence end="2012-04-06T09:30:00.000Z" start="2012-04-06T08:30:00.000Z"/> <occurrence end="2012-04-13T09:30:00.000Z" start="2012-04-13T08:30:00.000Z"/> <occurrence end="2012-04-20T09:30:00.000Z" start="2012-04-20T08:30:00.000Z"/> <occurrence end="2012-04-27T09:30:00.000Z" start="2012-04-27T08:30:00.000Z"/> . . . <occurrence end="2012-12-07T09:30:00.000Z" start="2012-12-07T08:30:00.000Z"/> <occurrence end="2012-12-14T09:30:00.000Z" start="2012-12-14T08:30:00.000Z"/> <occurrence end="2012-12-21T09:30:00.000Z" start="2012-12-21T08:30:00.000Z"/> <occurrence end="2012-12-28T09:30:00.000Z" start="2012-12-28T08:30:00.000Z"/> </recurring> </saveCalendarEntryResponse> </SOAP-ENV:Body> |
Copyright © Cloud Software Group, Inc. All rights reserved.