POST api/v1/horses/search
Request Information
URI Parameters
None.
Body Parameters
HorseSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Status | Collection of string |
None. |
|
| Search | string |
None. |
|
| MotherName | string |
None. |
|
| FatherName | string |
None. |
|
| CustomerName | string |
None. |
|
| RegisterId | integer |
None. |
|
| GenderId | integer |
None. |
|
| BreederName | string |
None. |
|
| AgeTo | integer |
None. |
|
| AgeFrom | integer |
None. |
|
| ExcludeId | integer |
None. |
|
| Skip | integer |
None. |
|
| Take | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerId": 2,
"Status": [
"sample string 1",
"sample string 2"
],
"Search": "sample string 3",
"MotherName": "sample string 4",
"FatherName": "sample string 5",
"CustomerName": "sample string 6",
"RegisterId": 7,
"GenderId": 8,
"BreederName": "sample string 9",
"AgeTo": 10,
"AgeFrom": 11,
"ExcludeId": 12,
"Skip": 13,
"Take": 14
}
application/xml, text/xml
Sample:
<HorseSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Core.Models.ACPH.Horses">
<AgeFrom>11</AgeFrom>
<AgeTo>10</AgeTo>
<BreederName>sample string 9</BreederName>
<CustomerId>2</CustomerId>
<CustomerName>sample string 6</CustomerName>
<ExcludeId>12</ExcludeId>
<FatherName>sample string 5</FatherName>
<GenderId>8</GenderId>
<Id>1</Id>
<MotherName>sample string 4</MotherName>
<RegisterId>7</RegisterId>
<Search>sample string 3</Search>
<Skip>13</Skip>
<Status xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Status>
<Take>14</Take>
</HorseSearch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfListOfHorse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of Horse |
None. |
|
| Pagination | Pagination |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.