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": "499bab2e-13c9-47b8-9f2d-27aff7e82490",
"Attr2": "98cdc108-9b38-4a87-a50b-0176c8d44161",
"Attr3": "f0ae1ccb-0bee-4ee5-94a0-9a5f0375bd36",
"MerchantId": "4a87d9f1-bcb4-460f-89f1-bf2056103687",
"WhId": "f29c0410-c22a-4cd5-971f-278c9a84bb39",
"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": "823c2b07-2337-49ca-8feb-84ad7366ab89",
"TransFromDesc": "sample string 2",
"TransTo": "1a2cc586-518b-44de-aa22-38bd173877b2",
"TransToDesc": "sample string 4",
"Sku": "54edfbba-c930-415f-9f0e-e76cd9fa84ff",
"CatalogId": "c2c3d741-e7a3-4652-a9d6-521fb7ae54d9",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "4d2c940e-8a0a-4b0f-a463-18c076460e67",
"Attr2": "9e9bcb93-4228-4fc7-8106-94b8e48a9563",
"Attr3": "7b2bd5e1-3848-4c23-b0a5-435d1051371a",
"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": "823c2b07-2337-49ca-8feb-84ad7366ab89",
"TransFromDesc": "sample string 2",
"TransTo": "1a2cc586-518b-44de-aa22-38bd173877b2",
"TransToDesc": "sample string 4",
"Sku": "54edfbba-c930-415f-9f0e-e76cd9fa84ff",
"CatalogId": "c2c3d741-e7a3-4652-a9d6-521fb7ae54d9",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "4d2c940e-8a0a-4b0f-a463-18c076460e67",
"Attr2": "9e9bcb93-4228-4fc7-8106-94b8e48a9563",
"Attr3": "7b2bd5e1-3848-4c23-b0a5-435d1051371a",
"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
}
]