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": "514c992f-8c90-4702-aead-57c0f85bd7b4",
"Attr2": "ee4dee3c-5067-43d8-80a7-067f4f5a2b7a",
"Attr3": "753f06d6-09ef-4bf5-a924-a1c4086201f0",
"MerchantId": "7c24f162-05f7-43fa-aa56-5b02ac191a55",
"WhId": "ade347f6-a48b-451a-bb3c-03cd2b14a732",
"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": "09e647b7-9638-4b56-8e84-515979c60a3d",
"TransFromDesc": "sample string 2",
"TransTo": "e8c97835-79fb-49b6-bd78-506c9695b14c",
"TransToDesc": "sample string 4",
"Sku": "a409ed36-f81e-4d1c-8f8b-b39a77dea050",
"CatalogId": "fc952d8c-e0d8-45bf-9822-2234acd1e86b",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "042da2b3-60e0-4051-abfb-b69b8583768e",
"Attr2": "f73d21f3-f838-41fa-bbca-e340dc1d42a5",
"Attr3": "c4f870e2-e9b3-4888-8795-ba9e55fa454b",
"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": "09e647b7-9638-4b56-8e84-515979c60a3d",
"TransFromDesc": "sample string 2",
"TransTo": "e8c97835-79fb-49b6-bd78-506c9695b14c",
"TransToDesc": "sample string 4",
"Sku": "a409ed36-f81e-4d1c-8f8b-b39a77dea050",
"CatalogId": "fc952d8c-e0d8-45bf-9822-2234acd1e86b",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "042da2b3-60e0-4051-abfb-b69b8583768e",
"Attr2": "f73d21f3-f838-41fa-bbca-e340dc1d42a5",
"Attr3": "c4f870e2-e9b3-4888-8795-ba9e55fa454b",
"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
}
]