POST api/Barn/GetBarnPhoto?imageType={imageType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| imageType | string |
Required |
Body Parameters
Barns| Name | Description | Type | Additional information |
|---|---|---|---|
| BarnID | integer |
None. |
|
| PersonID | integer |
None. |
|
| PhotoID | integer |
None. |
|
| BarnName | string |
None. |
|
| BarnTypeID | integer |
None. |
|
| NumStalls | integer |
None. |
|
| Description | string |
None. |
|
| LocalPath | string |
None. |
|
| DateModified | date |
None. |
|
| DateCreated | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"BarnID": 1,
"PersonID": 2,
"PhotoID": 3,
"BarnName": "sample string 4",
"BarnTypeID": 5,
"NumStalls": 6,
"Description": "sample string 7",
"LocalPath": "sample string 8",
"DateModified": "2025-12-05T20:21:53.53269-08:00",
"DateCreated": "2025-12-05T20:21:53.53269-08:00"
}
application/xml, text/xml
Sample:
<Barns xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities"> <DateCreated>2025-12-05T20:21:53.53269-08:00</DateCreated> <DateModified>2025-12-05T20:21:53.53269-08:00</DateModified> <BarnID>1</BarnID> <BarnName>sample string 4</BarnName> <BarnTypeID>5</BarnTypeID> <Description>sample string 7</Description> <LocalPath>sample string 8</LocalPath> <NumStalls>6</NumStalls> <PersonID>2</PersonID> <PhotoID>3</PhotoID> </Barns>
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. |