POST api/Prerequisite/SavePhotoFromBrowser
Request Information
URI Parameters
None.
Body Parameters
PhotoBrowserDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| HorseID | integer |
None. |
|
| PersonID | integer |
None. |
|
| base64Image | string |
None. |
|
| PhotoType | string |
None. |
|
| BarnID | integer |
None. |
|
| StallID | integer |
None. |
|
| TopicPostID | integer |
None. |
|
| PostID | integer |
None. |
|
| HoofPhotoType | string |
None. |
|
| BodyPhotoType | string |
None. |
|
| FarrierVisitID | integer |
None. |
|
| OrgID | integer |
None. |
|
| HorseShowID | integer |
None. |
|
| PhotoTypeId | string |
None. |
|
| SessionID | integer |
None. |
|
| BusinessID | integer |
None. |
|
| ItemID | integer |
None. |
|
| lstPostID | Collection of integer |
None. |
|
| BodyVisitID | integer |
None. |
|
| EquipmentID | integer |
None. |
|
| ListingID | integer |
None. |
|
| JobID | integer |
None. |
|
| AdvertisementID | integer |
None. |
|
| RecordbookID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"HorseID": 1,
"PersonID": 2,
"base64Image": "sample string 3",
"PhotoType": "sample string 4",
"BarnID": 5,
"StallID": 6,
"TopicPostID": 7,
"PostID": 8,
"HoofPhotoType": "sample string 9",
"BodyPhotoType": "sample string 10",
"FarrierVisitID": 11,
"OrgID": 12,
"HorseShowID": 13,
"PhotoTypeId": "sample string 14",
"SessionID": 15,
"BusinessID": 16,
"ItemID": 17,
"lstPostID": [
1,
2
],
"BodyVisitID": 18,
"EquipmentID": 19,
"ListingID": 20,
"JobID": 21,
"AdvertisementID": 22,
"RecordbookID": 23
}
application/xml, text/xml
Sample:
<PhotoBrowserDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
<AdvertisementID>22</AdvertisementID>
<BarnID>5</BarnID>
<BodyPhotoType>sample string 10</BodyPhotoType>
<BodyVisitID>18</BodyVisitID>
<BusinessID>16</BusinessID>
<EquipmentID>19</EquipmentID>
<FarrierVisitID>11</FarrierVisitID>
<HoofPhotoType>sample string 9</HoofPhotoType>
<HorseID>1</HorseID>
<HorseShowID>13</HorseShowID>
<ItemID>17</ItemID>
<JobID>21</JobID>
<ListingID>20</ListingID>
<OrgID>12</OrgID>
<PersonID>2</PersonID>
<PhotoType>sample string 4</PhotoType>
<PhotoTypeId>sample string 14</PhotoTypeId>
<PostID>8</PostID>
<RecordbookID>23</RecordbookID>
<SessionID>15</SessionID>
<StallID>6</StallID>
<TopicPostID>7</TopicPostID>
<base64Image>sample string 3</base64Image>
<lstPostID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</lstPostID>
</PhotoBrowserDetails>
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. |