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": "e0c6aee2-65c8-4093-b820-2d1ef0eb8566",
"Attr2": "72216ee3-2f53-48de-b2c4-2b6cc3b8b3dc",
"Attr3": "755a8f81-5655-405a-9ac4-3de0146556bb",
"MerchantId": "ebbb761a-b7f9-4811-a418-f77d32c84b3f",
"WhId": "b3db3c11-3e5f-4c5e-9307-1690c0f7e36a",
"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": "8b8afe22-47b0-4403-9231-98cf9b1c60b2",
"TransFromDesc": "sample string 2",
"TransTo": "bab96830-97f3-4570-a346-4aaf86d0b3e7",
"TransToDesc": "sample string 4",
"Sku": "3cafa811-2d12-4fd1-b9be-c22dad7cae48",
"CatalogId": "c3b7535e-3156-452a-a300-78ebfec3d8a2",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "4a346e30-2af9-4925-97be-68738164c11d",
"Attr2": "bbdad94e-702d-4844-8d45-bb2b71ea4659",
"Attr3": "43f4d3e8-cb7e-4979-9316-668e29438408",
"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": "8b8afe22-47b0-4403-9231-98cf9b1c60b2",
"TransFromDesc": "sample string 2",
"TransTo": "bab96830-97f3-4570-a346-4aaf86d0b3e7",
"TransToDesc": "sample string 4",
"Sku": "3cafa811-2d12-4fd1-b9be-c22dad7cae48",
"CatalogId": "c3b7535e-3156-452a-a300-78ebfec3d8a2",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "4a346e30-2af9-4925-97be-68738164c11d",
"Attr2": "bbdad94e-702d-4844-8d45-bb2b71ea4659",
"Attr3": "43f4d3e8-cb7e-4979-9316-668e29438408",
"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
}
]