POST api/Instruction/DeleteSession
Request Information
URI Parameters
None.
Body Parameters
InstructionPost| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionID | integer |
None. |
|
| PostID | integer |
None. |
|
| PersonID | integer |
None. |
|
| TypeID | integer |
None. |
|
| StudentPostID | integer |
None. |
|
| StudentID | integer |
None. |
|
| TrainerID | integer |
None. |
|
| HorseID | integer |
None. |
|
| PrivateComments | string |
None. |
|
| DateCreated | date |
None. |
|
| DateModified | date |
None. |
|
| ObservationComment | string |
None. |
|
| Cost | integer |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| Location | string |
None. |
|
| PhotoID | integer |
None. |
|
| Name | string |
None. |
|
| StudentName | string |
None. |
|
| IsPostPhotoAvailable | boolean |
None. |
|
| IsFromCalendar | boolean |
None. |
|
| IsAddtoCalendar | boolean |
None. |
|
| LocalPath | string |
None. |
|
| PhotoID2 | integer |
None. |
|
| PhotoID3 | integer |
None. |
|
| PhotoID4 | integer |
None. |
|
| PhotoType | string |
None. |
|
| CategoryID | integer |
None. |
|
| SubCategoryID | integer |
None. |
|
| TimeSpent | integer |
None. |
|
| TrainerName | string |
None. |
|
| HorseName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SessionID": 1,
"PostID": 1,
"PersonID": 2,
"TypeID": 3,
"StudentPostID": 4,
"StudentID": 5,
"TrainerID": 6,
"HorseID": 7,
"PrivateComments": "sample string 8",
"DateCreated": "2025-12-05T20:21:55.5640165-08:00",
"DateModified": "2025-12-05T20:21:55.5640165-08:00",
"ObservationComment": "sample string 9",
"Cost": 10,
"Latitude": "sample string 11",
"Longitude": "sample string 12",
"Location": "sample string 13",
"PhotoID": 14,
"Name": "sample string 15",
"StudentName": "sample string 16",
"IsPostPhotoAvailable": true,
"IsFromCalendar": true,
"IsAddtoCalendar": true,
"LocalPath": "sample string 20",
"PhotoID2": 1,
"PhotoID3": 1,
"PhotoID4": 1,
"PhotoType": "sample string 21",
"CategoryID": 22,
"SubCategoryID": 23,
"TimeSpent": 24,
"TrainerName": "sample string 25",
"HorseName": "sample string 26"
}
application/xml, text/xml
Sample:
<InstructionPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities"> <CategoryID>22</CategoryID> <Cost>10</Cost> <DateCreated>2025-12-05T20:21:55.5640165-08:00</DateCreated> <DateModified>2025-12-05T20:21:55.5640165-08:00</DateModified> <HorseID>7</HorseID> <HorseName>sample string 26</HorseName> <IsAddtoCalendar>true</IsAddtoCalendar> <IsFromCalendar>true</IsFromCalendar> <IsPostPhotoAvailable>true</IsPostPhotoAvailable> <Latitude>sample string 11</Latitude> <LocalPath>sample string 20</LocalPath> <Location>sample string 13</Location> <Longitude>sample string 12</Longitude> <Name>sample string 15</Name> <ObservationComment>sample string 9</ObservationComment> <PersonID>2</PersonID> <PhotoID>14</PhotoID> <PhotoID2>1</PhotoID2> <PhotoID3>1</PhotoID3> <PhotoID4>1</PhotoID4> <PhotoType>sample string 21</PhotoType> <PostID>1</PostID> <PrivateComments>sample string 8</PrivateComments> <SessionID>1</SessionID> <StudentID>5</StudentID> <StudentName>sample string 16</StudentName> <StudentPostID>4</StudentPostID> <SubCategoryID>23</SubCategoryID> <TimeSpent>24</TimeSpent> <TrainerID>6</TrainerID> <TrainerName>sample string 25</TrainerName> <TypeID>3</TypeID> </InstructionPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.