POST api/SystemApi/AddExpiredItems

Request Information

URI Parameters

None.

Body Parameters

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:01:05.5119018-08:00",
  "EndDate": "2025-12-22T13:01:05.5119018-08:00",
  "MonthesExpired": 8,
  "MovedToStock": true
}

application/xml, text/xml

Sample:
<ExpiredItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlsamanodyPosApi.Models">
  <Barcode>sample string 4</Barcode>
  <EndDate>2025-12-22T13:01:05.5119018-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:01:05.5119018-08:00</RaduceDate>
  <Unit_Name>sample string 5</Unit_Name>
</ExpiredItems>

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.