GET api/value-data/calendar/types

This method should be used to retrieve list of supported calendar event types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of

Collection of CalendarEventTypeResponseModel
NameDescriptionTypeAdditional information
Id

integer

None.

Type

string

None.

Color

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "type": "sample string 2",
    "color": "sample string 3"
  },
  {
    "id": 1,
    "type": "sample string 2",
    "color": "sample string 3"
  }
]

text/html

Sample:
[{"id":1,"type":"sample string 2","color":"sample string 3"},{"id":1,"type":"sample string 2","color":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfCalendarEventTypeResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.CalendarBinding">
  <CalendarEventTypeResponseModel>
    <Color>sample string 3</Color>
    <Id>1</Id>
    <Type>sample string 2</Type>
  </CalendarEventTypeResponseModel>
  <CalendarEventTypeResponseModel>
    <Color>sample string 3</Color>
    <Id>1</Id>
    <Type>sample string 2</Type>
  </CalendarEventTypeResponseModel>
</ArrayOfCalendarEventTypeResponseModel>