GET api/ProductStorageHistories?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductStorageHistoryListView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductId | integer |
None. |
|
| BatchInfoId | integer |
None. |
|
| BuyHistoryId | integer |
None. |
|
| DateAt | date |
None. |
|
| TotalQuantity | decimal number |
None. |
|
| BalanceQuantity | decimal number |
None. |
|
| FarmId | integer |
None. |
|
| OwnerId | integer |
None. |
|
| CreatedAt | date |
None. |
|
| UpdatedAt | date |
None. |
|
| DeletedAt | date |
None. |
|
| DeletedBy | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedBy | integer |
None. |
|
| DeletedStatus | boolean |
None. |
|
| ProductTitle | string |
None. |
|
| BatchInfoName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductId": 2,
"BatchInfoId": 3,
"BuyHistoryId": 4,
"DateAt": "2025-12-06T10:22:23.677031+06:00",
"TotalQuantity": 6.0,
"BalanceQuantity": 7.0,
"FarmId": 8,
"OwnerId": 9,
"CreatedAt": "2025-12-06T10:22:23.677031+06:00",
"UpdatedAt": "2025-12-06T10:22:23.677031+06:00",
"DeletedAt": "2025-12-06T10:22:23.677031+06:00",
"DeletedBy": 12,
"CreatedBy": 13,
"UpdatedBy": 14,
"DeletedStatus": true,
"ProductTitle": "sample string 16",
"BatchInfoName": "sample string 17"
}
application/xml, text/xml
Sample:
<ProductStorageHistoryListView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.ViewModels"> <BalanceQuantity>7</BalanceQuantity> <BatchInfoId>3</BatchInfoId> <BatchInfoName>sample string 17</BatchInfoName> <BuyHistoryId>4</BuyHistoryId> <CreatedAt>2025-12-06T10:22:23.677031+06:00</CreatedAt> <CreatedBy>13</CreatedBy> <DateAt>2025-12-06T10:22:23.677031+06:00</DateAt> <DeletedAt>2025-12-06T10:22:23.677031+06:00</DeletedAt> <DeletedBy>12</DeletedBy> <DeletedStatus>true</DeletedStatus> <FarmId>8</FarmId> <Id>1</Id> <OwnerId>9</OwnerId> <ProductId>2</ProductId> <ProductTitle>sample string 16</ProductTitle> <TotalQuantity>6</TotalQuantity> <UpdatedAt>2025-12-06T10:22:23.677031+06:00</UpdatedAt> <UpdatedBy>14</UpdatedBy> </ProductStorageHistoryListView>