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": "8f69d05c-5eff-4e6a-a91a-becdc1c394c2",
"Attr2": "5ac2bb23-6f86-4a9c-97be-cd77e14088d7",
"Attr3": "d45ca3b5-178b-4d3c-9f2c-846f2980f2d0",
"MerchantId": "182373b4-48cc-44d7-9c56-e458405a8a02",
"WhId": "a4806dd5-f64b-4a3a-bc58-87b2359a41dd",
"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": "e6ec51e3-2967-4242-89bc-f2cc9a3714c0",
"TransFromDesc": "sample string 2",
"TransTo": "7ae6702a-56f5-4842-a0bd-1613d17dbea0",
"TransToDesc": "sample string 4",
"Sku": "f1526ec3-582b-4a0c-90d0-dd231c36d070",
"CatalogId": "98862b1c-8340-4c14-88b5-a84b5f9c970d",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "7c16c967-54b9-4e11-9158-3d31d713963b",
"Attr2": "717e73ca-680f-4fef-914e-af736d7f4224",
"Attr3": "0e57354c-952b-4cf3-b702-ee95ef47e2ef",
"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": "e6ec51e3-2967-4242-89bc-f2cc9a3714c0",
"TransFromDesc": "sample string 2",
"TransTo": "7ae6702a-56f5-4842-a0bd-1613d17dbea0",
"TransToDesc": "sample string 4",
"Sku": "f1526ec3-582b-4a0c-90d0-dd231c36d070",
"CatalogId": "98862b1c-8340-4c14-88b5-a84b5f9c970d",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "7c16c967-54b9-4e11-9158-3d31d713963b",
"Attr2": "717e73ca-680f-4fef-914e-af736d7f4224",
"Attr3": "0e57354c-952b-4cf3-b702-ee95ef47e2ef",
"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
}
]