POST api/BanasAIHRApi/AnimalOpenStatusRtr
Request Information
URI Parameters
None.
Body Parameters
AnimalOpenStatusViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Action | string |
None. |
|
| StationId | integer |
None. |
|
| BreedId | integer |
None. |
|
| LactNo | integer |
None. |
|
| DaysFrom | integer |
None. |
|
| DaysTo | integer |
None. |
|
| HeatWindowDays | integer |
None. |
|
| MinDaysPostCalving | integer |
None. |
|
| DryGapDays | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Action": "sample string 1",
"StationId": 1,
"BreedId": 1,
"LactNo": 1,
"DaysFrom": 1,
"DaysTo": 1,
"HeatWindowDays": 1,
"MinDaysPostCalving": 1,
"DryGapDays": 1
}
application/xml, text/xml
Sample:
<AnimalOpenStatusViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanasAIHRViewModel.Master"> <Action>sample string 1</Action> <BreedId>1</BreedId> <DaysFrom>1</DaysFrom> <DaysTo>1</DaysTo> <DryGapDays>1</DryGapDays> <HeatWindowDays>1</HeatWindowDays> <LactNo>1</LactNo> <MinDaysPostCalving>1</MinDaysPostCalving> <StationId>1</StationId> </AnimalOpenStatusViewModel>
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. |