POST api/Inventory/InventoryAdjustmentPurchaseReturn
Request Information
URI Parameters
None.
Body Parameters
DataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseSensitive | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| RemotingFormat | SerializationFormat |
None. |
|
| ChildRelations | Collection of Object |
None. |
|
| Columns | Collection of Object |
None. |
|
| Constraints | Collection of Object |
None. |
|
| DataSet | DataSet |
None. |
|
| DefaultView | Collection of Object |
None. |
|
| DisplayExpression | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| MinimumCapacity | integer |
None. |
|
| ParentRelations | Collection of Object |
None. |
|
| PrimaryKey | Collection of DataColumn |
None. |
|
| Rows | Collection of Object |
None. |
|
| TableName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| Site | ISite |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Request Formats
application/json, text/json, text/xml, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of InventoryAdjListMasterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| InvAdjDate | string |
None. |
|
| ShopId | string |
None. |
|
| ShopCode | string |
None. |
|
| Supplier | string |
None. |
|
| data | Collection of InventoryAdjListDetailModel |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "sample string 1",
"InvAdjDate": "sample string 2",
"ShopId": "sample string 3",
"ShopCode": "sample string 4",
"Supplier": "sample string 5",
"data": [
{
"ProductCode": "sample string 1",
"Qty": 2.1,
"Price": 3.1
},
{
"ProductCode": "sample string 1",
"Qty": 2.1,
"Price": 3.1
}
]
},
{
"Id": "sample string 1",
"InvAdjDate": "sample string 2",
"ShopId": "sample string 3",
"ShopCode": "sample string 4",
"Supplier": "sample string 5",
"data": [
{
"ProductCode": "sample string 1",
"Qty": 2.1,
"Price": 3.1
},
{
"ProductCode": "sample string 1",
"Qty": 2.1,
"Price": 3.1
}
]
}
]
text/xml
Sample:
<ArrayOfInventoryAdjListMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models">
<InventoryAdjListMasterModel>
<Id>sample string 1</Id>
<InvAdjDate>sample string 2</InvAdjDate>
<ShopCode>sample string 4</ShopCode>
<ShopId>sample string 3</ShopId>
<Supplier>sample string 5</Supplier>
<data>
<InventoryAdjListDetailModel>
<Price>3.1</Price>
<ProductCode>sample string 1</ProductCode>
<Qty>2.1</Qty>
</InventoryAdjListDetailModel>
<InventoryAdjListDetailModel>
<Price>3.1</Price>
<ProductCode>sample string 1</ProductCode>
<Qty>2.1</Qty>
</InventoryAdjListDetailModel>
</data>
</InventoryAdjListMasterModel>
<InventoryAdjListMasterModel>
<Id>sample string 1</Id>
<InvAdjDate>sample string 2</InvAdjDate>
<ShopCode>sample string 4</ShopCode>
<ShopId>sample string 3</ShopId>
<Supplier>sample string 5</Supplier>
<data>
<InventoryAdjListDetailModel>
<Price>3.1</Price>
<ProductCode>sample string 1</ProductCode>
<Qty>2.1</Qty>
</InventoryAdjListDetailModel>
<InventoryAdjListDetailModel>
<Price>3.1</Price>
<ProductCode>sample string 1</ProductCode>
<Qty>2.1</Qty>
</InventoryAdjListDetailModel>
</data>
</InventoryAdjListMasterModel>
</ArrayOfInventoryAdjListMasterModel>