POST api/BanasAIHRApi/AnimalWeightMasterRtr
Request Information
URI Parameters
None.
Body Parameters
AnimalWeightMasterViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| WeightId | integer |
None. |
|
| TagNo | string |
None. |
|
| SpeciesName | string |
None. |
|
| WeightDate | string |
None. |
|
| Length | decimal number |
None. |
|
| Girth | decimal number |
None. |
|
| WeightKg | decimal number |
None. |
|
| birthWeight | decimal number |
None. |
|
| LastWeight | decimal number |
None. |
|
| LastWeightDate | string |
None. |
|
| Dob | string |
None. |
|
| WeightGrowthFromDob | decimal number |
None. |
|
| WeightGrowthFromLast | decimal number |
None. |
|
| CreateUser | string |
None. |
|
| UpdateUser | string |
None. |
|
| fromdate | string |
None. |
|
| todate | string |
None. |
|
| Action | string |
None. |
|
| dt | DataTable |
None. |
|
| UploadPath | string |
None. |
|
| WeightList | Collection of BanasAIHR_AnimalWeightMasterRtr_Result |
None. |
Request Formats
application/json, text/json
Sample:
{
"WeightId": 1,
"TagNo": "sample string 2",
"SpeciesName": "sample string 3",
"WeightDate": "sample string 4",
"Length": 1.0,
"Girth": 1.0,
"WeightKg": 1.0,
"birthWeight": 1.0,
"LastWeight": 1.0,
"LastWeightDate": "sample string 5",
"Dob": "sample string 6",
"WeightGrowthFromDob": 1.0,
"WeightGrowthFromLast": 1.0,
"CreateUser": "sample string 7",
"UpdateUser": "sample string 8",
"fromdate": "sample string 9",
"todate": "sample string 10",
"Action": "sample string 11",
"dt": null,
"UploadPath": "sample string 12",
"WeightList": [
{
"WeightId": 1,
"TagNo": "sample string 2",
"WeightDate": "sample string 3",
"Length": 1.0,
"Girth": 1.0,
"WeightKg": 4.0,
"LastWeight": 1.0,
"LastWeightDate": "2026-10-28T18:30:23.7342853+05:30",
"Dob": "2026-10-28T18:30:23.7342853+05:30",
"WeightGrowthFromDob": 1.0,
"WeightGrowthFromLast": 1.0,
"CreateUser": "sample string 5",
"CreateDate": "sample string 6",
"UpdateUser": "sample string 7",
"UpdateDate": "sample string 8"
},
{
"WeightId": 1,
"TagNo": "sample string 2",
"WeightDate": "sample string 3",
"Length": 1.0,
"Girth": 1.0,
"WeightKg": 4.0,
"LastWeight": 1.0,
"LastWeightDate": "2026-10-28T18:30:23.7342853+05:30",
"Dob": "2026-10-28T18:30:23.7342853+05:30",
"WeightGrowthFromDob": 1.0,
"WeightGrowthFromLast": 1.0,
"CreateUser": "sample string 5",
"CreateDate": "sample string 6",
"UpdateUser": "sample string 7",
"UpdateDate": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<AnimalWeightMasterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanasAIHRViewModel.AnimalActivity">
<Action>sample string 11</Action>
<CreateUser>sample string 7</CreateUser>
<Dob>sample string 6</Dob>
<Girth>1</Girth>
<LastWeight>1</LastWeight>
<LastWeightDate>sample string 5</LastWeightDate>
<Length>1</Length>
<SpeciesName>sample string 3</SpeciesName>
<TagNo>sample string 2</TagNo>
<UpdateUser>sample string 8</UpdateUser>
<UploadPath>sample string 12</UploadPath>
<WeightDate>sample string 4</WeightDate>
<WeightGrowthFromDob>1</WeightGrowthFromDob>
<WeightGrowthFromLast>1</WeightGrowthFromLast>
<WeightId>1</WeightId>
<WeightKg>1</WeightKg>
<WeightList xmlns:d2p1="http://schemas.datacontract.org/2004/07/BanasAIHRdb">
<d2p1:BanasAIHR_AnimalWeightMasterRtr_Result>
<d2p1:CreateDate>sample string 6</d2p1:CreateDate>
<d2p1:CreateUser>sample string 5</d2p1:CreateUser>
<d2p1:Dob>2026-10-28T18:30:23.7342853+05:30</d2p1:Dob>
<d2p1:Girth>1</d2p1:Girth>
<d2p1:LastWeight>1</d2p1:LastWeight>
<d2p1:LastWeightDate>2026-10-28T18:30:23.7342853+05:30</d2p1:LastWeightDate>
<d2p1:Length>1</d2p1:Length>
<d2p1:TagNo>sample string 2</d2p1:TagNo>
<d2p1:UpdateDate>sample string 8</d2p1:UpdateDate>
<d2p1:UpdateUser>sample string 7</d2p1:UpdateUser>
<d2p1:WeightDate>sample string 3</d2p1:WeightDate>
<d2p1:WeightGrowthFromDob>1</d2p1:WeightGrowthFromDob>
<d2p1:WeightGrowthFromLast>1</d2p1:WeightGrowthFromLast>
<d2p1:WeightId>1</d2p1:WeightId>
<d2p1:WeightKg>4</d2p1:WeightKg>
</d2p1:BanasAIHR_AnimalWeightMasterRtr_Result>
<d2p1:BanasAIHR_AnimalWeightMasterRtr_Result>
<d2p1:CreateDate>sample string 6</d2p1:CreateDate>
<d2p1:CreateUser>sample string 5</d2p1:CreateUser>
<d2p1:Dob>2026-10-28T18:30:23.7342853+05:30</d2p1:Dob>
<d2p1:Girth>1</d2p1:Girth>
<d2p1:LastWeight>1</d2p1:LastWeight>
<d2p1:LastWeightDate>2026-10-28T18:30:23.7342853+05:30</d2p1:LastWeightDate>
<d2p1:Length>1</d2p1:Length>
<d2p1:TagNo>sample string 2</d2p1:TagNo>
<d2p1:UpdateDate>sample string 8</d2p1:UpdateDate>
<d2p1:UpdateUser>sample string 7</d2p1:UpdateUser>
<d2p1:WeightDate>sample string 3</d2p1:WeightDate>
<d2p1:WeightGrowthFromDob>1</d2p1:WeightGrowthFromDob>
<d2p1:WeightGrowthFromLast>1</d2p1:WeightGrowthFromLast>
<d2p1:WeightId>1</d2p1:WeightId>
<d2p1:WeightKg>4</d2p1:WeightKg>
</d2p1:BanasAIHR_AnimalWeightMasterRtr_Result>
</WeightList>
<birthWeight>1</birthWeight>
<dt i:nil="true" />
<fromdate>sample string 9</fromdate>
<todate>sample string 10</todate>
</AnimalWeightMasterViewModel>
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. |