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": "2d4d0190-2fb3-4700-ab17-d52e19926002",
"Attr2": "8247056e-985b-4520-bc4a-dc838aed9a8b",
"Attr3": "5060f253-d108-45b4-96ca-31614a59e4ff",
"MerchantId": "889b1b44-4adb-47f7-a704-4ffdbbc63ae4",
"WhId": "7a64306e-f89e-48f7-9848-dc863362c088",
"ExistsCodes": [
"sample string 1",
"sample string 2"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "2957448e-5da7-498b-a5eb-067d25421baa",
"TransFromDesc": "sample string 2",
"TransTo": "21dd8846-3182-4fc1-a333-149c8c55b529",
"TransToDesc": "sample string 4",
"Sku": "cde3cf4c-a85d-41b5-b1c8-e6aaca4f7ace",
"CatalogId": "db8c5040-526a-4ab9-8ec5-8239168c5d5c",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "3400a6fd-11d0-447a-8a45-485b123f257b",
"Attr2": "5ed11c75-1f41-4104-b156-8984f26c773a",
"Attr3": "36ffab68-66e4-40be-a876-cd174ae1419f",
"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": "2957448e-5da7-498b-a5eb-067d25421baa",
"TransFromDesc": "sample string 2",
"TransTo": "21dd8846-3182-4fc1-a333-149c8c55b529",
"TransToDesc": "sample string 4",
"Sku": "cde3cf4c-a85d-41b5-b1c8-e6aaca4f7ace",
"CatalogId": "db8c5040-526a-4ab9-8ec5-8239168c5d5c",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "3400a6fd-11d0-447a-8a45-485b123f257b",
"Attr2": "5ed11c75-1f41-4104-b156-8984f26c773a",
"Attr3": "36ffab68-66e4-40be-a876-cd174ae1419f",
"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
}
]