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": "605a9d34-6e1d-4e2f-8c4f-321da2504ce4",
"TransTo": "6481e7ef-bfba-4484-b3c9-1cb02f5509e8",
"TransType": 1,
"TransDate": "2026-07-30 16:31:28",
"Handler": "sample string 4",
"BatchNum": "sample string 5",
"Remarks": "sample string 6",
"TransactionItemList": [
{
"TransFrom": "de8d1368-7693-474b-8266-18b74c7aa1bf",
"TransFromDesc": "sample string 2",
"TransTo": "0bcf43bd-485f-4069-8971-88d888e90040",
"TransToDesc": "sample string 4",
"Sku": "5870b457-8fc0-4550-b6eb-b3c5d112c7a9",
"CatalogId": "734da2fa-1357-4a7a-85c6-0bc054483819",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "d31af207-2c27-4e35-a108-5f05cbe5a571",
"Attr2": "538d77b7-931d-4119-9bd8-42cb0c320928",
"Attr3": "1ed16779-08ea-49a5-a68a-9f367bb3df22",
"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": "de8d1368-7693-474b-8266-18b74c7aa1bf",
"TransFromDesc": "sample string 2",
"TransTo": "0bcf43bd-485f-4069-8971-88d888e90040",
"TransToDesc": "sample string 4",
"Sku": "5870b457-8fc0-4550-b6eb-b3c5d112c7a9",
"CatalogId": "734da2fa-1357-4a7a-85c6-0bc054483819",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "d31af207-2c27-4e35-a108-5f05cbe5a571",
"Attr2": "538d77b7-931d-4119-9bd8-42cb0c320928",
"Attr3": "1ed16779-08ea-49a5-a68a-9f367bb3df22",
"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": {}
}