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": "301d5cd9-1d4b-4589-90e7-e20ca6dd0656",
"Attr2": "9ac3281e-f27d-4569-9a78-6a60f042d54f",
"Attr3": "871f9ca8-09b3-4658-9215-ea6d578d7534",
"MerchantId": "4b369433-e777-401c-9936-3e9ed20a8445",
"WhId": "e48156df-66b8-415d-b27f-55be4b7ab393",
"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": "dc56ec64-77cc-42e0-bd60-d5f9b077573f",
"TransFromDesc": "sample string 2",
"TransTo": "0524282c-b142-48a5-8aad-98e9c46ba2eb",
"TransToDesc": "sample string 4",
"Sku": "d750886b-6c98-4b4c-9dc7-ae73b453e6e6",
"CatalogId": "895a6d86-582c-4281-b8c0-dd0c26db91db",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "f1a5a744-adc6-4c53-adf2-a3eada7a3cbb",
"Attr2": "944557ae-7f79-46de-9ad4-3866943be493",
"Attr3": "9e0011cd-dda2-4b4e-ac48-acde74e78629",
"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": "dc56ec64-77cc-42e0-bd60-d5f9b077573f",
"TransFromDesc": "sample string 2",
"TransTo": "0524282c-b142-48a5-8aad-98e9c46ba2eb",
"TransToDesc": "sample string 4",
"Sku": "d750886b-6c98-4b4c-9dc7-ae73b453e6e6",
"CatalogId": "895a6d86-582c-4281-b8c0-dd0c26db91db",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "f1a5a744-adc6-4c53-adf2-a3eada7a3cbb",
"Attr2": "944557ae-7f79-46de-9ad4-3866943be493",
"Attr3": "9e0011cd-dda2-4b4e-ac48-acde74e78629",
"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
}
]