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": "1a2880ae-ce78-43f5-99d5-db8aae3d67e4",
"Attr2": "1fb4d19b-b695-457f-b32d-c8861589a2f2",
"Attr3": "06529ef3-b0c9-48c8-933e-48d535874754",
"MerchantId": "b590f154-99f7-4fba-8cee-620bb898d835",
"WhId": "e2020d6a-90c2-475a-8d10-1929e5481382",
"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": "41974fbb-5c48-453c-867e-dba34ee34b69",
"TransFromDesc": "sample string 2",
"TransTo": "5cd79c38-2eab-4e51-9321-cb75adc2b38e",
"TransToDesc": "sample string 4",
"Sku": "9e6c2b81-f891-47d0-99cd-bdea6ee6b964",
"CatalogId": "a2cc9f09-2a3a-431d-8e1c-c448ee287875",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "903ec9e3-32e1-43a0-8f63-9e350e3356a4",
"Attr2": "bc54794b-0952-487c-b108-4f34ba9fb6fc",
"Attr3": "d2039306-54d1-47d6-92c3-35ddbdcb0316",
"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": "41974fbb-5c48-453c-867e-dba34ee34b69",
"TransFromDesc": "sample string 2",
"TransTo": "5cd79c38-2eab-4e51-9321-cb75adc2b38e",
"TransToDesc": "sample string 4",
"Sku": "9e6c2b81-f891-47d0-99cd-bdea6ee6b964",
"CatalogId": "a2cc9f09-2a3a-431d-8e1c-c448ee287875",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "903ec9e3-32e1-43a0-8f63-9e350e3356a4",
"Attr2": "bc54794b-0952-487c-b108-4f34ba9fb6fc",
"Attr3": "d2039306-54d1-47d6-92c3-35ddbdcb0316",
"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
}
]