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": "2e31d951-8db8-4cc7-ade7-91277f48fbba",
"Attr2": "774aad2f-e50b-4efb-b73c-a7012c2bc2a4",
"Attr3": "deb6e10d-ccd0-420f-9471-00f033970737",
"MerchantId": "d6505aba-b4a1-4978-a7d3-4b058f543055",
"WhId": "5bac39fe-7d98-47f2-9bf6-3daefa3e10a9",
"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": "45560c06-0550-474b-b6c5-f90dca5d9342",
"TransFromDesc": "sample string 2",
"TransTo": "0ced8e23-cefd-4da0-a5e1-1dc4c9841c18",
"TransToDesc": "sample string 4",
"Sku": "27e7ecb6-5822-415d-bb60-f8565e1c160e",
"CatalogId": "8f6f43ee-706c-4fba-b3ef-0502baeccd89",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "821ef81f-bbe3-42cb-87ad-4b2ee0fa0977",
"Attr2": "9f2c2a55-88ee-4fe7-bde4-dd1a3aa956af",
"Attr3": "7e982d40-4221-449d-91ed-3e620b745d2f",
"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": "45560c06-0550-474b-b6c5-f90dca5d9342",
"TransFromDesc": "sample string 2",
"TransTo": "0ced8e23-cefd-4da0-a5e1-1dc4c9841c18",
"TransToDesc": "sample string 4",
"Sku": "27e7ecb6-5822-415d-bb60-f8565e1c160e",
"CatalogId": "8f6f43ee-706c-4fba-b3ef-0502baeccd89",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "821ef81f-bbe3-42cb-87ad-4b2ee0fa0977",
"Attr2": "9f2c2a55-88ee-4fe7-bde4-dd1a3aa956af",
"Attr3": "7e982d40-4221-449d-91ed-3e620b745d2f",
"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
}
]