POST api/Barn/AddUpdateStall
Request Information
URI Parameters
None.
Body Parameters
Stalls| Name | Description | Type | Additional information |
|---|---|---|---|
| StallID | integer |
None. |
|
| PersonID | integer |
None. |
|
| BarnID | integer |
None. |
|
| HorseID | integer |
None. |
|
| PhotoID | integer |
None. |
|
| Stallnum | string |
None. |
|
| BlanketID | integer |
None. |
|
| BehaviorID | integer |
None. |
|
| Description | string |
None. |
|
| OwnerID | integer |
None. |
|
| FarrierID | integer |
None. |
|
| VetID | integer |
None. |
|
| Term | integer |
None. |
|
| MonthlyRate | decimal number |
None. |
|
| LocalPath | string |
None. |
|
| DateModified | date |
None. |
|
| DateCreated | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"StallID": 1,
"PersonID": 2,
"BarnID": 3,
"HorseID": 4,
"PhotoID": 5,
"Stallnum": "sample string 6",
"BlanketID": 7,
"BehaviorID": 8,
"Description": "sample string 9",
"OwnerID": 10,
"FarrierID": 11,
"VetID": 12,
"Term": 13,
"MonthlyRate": 14.0,
"LocalPath": "sample string 15",
"DateModified": "2025-12-05T20:21:09.3907809-08:00",
"DateCreated": "2025-12-05T20:21:09.3907809-08:00"
}
application/xml, text/xml
Sample:
<Stalls xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities"> <DateCreated>2025-12-05T20:21:09.3907809-08:00</DateCreated> <DateModified>2025-12-05T20:21:09.3907809-08:00</DateModified> <BarnID>3</BarnID> <BehaviorID>8</BehaviorID> <BlanketID>7</BlanketID> <Description>sample string 9</Description> <FarrierID>11</FarrierID> <HorseID>4</HorseID> <LocalPath>sample string 15</LocalPath> <MonthlyRate>14</MonthlyRate> <OwnerID>10</OwnerID> <PersonID>2</PersonID> <PhotoID>5</PhotoID> <StallID>1</StallID> <Stallnum>sample string 6</Stallnum> <Term>13</Term> <VetID>12</VetID> </Stalls>
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>