POST api/Calendar/AddUpdateEventMultiple
Request Information
URI Parameters
None.
Body Parameters
UpdatedCalendarName | Description | Type | Additional information |
---|---|---|---|
ObjCalendar | Calendar |
None. |
|
lstHorses | Collection of integer |
None. |
|
lstStudents | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ObjCalendar": { "CalendarID": 1, "EventID": 2, "Title": "sample string 3", "TrainerID": 4, "PersonID": 5, "DisciplineID": 6, "HorseID": 7, "StartDate": "2025-07-28T13:31:47.6956209-07:00", "EndDate": "2025-07-28T13:31:47.6956209-07:00", "Repeat": 8, "RepeatType": 9, "RepeatCount": 10, "UntilDate": "2025-07-28T13:31:47.6956209-07:00", "ReminderDate": "2025-07-28T13:31:47.6956209-07:00", "Location": "sample string 11", "Security": "sample string 12", "AuthorPersonID": 13, "CalendarParentID": 14, "CreatedDate": "2025-07-28T13:31:47.6956209-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 }, "lstHorses": [ 1, 2 ], "lstStudents": [ 1, 2 ] }
application/xml, text/xml
Sample:
<UpdatedCalendar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities"> <ObjCalendar> <AuthorPersonID>13</AuthorPersonID> <CalendarID>1</CalendarID> <CalendarParentID>14</CalendarParentID> <CreatedDate>2025-07-28T13:31:47.6956209-07:00</CreatedDate> <DisciplineID>6</DisciplineID> <Duration>20</Duration> <EndDate>2025-07-28T13:31:47.6956209-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:31:47.6956209-07:00</ReminderDate> <ReminderType>23</ReminderType> <Repeat>8</Repeat> <RepeatCount>10</RepeatCount> <RepeatType>9</RepeatType> <Security>sample string 12</Security> <StartDate>2025-07-28T13:31:47.6956209-07:00</StartDate> <Title>sample string 3</Title> <TrainerID>4</TrainerID> <TrainerName>sample string 19</TrainerName> <UntilDate>2025-07-28T13:31:47.6956209-07:00</UntilDate> </ObjCalendar> <lstHorses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </lstHorses> <lstStudents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </lstStudents> </UpdatedCalendar>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>