POST api/SystemApi/AddExpiredItemList

Request Information

URI Parameters

None.

Body Parameters

Collection of ExpiredItems
NameDescriptionTypeAdditional 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.

Request 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:02:12.4742156-08:00",
    "EndDate": "2025-12-22T13:02:12.4742156-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:02:12.4742156-08:00",
    "EndDate": "2025-12-22T13:02:12.4742156-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:02:12.4742156-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:02:12.4742156-08:00</RaduceDate>
    <Unit_Name>sample string 5</Unit_Name>
  </ExpiredItems>
  <ExpiredItems>
    <Barcode>sample string 4</Barcode>
    <EndDate>2025-12-22T13:02:12.4742156-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:02:12.4742156-08:00</RaduceDate>
    <Unit_Name>sample string 5</Unit_Name>
  </ExpiredItems>
</ArrayOfExpiredItems>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.