POST api/Posts/GetPostPhoto?imageType={imageType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| imageType | string |
Required |
Body Parameters
Posts| Name | Description | Type | Additional information |
|---|---|---|---|
| PostID | integer |
None. |
|
| ParentPostID | integer |
None. |
|
| PersonID | integer |
None. |
|
| TypeID | integer |
None. |
|
| SecurityCode | string |
None. |
|
| Comment | string |
None. |
|
| PhotoID | integer |
None. |
|
| PhotoID2 | integer |
None. |
|
| PhotoID3 | integer |
None. |
|
| PhotoID4 | integer |
None. |
|
| HorseID | integer |
None. |
|
| CategoryID | integer |
None. |
|
| SubCategoryID | integer |
None. |
|
| SessionID | integer |
None. |
|
| AssociatedPersonID | integer |
None. |
|
| EquipmentID | integer |
None. |
|
| LocalPath | string |
None. |
|
| Location | string |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| Cost | string |
None. |
|
| CostType | string |
None. |
|
| PhotoType | string |
None. |
|
| IsAddtoCalendar | boolean |
None. |
|
| TimeSpent | integer |
None. |
|
| DateModified | date |
None. |
|
| DateCreated | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"PostID": 1,
"ParentPostID": 2,
"PersonID": 3,
"TypeID": 1,
"SecurityCode": "sample string 4",
"Comment": "sample string 5",
"PhotoID": 1,
"PhotoID2": 1,
"PhotoID3": 1,
"PhotoID4": 1,
"HorseID": 1,
"CategoryID": 1,
"SubCategoryID": 1,
"SessionID": 1,
"AssociatedPersonID": 1,
"EquipmentID": 1,
"LocalPath": "sample string 6",
"Location": "sample string 7",
"Latitude": "sample string 8",
"Longitude": "sample string 9",
"Cost": "sample string 10",
"CostType": "sample string 11",
"PhotoType": "sample string 12",
"IsAddtoCalendar": true,
"TimeSpent": 14,
"DateModified": "2025-12-05T20:20:51.9421595-08:00",
"DateCreated": "2025-12-05T20:20:51.9421595-08:00"
}
application/xml, text/xml
Sample:
<Posts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities"> <DateCreated>2025-12-05T20:20:51.9421595-08:00</DateCreated> <DateModified>2025-12-05T20:20:51.9421595-08:00</DateModified> <AssociatedPersonID>1</AssociatedPersonID> <CategoryID>1</CategoryID> <Comment>sample string 5</Comment> <Cost>sample string 10</Cost> <CostType>sample string 11</CostType> <EquipmentID>1</EquipmentID> <HorseID>1</HorseID> <IsAddtoCalendar>true</IsAddtoCalendar> <Latitude>sample string 8</Latitude> <LocalPath>sample string 6</LocalPath> <Location>sample string 7</Location> <Longitude>sample string 9</Longitude> <ParentPostID>2</ParentPostID> <PersonID>3</PersonID> <PhotoID>1</PhotoID> <PhotoID2>1</PhotoID2> <PhotoID3>1</PhotoID3> <PhotoID4>1</PhotoID4> <PhotoType>sample string 12</PhotoType> <PostID>1</PostID> <SecurityCode>sample string 4</SecurityCode> <SessionID>1</SessionID> <SubCategoryID>1</SubCategoryID> <TimeSpent>14</TimeSpent> <TypeID>1</TypeID> </Posts>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |