POST AdminApi/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": "866264cb-973a-4ad2-b23e-2109ebd5e374",
"Attr2": "03fef8fa-dc1d-4424-b706-5106c5a0bb9a",
"Attr3": "6328ca62-c135-4b11-b671-ab548a82a681",
"MerchantId": "3fc4e087-5da9-486a-8578-3cc78416b0e8",
"WhId": "8af769cb-b825-4c0e-80e6-5fe7e6a6d1b3",
"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": "27c56528-d702-4a70-a934-ad2dad2efbd9",
"TransFromDesc": "sample string 2",
"TransTo": "05b42e60-aa8b-4a8d-979d-af0c5e8c619b",
"TransToDesc": "sample string 4",
"Sku": "25590e38-a381-43ba-919c-ede4cce4236b",
"CatalogId": "ef4dbed0-7e0c-4ee5-a6ee-178eab95eaad",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "4382580b-e20f-4b1b-aca5-71552eea7df8",
"Attr2": "bd31c5b2-12b8-4b26-b38a-c0ba6c2f93d5",
"Attr3": "6ac8ef49-75b0-47f1-8918-09190d4e3a39",
"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": "27c56528-d702-4a70-a934-ad2dad2efbd9",
"TransFromDesc": "sample string 2",
"TransTo": "05b42e60-aa8b-4a8d-979d-af0c5e8c619b",
"TransToDesc": "sample string 4",
"Sku": "25590e38-a381-43ba-919c-ede4cce4236b",
"CatalogId": "ef4dbed0-7e0c-4ee5-a6ee-178eab95eaad",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "4382580b-e20f-4b1b-aca5-71552eea7df8",
"Attr2": "bd31c5b2-12b8-4b26-b38a-c0ba6c2f93d5",
"Attr3": "6ac8ef49-75b0-47f1-8918-09190d4e3a39",
"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
}
]