GET api/Calendar/GetEventTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EventType
NameDescriptionTypeAdditional information
EventID

integer

None.

EventName

string

None.

EventColor

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EventID": 1,
    "EventName": "sample string 2",
    "EventColor": "sample string 3"
  },
  {
    "EventID": 1,
    "EventName": "sample string 2",
    "EventColor": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEventType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
  <EventType>
    <EventColor>sample string 3</EventColor>
    <EventID>1</EventID>
    <EventName>sample string 2</EventName>
  </EventType>
  <EventType>
    <EventColor>sample string 3</EventColor>
    <EventID>1</EventID>
    <EventName>sample string 2</EventName>
  </EventType>
</ArrayOfEventType>