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": "002676c6-f434-4765-bf6a-e3cd16ff63c0",
"Attr2": "8a6c32ed-8577-44e7-9233-933a03d31ca5",
"Attr3": "a36b8867-d70c-4d33-938a-2ab6b0eb8ec6",
"MerchantId": "2b9aef2a-53e9-428a-88c5-14a2e31af5fd",
"WhId": "bab07e80-1440-49ed-890c-aa276761ce6d",
"ExistsCodes": [
"sample string 1",
"sample string 2"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "84ff2d16-6e2b-4970-91b4-7f21f81dfa1e",
"TransFromDesc": "sample string 2",
"TransTo": "d2f2d2c0-9ab4-4295-bfac-f987930c4d4a",
"TransToDesc": "sample string 4",
"Sku": "86041671-e065-4b0d-9a87-e8122962397a",
"CatalogId": "919c26a6-febe-40ba-9943-5c97332e3860",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "2895e524-6e6d-41f7-a426-c79b1ae7aa63",
"Attr2": "01435ede-fcde-41ac-af73-4535cd7f249e",
"Attr3": "55c1facf-48e8-48aa-b922-d88a5b8d8c65",
"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": "84ff2d16-6e2b-4970-91b4-7f21f81dfa1e",
"TransFromDesc": "sample string 2",
"TransTo": "d2f2d2c0-9ab4-4295-bfac-f987930c4d4a",
"TransToDesc": "sample string 4",
"Sku": "86041671-e065-4b0d-9a87-e8122962397a",
"CatalogId": "919c26a6-febe-40ba-9943-5c97332e3860",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "2895e524-6e6d-41f7-a426-c79b1ae7aa63",
"Attr2": "01435ede-fcde-41ac-af73-4535cd7f249e",
"Attr3": "55c1facf-48e8-48aa-b922-d88a5b8d8c65",
"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
}
]