POST api/Adjustment/SetAdjustment
Request Information
URI Parameters
None.
Body Parameters
Adjustment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Remarks | string |
None. |
|
| Details | Collection of Adjustment_Details |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Remarks": "sample string 1",
"Details": [
{
"Id": 1,
"AdjustmentId": 1,
"ProductId": 2,
"Qty": 3.1
},
{
"Id": 1,
"AdjustmentId": 1,
"ProductId": 2,
"Qty": 3.1
}
]
}
application/xml, text/xml
Sample:
<Adjustment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<Details>
<Adjustment_Details>
<AdjustmentId>1</AdjustmentId>
<Id>1</Id>
<ProductId>2</ProductId>
<Qty>3.1</Qty>
</Adjustment_Details>
<Adjustment_Details>
<AdjustmentId>1</AdjustmentId>
<Id>1</Id>
<ProductId>2</ProductId>
<Qty>3.1</Qty>
</Adjustment_Details>
</Details>
<Id>1</Id>
<Remarks>sample string 1</Remarks>
</Adjustment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>