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": "8f13104a-e1e8-4e96-808d-3871bc128b80",
"Attr2": "c509da60-985b-4bf4-a6e7-45fd6bd41b90",
"Attr3": "a8fd0444-27d0-4789-949b-5baf44f3af68",
"MerchantId": "4ea118a6-5309-47c6-9e34-ec5be4eb3ba5",
"WhId": "f06a7f39-8b55-41de-b83e-cc82d8cabdbf",
"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": "c25ee506-f5f0-4d26-a959-f25ea7faa4ae",
"TransFromDesc": "sample string 2",
"TransTo": "6bdbacc7-a9d8-4da9-92e8-39dc9da66413",
"TransToDesc": "sample string 4",
"Sku": "e667cfc3-7195-45a0-a698-cbe0ad4e0c59",
"CatalogId": "48196347-c7c7-4944-aa10-336af9920d48",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "d506c26c-6ed3-4f46-b559-b04bb2badbed",
"Attr2": "c37eb0dc-7e33-4062-b40f-6ce411c5536f",
"Attr3": "9424466c-0d9d-42ff-91c2-f6eeab4d9992",
"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": "c25ee506-f5f0-4d26-a959-f25ea7faa4ae",
"TransFromDesc": "sample string 2",
"TransTo": "6bdbacc7-a9d8-4da9-92e8-39dc9da66413",
"TransToDesc": "sample string 4",
"Sku": "e667cfc3-7195-45a0-a698-cbe0ad4e0c59",
"CatalogId": "48196347-c7c7-4944-aa10-336af9920d48",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "d506c26c-6ed3-4f46-b559-b04bb2badbed",
"Attr2": "c37eb0dc-7e33-4062-b40f-6ce411c5536f",
"Attr3": "9424466c-0d9d-42ff-91c2-f6eeab4d9992",
"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
}
]