GET api/SystemApi/GetAllExpiredItems?date={date}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| date | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ExpiredItems| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Product_Id | integer |
None. |
|
| Name | string |
None. |
|
| Barcode | string |
None. |
|
| Unit_Name | string |
None. |
|
| RaduceDate | date |
None. |
|
| EndDate | date |
None. |
|
| MonthesExpired | integer |
None. |
|
| MovedToStock | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Product_Id": 2,
"Name": "sample string 3",
"Barcode": "sample string 4",
"Unit_Name": "sample string 5",
"RaduceDate": "2025-12-22T13:07:04.4700259-08:00",
"EndDate": "2025-12-22T13:07:04.4700259-08:00",
"MonthesExpired": 8,
"MovedToStock": true
},
{
"Id": 1,
"Product_Id": 2,
"Name": "sample string 3",
"Barcode": "sample string 4",
"Unit_Name": "sample string 5",
"RaduceDate": "2025-12-22T13:07:04.4700259-08:00",
"EndDate": "2025-12-22T13:07:04.4700259-08:00",
"MonthesExpired": 8,
"MovedToStock": true
}
]
application/xml, text/xml
Sample:
<ArrayOfExpiredItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlsamanodyPosApi.Models">
<ExpiredItems>
<Barcode>sample string 4</Barcode>
<EndDate>2025-12-22T13:07:04.4700259-08:00</EndDate>
<Id>1</Id>
<MonthesExpired>8</MonthesExpired>
<MovedToStock>true</MovedToStock>
<Name>sample string 3</Name>
<Product_Id>2</Product_Id>
<RaduceDate>2025-12-22T13:07:04.4700259-08:00</RaduceDate>
<Unit_Name>sample string 5</Unit_Name>
</ExpiredItems>
<ExpiredItems>
<Barcode>sample string 4</Barcode>
<EndDate>2025-12-22T13:07:04.4700259-08:00</EndDate>
<Id>1</Id>
<MonthesExpired>8</MonthesExpired>
<MovedToStock>true</MovedToStock>
<Name>sample string 3</Name>
<Product_Id>2</Product_Id>
<RaduceDate>2025-12-22T13:07:04.4700259-08:00</RaduceDate>
<Unit_Name>sample string 5</Unit_Name>
</ExpiredItems>
</ArrayOfExpiredItems>