POST api/v1/CalendarDataTitles
Adds new calendar
Request Information
URI Parameters
None.
Body Parameters
Calendar to insert
CalendarDataTitleName | Description | Type | Additional information |
---|---|---|---|
CalendarDataTitle_ID |
Calendar ID |
globally unique identifier |
None. |
Description |
Description |
string |
None. |
Name |
Name |
string |
None. |
RealEstate_ID |
Real estate id |
globally unique identifier |
None. |
Type |
Type |
CalendarDataTitleType |
None. |
Zone_ID |
Zone id |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "CalendarDataTitle_ID": "4b29a2ee-e2f6-4c03-98cd-c4b655794fc1", "Description": "sample string 2", "Name": "sample string 3", "RealEstate_ID": "4d059ed9-837f-4b8e-a203-c0fd2af1b4fd", "Type": 0, "Zone_ID": "a8268218-178f-4791-8f84-6a4799c63b36" }
application/xml, text/xml
Sample:
<CalendarDataTitle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iloq.manager.server.bus"> <CalendarDataTitle_ID>4b29a2ee-e2f6-4c03-98cd-c4b655794fc1</CalendarDataTitle_ID> <Description>sample string 2</Description> <Name>sample string 3</Name> <RealEstate_ID>4d059ed9-837f-4b8e-a203-c0fd2af1b4fd</RealEstate_ID> <Type>TimeControlCalendar</Type> <Zone_ID>a8268218-178f-4791-8f84-6a4799c63b36</Zone_ID> </CalendarDataTitle>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.