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": "c7bc1a3e-793a-442a-b27e-e55983993adc",
"Attr2": "e85719c3-eb65-42f4-82d8-6ce32dce2225",
"Attr3": "299546b5-b384-49a7-a468-317f9147c55d",
"MerchantId": "854b5c91-4e1c-4fc4-b53e-cba592d71b87",
"WhId": "8169d906-09c5-464c-8ace-1c1c11f81c8e",
"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": "571d853c-d372-4944-b76b-bce69f1e7c98",
"TransFromDesc": "sample string 2",
"TransTo": "3dcce112-0d62-4188-bbec-e50f1d110e5c",
"TransToDesc": "sample string 4",
"Sku": "06f26c6f-5de8-4774-88ed-9d390892b6a8",
"CatalogId": "4dc0b0c2-375a-4319-94c3-fc729fa6fe90",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "ee0c3364-1b45-46de-b438-44f7adb22ab9",
"Attr2": "355547c1-3aaa-4785-a8c0-c1c7fb674569",
"Attr3": "50ce6c00-4668-4c13-a824-ff6ab5067c48",
"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": "571d853c-d372-4944-b76b-bce69f1e7c98",
"TransFromDesc": "sample string 2",
"TransTo": "3dcce112-0d62-4188-bbec-e50f1d110e5c",
"TransToDesc": "sample string 4",
"Sku": "06f26c6f-5de8-4774-88ed-9d390892b6a8",
"CatalogId": "4dc0b0c2-375a-4319-94c3-fc729fa6fe90",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "ee0c3364-1b45-46de-b438-44f7adb22ab9",
"Attr2": "355547c1-3aaa-4785-a8c0-c1c7fb674569",
"Attr3": "50ce6c00-4668-4c13-a824-ff6ab5067c48",
"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
}
]