POST Api/Inventory/GetPurchaseItmLst
Request Information
URI Parameters
None.
Body Parameters
InvTransPageInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Condition | InvTransSrchCond |
None. |
Request Formats
application/json, text/json
Sample:
{
"Condition": {
"BatchNum": "sample string 1",
"ProdCodeList": [
"sample string 1",
"sample string 2"
],
"Attr1": "7b6a6d3a-3231-4bc0-bc39-4d480f75c57a",
"Attr2": "e5b8fad4-919f-4888-83b7-c0231f06c2af",
"Attr3": "6dcee8f2-3db2-4bff-a38d-942949b77c35",
"MerchantId": "63e74c34-8abf-4482-bd93-eeebb9290d4a",
"WhId": "afd3b55f-6177-47e8-8122-eebb8f518a0a",
"ExistsCodes": [
"sample string 1",
"sample string 2"
]
}
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of InvTransItemView| Name | Description | Type | Additional information |
|---|---|---|---|
| TransFrom | globally unique identifier |
None. |
|
| TransFromDesc | string |
None. |
|
| TransTo | globally unique identifier |
None. |
|
| TransToDesc | string |
None. |
|
| Sku | globally unique identifier |
None. |
|
| CatalogId | globally unique identifier |
None. |
|
| ProdCode | string |
None. |
|
| ProdName | string |
None. |
|
| Attr1 | globally unique identifier |
None. |
|
| Attr2 | globally unique identifier |
None. |
|
| Attr3 | globally unique identifier |
None. |
|
| Attr1Desc | string |
None. |
|
| Attr2Desc | string |
None. |
|
| Attr3Desc | string |
None. |
|
| TransQty | integer |
None. |
|
| ReturnQty | integer |
None. |
|
| UnitPrice | decimal number |
None. |
|
| IsChecked | boolean |
None. |
|
| SalesQty | decimal number |
None. |
|
| CanReturnQty | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TransFrom": "b1d63056-d61c-4271-a5b8-03f539052208",
"TransFromDesc": "sample string 2",
"TransTo": "ce19b724-04c4-47d4-9dfe-51ceddc9c15a",
"TransToDesc": "sample string 4",
"Sku": "773a8474-5f1a-4ba8-ae00-6b7e9648e227",
"CatalogId": "0e3cdae6-accf-400f-ba1d-125a165345a6",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "9243ef83-3480-44be-9ef6-17227510585a",
"Attr2": "5a03942e-168a-4df8-be05-1a6d6d837d00",
"Attr3": "38943576-d40e-4540-b27b-f92d22586a23",
"Attr1Desc": "sample string 12",
"Attr2Desc": "sample string 13",
"Attr3Desc": "sample string 14",
"TransQty": 15,
"ReturnQty": 16,
"UnitPrice": 17.0,
"IsChecked": true,
"SalesQty": 19.0,
"CanReturnQty": 20.0
},
{
"TransFrom": "b1d63056-d61c-4271-a5b8-03f539052208",
"TransFromDesc": "sample string 2",
"TransTo": "ce19b724-04c4-47d4-9dfe-51ceddc9c15a",
"TransToDesc": "sample string 4",
"Sku": "773a8474-5f1a-4ba8-ae00-6b7e9648e227",
"CatalogId": "0e3cdae6-accf-400f-ba1d-125a165345a6",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "9243ef83-3480-44be-9ef6-17227510585a",
"Attr2": "5a03942e-168a-4df8-be05-1a6d6d837d00",
"Attr3": "38943576-d40e-4540-b27b-f92d22586a23",
"Attr1Desc": "sample string 12",
"Attr2Desc": "sample string 13",
"Attr3Desc": "sample string 14",
"TransQty": 15,
"ReturnQty": 16,
"UnitPrice": 17.0,
"IsChecked": true,
"SalesQty": 19.0,
"CanReturnQty": 20.0
}
]