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": "4607b1b5-6e2e-49ed-ad33-c454205b8a56",
"TransTo": "c65aa9d7-bb8e-4959-831b-7152fcf0e17b",
"TransType": 1,
"TransDate": "2026-04-20 09:51:55",
"Handler": "sample string 4",
"BatchNum": "sample string 5",
"Remarks": "sample string 6",
"TransactionItemList": [
{
"TransFrom": "8a5b3d06-2cfc-430e-9705-dbea6e33a528",
"TransFromDesc": "sample string 2",
"TransTo": "d1aa180e-db90-41f0-93bd-6253d36f19c4",
"TransToDesc": "sample string 4",
"Sku": "753a04ea-1aa8-4647-93e3-1cc3c91bac26",
"CatalogId": "bf91281b-7e0a-4cba-b0c5-782c763129d6",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "7c4d27f1-a781-49ab-b83d-caba0af4fd60",
"Attr2": "b2b84e94-2ea7-4066-aee5-7434f63955bf",
"Attr3": "bfe20dc8-c2b3-413e-9098-4f8bbcd1920e",
"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": "8a5b3d06-2cfc-430e-9705-dbea6e33a528",
"TransFromDesc": "sample string 2",
"TransTo": "d1aa180e-db90-41f0-93bd-6253d36f19c4",
"TransToDesc": "sample string 4",
"Sku": "753a04ea-1aa8-4647-93e3-1cc3c91bac26",
"CatalogId": "bf91281b-7e0a-4cba-b0c5-782c763129d6",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "7c4d27f1-a781-49ab-b83d-caba0af4fd60",
"Attr2": "b2b84e94-2ea7-4066-aee5-7434f63955bf",
"Attr3": "bfe20dc8-c2b3-413e-9098-4f8bbcd1920e",
"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": {}
}