POST api/Calendar/GetCalendarByPersonIDNew

Request Information

URI Parameters

None.

Body Parameters

Calendar
NameDescriptionTypeAdditional information
CalendarID

integer

None.

EventID

integer

None.

Title

string

None.

TrainerID

integer

None.

PersonID

integer

None.

DisciplineID

integer

None.

HorseID

integer

None.

StartDate

date

None.

EndDate

date

None.

Repeat

integer

None.

RepeatType

integer

None.

RepeatCount

integer

None.

UntilDate

date

None.

ReminderDate

date

None.

Location

string

None.

Security

string

None.

AuthorPersonID

integer

None.

CalendarParentID

integer

None.

CreatedDate

date

None.

EventName

string

None.

EventColor

string

None.

HorseName

string

None.

PersonName

string

None.

TrainerName

string

None.

Duration

integer

None.

FilterType

string

None.

IsAllDay

boolean

None.

ReminderType

integer

None.

Is4HEvent

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CalendarID": 1,
  "EventID": 2,
  "Title": "sample string 3",
  "TrainerID": 4,
  "PersonID": 5,
  "DisciplineID": 6,
  "HorseID": 7,
  "StartDate": "2025-07-28T13:48:45.3781474-07:00",
  "EndDate": "2025-07-28T13:48:45.3781474-07:00",
  "Repeat": 8,
  "RepeatType": 9,
  "RepeatCount": 10,
  "UntilDate": "2025-07-28T13:48:45.3781474-07:00",
  "ReminderDate": "2025-07-28T13:48:45.3781474-07:00",
  "Location": "sample string 11",
  "Security": "sample string 12",
  "AuthorPersonID": 13,
  "CalendarParentID": 14,
  "CreatedDate": "2025-07-28T13:48:45.3781474-07:00",
  "EventName": "sample string 15",
  "EventColor": "sample string 16",
  "HorseName": "sample string 17",
  "PersonName": "sample string 18",
  "TrainerName": "sample string 19",
  "Duration": 20,
  "FilterType": "sample string 21",
  "IsAllDay": true,
  "ReminderType": 23,
  "Is4HEvent": true
}

application/xml, text/xml

Sample:
<Calendar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
  <AuthorPersonID>13</AuthorPersonID>
  <CalendarID>1</CalendarID>
  <CalendarParentID>14</CalendarParentID>
  <CreatedDate>2025-07-28T13:48:45.3781474-07:00</CreatedDate>
  <DisciplineID>6</DisciplineID>
  <Duration>20</Duration>
  <EndDate>2025-07-28T13:48:45.3781474-07:00</EndDate>
  <EventColor>sample string 16</EventColor>
  <EventID>2</EventID>
  <EventName>sample string 15</EventName>
  <FilterType>sample string 21</FilterType>
  <HorseID>7</HorseID>
  <HorseName>sample string 17</HorseName>
  <Is4HEvent>true</Is4HEvent>
  <IsAllDay>true</IsAllDay>
  <Location>sample string 11</Location>
  <PersonID>5</PersonID>
  <PersonName>sample string 18</PersonName>
  <ReminderDate>2025-07-28T13:48:45.3781474-07:00</ReminderDate>
  <ReminderType>23</ReminderType>
  <Repeat>8</Repeat>
  <RepeatCount>10</RepeatCount>
  <RepeatType>9</RepeatType>
  <Security>sample string 12</Security>
  <StartDate>2025-07-28T13:48:45.3781474-07:00</StartDate>
  <Title>sample string 3</Title>
  <TrainerID>4</TrainerID>
  <TrainerName>sample string 19</TrainerName>
  <UntilDate>2025-07-28T13:48:45.3781474-07:00</UntilDate>
</Calendar>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Calendar
NameDescriptionTypeAdditional information
CalendarID

integer

None.

EventID

integer

None.

Title

string

None.

TrainerID

integer

None.

PersonID

integer

None.

DisciplineID

integer

None.

HorseID

integer

None.

StartDate

date

None.

EndDate

date

None.

Repeat

integer

None.

RepeatType

integer

None.

RepeatCount

integer

None.

UntilDate

date

None.

ReminderDate

date

None.

Location

string

None.

Security

string

None.

AuthorPersonID

integer

None.

CalendarParentID

integer

None.

CreatedDate

date

None.

EventName

string

None.

EventColor

string

None.

HorseName

string

None.

PersonName

string

None.

TrainerName

string

None.

Duration

integer

None.

FilterType

string

None.

IsAllDay

boolean

None.

ReminderType

integer

None.

Is4HEvent

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CalendarID": 1,
    "EventID": 2,
    "Title": "sample string 3",
    "TrainerID": 4,
    "PersonID": 5,
    "DisciplineID": 6,
    "HorseID": 7,
    "StartDate": "2025-07-28T13:48:45.3781474-07:00",
    "EndDate": "2025-07-28T13:48:45.3781474-07:00",
    "Repeat": 8,
    "RepeatType": 9,
    "RepeatCount": 10,
    "UntilDate": "2025-07-28T13:48:45.3781474-07:00",
    "ReminderDate": "2025-07-28T13:48:45.3781474-07:00",
    "Location": "sample string 11",
    "Security": "sample string 12",
    "AuthorPersonID": 13,
    "CalendarParentID": 14,
    "CreatedDate": "2025-07-28T13:48:45.3781474-07:00",
    "EventName": "sample string 15",
    "EventColor": "sample string 16",
    "HorseName": "sample string 17",
    "PersonName": "sample string 18",
    "TrainerName": "sample string 19",
    "Duration": 20,
    "FilterType": "sample string 21",
    "IsAllDay": true,
    "ReminderType": 23,
    "Is4HEvent": true
  },
  {
    "CalendarID": 1,
    "EventID": 2,
    "Title": "sample string 3",
    "TrainerID": 4,
    "PersonID": 5,
    "DisciplineID": 6,
    "HorseID": 7,
    "StartDate": "2025-07-28T13:48:45.3781474-07:00",
    "EndDate": "2025-07-28T13:48:45.3781474-07:00",
    "Repeat": 8,
    "RepeatType": 9,
    "RepeatCount": 10,
    "UntilDate": "2025-07-28T13:48:45.3781474-07:00",
    "ReminderDate": "2025-07-28T13:48:45.3781474-07:00",
    "Location": "sample string 11",
    "Security": "sample string 12",
    "AuthorPersonID": 13,
    "CalendarParentID": 14,
    "CreatedDate": "2025-07-28T13:48:45.3781474-07:00",
    "EventName": "sample string 15",
    "EventColor": "sample string 16",
    "HorseName": "sample string 17",
    "PersonName": "sample string 18",
    "TrainerName": "sample string 19",
    "Duration": 20,
    "FilterType": "sample string 21",
    "IsAllDay": true,
    "ReminderType": 23,
    "Is4HEvent": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCalendar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
  <Calendar>
    <AuthorPersonID>13</AuthorPersonID>
    <CalendarID>1</CalendarID>
    <CalendarParentID>14</CalendarParentID>
    <CreatedDate>2025-07-28T13:48:45.3781474-07:00</CreatedDate>
    <DisciplineID>6</DisciplineID>
    <Duration>20</Duration>
    <EndDate>2025-07-28T13:48:45.3781474-07:00</EndDate>
    <EventColor>sample string 16</EventColor>
    <EventID>2</EventID>
    <EventName>sample string 15</EventName>
    <FilterType>sample string 21</FilterType>
    <HorseID>7</HorseID>
    <HorseName>sample string 17</HorseName>
    <Is4HEvent>true</Is4HEvent>
    <IsAllDay>true</IsAllDay>
    <Location>sample string 11</Location>
    <PersonID>5</PersonID>
    <PersonName>sample string 18</PersonName>
    <ReminderDate>2025-07-28T13:48:45.3781474-07:00</ReminderDate>
    <ReminderType>23</ReminderType>
    <Repeat>8</Repeat>
    <RepeatCount>10</RepeatCount>
    <RepeatType>9</RepeatType>
    <Security>sample string 12</Security>
    <StartDate>2025-07-28T13:48:45.3781474-07:00</StartDate>
    <Title>sample string 3</Title>
    <TrainerID>4</TrainerID>
    <TrainerName>sample string 19</TrainerName>
    <UntilDate>2025-07-28T13:48:45.3781474-07:00</UntilDate>
  </Calendar>
  <Calendar>
    <AuthorPersonID>13</AuthorPersonID>
    <CalendarID>1</CalendarID>
    <CalendarParentID>14</CalendarParentID>
    <CreatedDate>2025-07-28T13:48:45.3781474-07:00</CreatedDate>
    <DisciplineID>6</DisciplineID>
    <Duration>20</Duration>
    <EndDate>2025-07-28T13:48:45.3781474-07:00</EndDate>
    <EventColor>sample string 16</EventColor>
    <EventID>2</EventID>
    <EventName>sample string 15</EventName>
    <FilterType>sample string 21</FilterType>
    <HorseID>7</HorseID>
    <HorseName>sample string 17</HorseName>
    <Is4HEvent>true</Is4HEvent>
    <IsAllDay>true</IsAllDay>
    <Location>sample string 11</Location>
    <PersonID>5</PersonID>
    <PersonName>sample string 18</PersonName>
    <ReminderDate>2025-07-28T13:48:45.3781474-07:00</ReminderDate>
    <ReminderType>23</ReminderType>
    <Repeat>8</Repeat>
    <RepeatCount>10</RepeatCount>
    <RepeatType>9</RepeatType>
    <Security>sample string 12</Security>
    <StartDate>2025-07-28T13:48:45.3781474-07:00</StartDate>
    <Title>sample string 3</Title>
    <TrainerID>4</TrainerID>
    <TrainerName>sample string 19</TrainerName>
    <UntilDate>2025-07-28T13:48:45.3781474-07:00</UntilDate>
  </Calendar>
</ArrayOfCalendar>