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": "4231a716-0abd-4248-84d7-0113a1bf9b45",
"Attr2": "3260ad4b-b4c5-4edb-bf9e-91d94c7613a9",
"Attr3": "d11e7807-df48-4578-bd87-7bebfa65ab1b",
"MerchantId": "c7299f6c-ee4d-4c4a-bbaf-1fb39d1d0234",
"WhId": "f7dcae44-fb72-4c6c-b2d3-d73a89739e09",
"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": "97a6a574-6e1a-4c9b-a66a-85a6a52f46ed",
"TransFromDesc": "sample string 2",
"TransTo": "348678af-1159-4603-bfb5-b0f86f650b92",
"TransToDesc": "sample string 4",
"Sku": "dabefbc1-0d25-48f7-967e-d609586ab7f5",
"CatalogId": "421e5304-acf2-48e6-a09e-9344e4e5ada6",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "fe2d21bd-a1ef-416e-b59b-777b7fcb1526",
"Attr2": "a5e57391-426e-4c4a-9dd8-8d450b1c0421",
"Attr3": "95ff48de-9352-44ae-a733-e760a67bfd83",
"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": "97a6a574-6e1a-4c9b-a66a-85a6a52f46ed",
"TransFromDesc": "sample string 2",
"TransTo": "348678af-1159-4603-bfb5-b0f86f650b92",
"TransToDesc": "sample string 4",
"Sku": "dabefbc1-0d25-48f7-967e-d609586ab7f5",
"CatalogId": "421e5304-acf2-48e6-a09e-9344e4e5ada6",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "fe2d21bd-a1ef-416e-b59b-777b7fcb1526",
"Attr2": "a5e57391-426e-4c4a-9dd8-8d450b1c0421",
"Attr3": "95ff48de-9352-44ae-a733-e760a67bfd83",
"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
}
]