POST AdminApi/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": "c8ba0f46-8bc1-4bab-8bed-ec09465cdcb9",
"TransTo": "1884a4da-9521-45c0-92dc-19a9f54f7d3b",
"TransType": 1,
"TransDate": "2026-10-31 13:51:38",
"Handler": "sample string 4",
"BatchNum": "sample string 5",
"Remarks": "sample string 6",
"TransactionItemList": [
{
"TransFrom": "19f29267-8369-45b2-82ee-51815617a7e4",
"TransFromDesc": "sample string 2",
"TransTo": "cf028e6a-50a0-4ebb-b52f-d401317f9130",
"TransToDesc": "sample string 4",
"Sku": "c28eaa1b-60b4-4064-93f8-2fb6ac484bba",
"CatalogId": "ff9d92c5-2a77-418c-b4bd-37c7433866d9",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "9c1ee979-f4a2-4fab-9716-c87fb1159c90",
"Attr2": "b26ddb6a-ffc4-43cc-a49e-7f9d0c3efd88",
"Attr3": "28ecac8f-6717-49a0-bac0-8bcf1edcd3d1",
"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": "19f29267-8369-45b2-82ee-51815617a7e4",
"TransFromDesc": "sample string 2",
"TransTo": "cf028e6a-50a0-4ebb-b52f-d401317f9130",
"TransToDesc": "sample string 4",
"Sku": "c28eaa1b-60b4-4064-93f8-2fb6ac484bba",
"CatalogId": "ff9d92c5-2a77-418c-b4bd-37c7433866d9",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "9c1ee979-f4a2-4fab-9716-c87fb1159c90",
"Attr2": "b26ddb6a-ffc4-43cc-a49e-7f9d0c3efd88",
"Attr3": "28ecac8f-6717-49a0-bac0-8bcf1edcd3d1",
"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": {}
}