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": "91db718f-dd28-4c64-a2dc-711f5046dd64",
"Attr2": "2f4e2b79-0158-451e-9104-8abff8772f0a",
"Attr3": "f9277893-3fd2-4338-a3c4-3701d7347bfc",
"MerchantId": "421bf7de-75e4-4287-8963-335051b95c7d",
"WhId": "4ad450ea-3f28-44b6-ab18-97639fbb60dd",
"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": "6713cec1-187d-4a98-97b4-304095dba43d",
"TransFromDesc": "sample string 2",
"TransTo": "30c7bb76-6b69-402b-b660-596ec694dd3c",
"TransToDesc": "sample string 4",
"Sku": "48e6f0a9-87b9-424b-b57b-c18409fed0e8",
"CatalogId": "647625b1-3f8e-4706-a6bb-4e5f4c2a8707",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "c7a568a7-c147-496c-a344-201a89740653",
"Attr2": "2a2935a2-32ec-49c1-8795-060570695254",
"Attr3": "21456313-b81e-4802-b5b4-3ed7a95776d8",
"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": "6713cec1-187d-4a98-97b4-304095dba43d",
"TransFromDesc": "sample string 2",
"TransTo": "30c7bb76-6b69-402b-b660-596ec694dd3c",
"TransToDesc": "sample string 4",
"Sku": "48e6f0a9-87b9-424b-b57b-c18409fed0e8",
"CatalogId": "647625b1-3f8e-4706-a6bb-4e5f4c2a8707",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "c7a568a7-c147-496c-a344-201a89740653",
"Attr2": "2a2935a2-32ec-49c1-8795-060570695254",
"Attr3": "21456313-b81e-4802-b5b4-3ed7a95776d8",
"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
}
]