POST Api/Inventory/InsertInvTransRec
Request Information
URI Parameters
None.
Body Parameters
InvTransView| Name | Description | Type | Additional information |
|---|---|---|---|
| TransFrom | globally unique identifier |
None. |
|
| TransTo | globally unique identifier |
None. |
|
| TransType | InvTransType |
None. |
|
| TransDate | date |
None. |
|
| Handler | string |
None. |
|
| BatchNum | string |
None. |
|
| Remarks | string |
None. |
|
| TransactionItemList | Collection of InvTransItemView |
None. |
Request Formats
application/json, text/json
Sample:
{
"TransFrom": "cdfb383d-a65e-48cc-8d3c-cae1fc607fe4",
"TransTo": "4712c9ab-b74c-423d-ad24-f532521ceb30",
"TransType": 1,
"TransDate": "2026-06-15 12:41:56",
"Handler": "sample string 4",
"BatchNum": "sample string 5",
"Remarks": "sample string 6",
"TransactionItemList": [
{
"TransFrom": "3caed926-46b8-4560-88f0-1e7e7f84ba37",
"TransFromDesc": "sample string 2",
"TransTo": "aacd0214-61b1-4b34-b547-983f89eff684",
"TransToDesc": "sample string 4",
"Sku": "37cb37d3-6e97-4bdf-929d-4c04bb4a2a2f",
"CatalogId": "05676498-b1af-4756-a085-ba61df6596f7",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "8d2f8b9b-81af-4a46-805e-821b8a54dddf",
"Attr2": "e1c3d773-9f74-47fc-b9ca-8edc33fe83e3",
"Attr3": "f84ea424-2d9a-4cfe-bed7-164aed80962a",
"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": "3caed926-46b8-4560-88f0-1e7e7f84ba37",
"TransFromDesc": "sample string 2",
"TransTo": "aacd0214-61b1-4b34-b547-983f89eff684",
"TransToDesc": "sample string 4",
"Sku": "37cb37d3-6e97-4bdf-929d-4c04bb4a2a2f",
"CatalogId": "05676498-b1af-4756-a085-ba61df6596f7",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "8d2f8b9b-81af-4a46-805e-821b8a54dddf",
"Attr2": "e1c3d773-9f74-47fc-b9ca-8edc33fe83e3",
"Attr3": "f84ea424-2d9a-4cfe-bed7-164aed80962a",
"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
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SystemResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeeded | boolean |
None. |
|
| Message | string |
None. |
|
| ReturnValue | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeeded": true,
"Message": "sample string 2",
"ReturnValue": {}
}