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": "ab1cbcda-0b44-4009-ab63-3e524804822e", "Description": "sample string 2", "Name": "sample string 3", "RealEstate_ID": "00bb625c-8af5-4d68-b273-7a7422ab0544", "Type": 0, "Zone_ID": "6d2f10bb-b385-4fb3-bf05-eff15075ed1f" }
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>ab1cbcda-0b44-4009-ab63-3e524804822e</CalendarDataTitle_ID> <Description>sample string 2</Description> <Name>sample string 3</Name> <RealEstate_ID>00bb625c-8af5-4d68-b273-7a7422ab0544</RealEstate_ID> <Type>TimeControlCalendar</Type> <Zone_ID>6d2f10bb-b385-4fb3-bf05-eff15075ed1f</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.