POST api/Product/AddUpdateProductIncomingQuantity
Request Information
URI Parameters
None.
Body Parameters
ProductIncomingQuantityModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ProductID | integer |
None. |
|
Quantity | integer |
None. |
|
UpdatedAt | date |
None. |
|
UpdatedByID | integer |
None. |
|
IsReceived | boolean |
None. |
|
ReceivedQuantity | integer |
None. |
|
SupplierID | integer |
None. |
|
Barcode | string |
None. |
|
BLabel | string |
None. |
|
ArticalNo | string |
None. |
|
Image | string |
None. |
|
UpdatedBy | string |
None. |
|
Product | string |
None. |
|
Supplier | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "ProductID": 2, "Quantity": 1, "UpdatedAt": "2025-01-22T20:44:08.3660993-06:00", "UpdatedByID": 1, "IsReceived": true, "ReceivedQuantity": 1, "SupplierID": 1, "Barcode": "sample string 3", "BLabel": "sample string 4", "ArticalNo": "sample string 5", "Image": "sample string 6", "UpdatedBy": "sample string 7", "Product": "sample string 8", "Supplier": "sample string 9" }
application/xml, text/xml
Sample:
<ProductIncomingQuantityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <ArticalNo>sample string 5</ArticalNo> <BLabel>sample string 4</BLabel> <Barcode>sample string 3</Barcode> <ID>1</ID> <Image>sample string 6</Image> <IsReceived>true</IsReceived> <Product>sample string 8</Product> <ProductID>2</ProductID> <Quantity>1</Quantity> <ReceivedQuantity>1</ReceivedQuantity> <Supplier>sample string 9</Supplier> <SupplierID>1</SupplierID> <UpdatedAt>2025-01-22T20:44:08.3660993-06:00</UpdatedAt> <UpdatedBy>sample string 7</UpdatedBy> <UpdatedByID>1</UpdatedByID> </ProductIncomingQuantityModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDetailName | Description | Type | Additional information |
---|---|---|---|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseCode": 1, "ResponseText": "sample string 2" }
application/xml, text/xml
Sample:
<ResponseDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <ResponseCode>1</ResponseCode> <ResponseText>sample string 2</ResponseText> </ResponseDetail>