GET api/BatchInfoes?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

BatchInfoListView
NameDescriptionTypeAdditional information
Id

integer

None.

BatchName

string

None.

InitialAge

integer

None.

InitialBatchPhaseTypeId

integer

None.

CurrentBatchPhaseTypeId

integer

None.

TotalQuantity

integer

None.

BalancedQuantity

integer

None.

FarmHouseId

integer

None.

FarmId

integer

None.

OwnerId

integer

None.

StartDate

date

None.

EndDate

date

None.

ReadyForUse

boolean

None.

ActiveStatus

boolean

None.

CreatedAt

date

None.

UpdatedAt

date

None.

DeletedAt

date

None.

DeletedBy

integer

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

DeletedStatus

boolean

None.

LanguageCode

string

None.

CurrentAge

integer

None.

FarmName

string

None.

BirdTypeTitle

string

None.

InitialBatchPhaseTitle

string

None.

CurrentBatchPhaseTitle

string

None.

FarmHouseTitle

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BatchName": "sample string 2",
  "InitialAge": 3,
  "InitialBatchPhaseTypeId": 4,
  "CurrentBatchPhaseTypeId": 5,
  "TotalQuantity": 6,
  "BalancedQuantity": 7,
  "FarmHouseId": 8,
  "FarmId": 9,
  "OwnerId": 10,
  "StartDate": "2025-12-06T10:22:20.3433668+06:00",
  "EndDate": "2025-12-06T10:22:20.3433668+06:00",
  "ReadyForUse": true,
  "ActiveStatus": true,
  "CreatedAt": "2025-12-06T10:22:20.3433668+06:00",
  "UpdatedAt": "2025-12-06T10:22:20.3433668+06:00",
  "DeletedAt": "2025-12-06T10:22:20.3433668+06:00",
  "DeletedBy": 16,
  "CreatedBy": 17,
  "UpdatedBy": 18,
  "DeletedStatus": true,
  "LanguageCode": "sample string 20",
  "CurrentAge": 21,
  "FarmName": "sample string 22",
  "BirdTypeTitle": "sample string 23",
  "InitialBatchPhaseTitle": "sample string 24",
  "CurrentBatchPhaseTitle": "sample string 25",
  "FarmHouseTitle": "sample string 26"
}

application/xml, text/xml

Sample:
<BatchInfoListView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.ViewModels">
  <ActiveStatus>true</ActiveStatus>
  <BalancedQuantity>7</BalancedQuantity>
  <BatchName>sample string 2</BatchName>
  <BirdTypeTitle>sample string 23</BirdTypeTitle>
  <CreatedAt>2025-12-06T10:22:20.3433668+06:00</CreatedAt>
  <CreatedBy>17</CreatedBy>
  <CurrentAge>21</CurrentAge>
  <CurrentBatchPhaseTitle>sample string 25</CurrentBatchPhaseTitle>
  <CurrentBatchPhaseTypeId>5</CurrentBatchPhaseTypeId>
  <DeletedAt>2025-12-06T10:22:20.3433668+06:00</DeletedAt>
  <DeletedBy>16</DeletedBy>
  <DeletedStatus>true</DeletedStatus>
  <EndDate>2025-12-06T10:22:20.3433668+06:00</EndDate>
  <FarmHouseId>8</FarmHouseId>
  <FarmHouseTitle>sample string 26</FarmHouseTitle>
  <FarmId>9</FarmId>
  <FarmName>sample string 22</FarmName>
  <Id>1</Id>
  <InitialAge>3</InitialAge>
  <InitialBatchPhaseTitle>sample string 24</InitialBatchPhaseTitle>
  <InitialBatchPhaseTypeId>4</InitialBatchPhaseTypeId>
  <LanguageCode>sample string 20</LanguageCode>
  <OwnerId>10</OwnerId>
  <ReadyForUse>true</ReadyForUse>
  <StartDate>2025-12-06T10:22:20.3433668+06:00</StartDate>
  <TotalQuantity>6</TotalQuantity>
  <UpdatedAt>2025-12-06T10:22:20.3433668+06:00</UpdatedAt>
  <UpdatedBy>18</UpdatedBy>
</BatchInfoListView>