GET api/LiveIOTDataTHs/All?Id={Id}&timeZone={timeZone}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| timeZone | string |
Default value is GMT+06:00 |
Body Parameters
None.
Response Information
Resource Description
Collection of ViewLiveIotThDataOfBatch| Name | Description | Type | Additional information |
|---|---|---|---|
| BatchInfoId | integer |
None. |
|
| BatchType | string |
None. |
|
| BatchName | string |
None. |
|
| InitialAge | integer |
None. |
|
| FarmHouseId | integer |
None. |
|
| FarmId | integer |
None. |
|
| CurrentBatchPhaseTypeId | integer |
None. |
|
| OwnerId | integer |
None. |
|
| StartDate | date |
None. |
|
| ActiveStatus | boolean |
None. |
|
| IotTHDeviceId | integer |
None. |
|
| Temperature | decimal number |
None. |
|
| Humidity | decimal number |
None. |
|
| CreatedAt | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BatchInfoId": 1,
"BatchType": "sample string 2",
"BatchName": "sample string 3",
"InitialAge": 4,
"FarmHouseId": 5,
"FarmId": 6,
"CurrentBatchPhaseTypeId": 7,
"OwnerId": 8,
"StartDate": "2025-12-06T10:22:23.0357916+06:00",
"ActiveStatus": true,
"IotTHDeviceId": 1,
"Temperature": 1.0,
"Humidity": 1.0,
"CreatedAt": "2025-12-06T10:22:23.0357916+06:00"
},
{
"BatchInfoId": 1,
"BatchType": "sample string 2",
"BatchName": "sample string 3",
"InitialAge": 4,
"FarmHouseId": 5,
"FarmId": 6,
"CurrentBatchPhaseTypeId": 7,
"OwnerId": 8,
"StartDate": "2025-12-06T10:22:23.0357916+06:00",
"ActiveStatus": true,
"IotTHDeviceId": 1,
"Temperature": 1.0,
"Humidity": 1.0,
"CreatedAt": "2025-12-06T10:22:23.0357916+06:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfViewLiveIotThDataOfBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.Models">
<ViewLiveIotThDataOfBatch>
<ActiveStatus>true</ActiveStatus>
<BatchInfoId>1</BatchInfoId>
<BatchName>sample string 3</BatchName>
<BatchType>sample string 2</BatchType>
<CreatedAt>2025-12-06T10:22:23.0357916+06:00</CreatedAt>
<CurrentBatchPhaseTypeId>7</CurrentBatchPhaseTypeId>
<FarmHouseId>5</FarmHouseId>
<FarmId>6</FarmId>
<Humidity>1</Humidity>
<InitialAge>4</InitialAge>
<IotTHDeviceId>1</IotTHDeviceId>
<OwnerId>8</OwnerId>
<StartDate>2025-12-06T10:22:23.0357916+06:00</StartDate>
<Temperature>1</Temperature>
</ViewLiveIotThDataOfBatch>
<ViewLiveIotThDataOfBatch>
<ActiveStatus>true</ActiveStatus>
<BatchInfoId>1</BatchInfoId>
<BatchName>sample string 3</BatchName>
<BatchType>sample string 2</BatchType>
<CreatedAt>2025-12-06T10:22:23.0357916+06:00</CreatedAt>
<CurrentBatchPhaseTypeId>7</CurrentBatchPhaseTypeId>
<FarmHouseId>5</FarmHouseId>
<FarmId>6</FarmId>
<Humidity>1</Humidity>
<InitialAge>4</InitialAge>
<IotTHDeviceId>1</IotTHDeviceId>
<OwnerId>8</OwnerId>
<StartDate>2025-12-06T10:22:23.0357916+06:00</StartDate>
<Temperature>1</Temperature>
</ViewLiveIotThDataOfBatch>
</ArrayOfViewLiveIotThDataOfBatch>