PUT api/SystemApi/UpdateHistoryProduct?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
HistoryProduct_Sale_And_By| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Product_Id | integer |
None. |
|
| Unit_id | integer |
None. |
|
| InvoiceTypeType | string |
None. |
|
| DateTime | date |
None. |
|
| Count | integer |
None. |
|
| Price | decimal number |
None. |
|
| User | string |
None. |
|
| Qty | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Product_Id": 2,
"Unit_id": 3,
"InvoiceTypeType": "sample string 4",
"DateTime": "2025-12-22T13:06:20.8698654-08:00",
"Count": 6,
"Price": 7.1,
"User": "sample string 8",
"Qty": 9
}
application/xml, text/xml
Sample:
<HistoryProduct_Sale_And_By xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlsamanodyPosApi.Models"> <Count>6</Count> <DateTime>2025-12-22T13:06:20.8698654-08:00</DateTime> <Id>1</Id> <InvoiceTypeType>sample string 4</InvoiceTypeType> <Price>7.1</Price> <Product_Id>2</Product_Id> <Qty>9</Qty> <Unit_id>3</Unit_id> <User>sample string 8</User> </HistoryProduct_Sale_And_By>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.