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": "ddd0db13-2c9b-4d8e-a3a2-c8b9d7b73ed7",
"Attr2": "077124a8-fc60-4169-b6dc-eaa9318472c8",
"Attr3": "96cf26c1-2883-4eb0-9d7c-e91e81f01dd8",
"MerchantId": "3c1fe064-e87e-4194-b82b-69e1ee75b3e5",
"WhId": "8b681893-eb4a-43f7-af45-97faeaf824c2",
"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": "509603d9-e115-4b0f-8e96-b3b9ded02abc",
"TransFromDesc": "sample string 2",
"TransTo": "9813da1a-b513-4f66-88ab-5acaf1fc620e",
"TransToDesc": "sample string 4",
"Sku": "b36b81a0-e9da-4f99-8e1a-fbd54f9f8cb1",
"CatalogId": "06ed8930-9a1b-4f7e-a6b4-30cf10b92c86",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "df16a864-52f0-4da8-a0fc-813d753c45eb",
"Attr2": "040db15d-c4f2-4e2e-85fb-05ecebd2606b",
"Attr3": "df10fbb1-a521-4d3e-9ca5-9c7c434bb56e",
"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": "509603d9-e115-4b0f-8e96-b3b9ded02abc",
"TransFromDesc": "sample string 2",
"TransTo": "9813da1a-b513-4f66-88ab-5acaf1fc620e",
"TransToDesc": "sample string 4",
"Sku": "b36b81a0-e9da-4f99-8e1a-fbd54f9f8cb1",
"CatalogId": "06ed8930-9a1b-4f7e-a6b4-30cf10b92c86",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "df16a864-52f0-4da8-a0fc-813d753c45eb",
"Attr2": "040db15d-c4f2-4e2e-85fb-05ecebd2606b",
"Attr3": "df10fbb1-a521-4d3e-9ca5-9c7c434bb56e",
"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
}
]