POST api/Inventory/Adjustment
Request Information
URI Parameters
None.
Body Parameters
tbl_adjustments| Name | Description | Type | Additional information |
|---|---|---|---|
| adjustment_id | integer |
None. |
|
| product_id | integer |
None. |
|
| quantity | decimal number |
None. |
|
| inventory_date | date |
None. |
|
| status | integer |
None. |
|
| createdBy | integer |
None. |
|
| datecreated | date |
None. |
|
| lastUpdatedBy | integer |
None. |
|
| lastUpdated | date |
None. |
|
| actedBy | integer |
None. |
|
| dateActed | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"adjustment_id": 1,
"product_id": 1,
"quantity": 1.0,
"inventory_date": "2025-12-11T22:10:29.5274852+08:00",
"status": 1,
"createdBy": 1,
"datecreated": "2025-12-11T22:10:29.5274852+08:00",
"lastUpdatedBy": 1,
"lastUpdated": "2025-12-11T22:10:29.5274852+08:00",
"actedBy": 1,
"dateActed": "2025-12-11T22:10:29.5274852+08:00"
}
application/xml, text/xml
Sample:
<tbl_adjustments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/prjHardwareConstruction.Models"> <actedBy>1</actedBy> <adjustment_id>1</adjustment_id> <createdBy>1</createdBy> <dateActed>2025-12-11T22:10:29.5274852+08:00</dateActed> <datecreated>2025-12-11T22:10:29.5274852+08:00</datecreated> <inventory_date>2025-12-11T22:10:29.5274852+08:00</inventory_date> <lastUpdated>2025-12-11T22:10:29.5274852+08:00</lastUpdated> <lastUpdatedBy>1</lastUpdatedBy> <product_id>1</product_id> <quantity>1</quantity> <status>1</status> </tbl_adjustments>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |