POST AdminApi/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": "05b16ba4-3bb2-4fb3-84eb-6f9a19055cf7",
"Attr2": "4af45f12-cc26-4136-9bb8-498cc9599655",
"Attr3": "e35612bd-9586-490b-8c1c-05f40bdd295b",
"MerchantId": "8d8e06d8-2be1-4b09-abe2-c4450d4bd643",
"WhId": "0cc1d535-1d3c-446e-a98c-9b4902a9852d",
"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": "c49968a4-f966-4db7-ba79-24e4c2e3110b",
"TransFromDesc": "sample string 2",
"TransTo": "c77ce201-c89d-44dc-8ef5-d1233b2d9367",
"TransToDesc": "sample string 4",
"Sku": "40e322b8-b6d4-4a5d-a685-e59c7ae964d8",
"CatalogId": "f03117cf-88db-4e94-80e1-a2d246fb96be",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "c59868eb-2009-4922-8203-3a004637cc94",
"Attr2": "54397563-56b3-421b-9f4d-a45ff37c9fe9",
"Attr3": "1d32cc5b-bc4e-433c-adb7-b7591df3bee8",
"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": "c49968a4-f966-4db7-ba79-24e4c2e3110b",
"TransFromDesc": "sample string 2",
"TransTo": "c77ce201-c89d-44dc-8ef5-d1233b2d9367",
"TransToDesc": "sample string 4",
"Sku": "40e322b8-b6d4-4a5d-a685-e59c7ae964d8",
"CatalogId": "f03117cf-88db-4e94-80e1-a2d246fb96be",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "c59868eb-2009-4922-8203-3a004637cc94",
"Attr2": "54397563-56b3-421b-9f4d-a45ff37c9fe9",
"Attr3": "1d32cc5b-bc4e-433c-adb7-b7591df3bee8",
"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
}
]