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": "47ebd41d-a0d6-4bac-a0a0-d126c5c2065c",
"TransTo": "daa72451-fc84-4fee-a306-0b4a67b8b11e",
"TransType": 1,
"TransDate": "2026-04-20 09:50:16",
"Handler": "sample string 4",
"BatchNum": "sample string 5",
"Remarks": "sample string 6",
"TransactionItemList": [
{
"TransFrom": "e4634de7-1f32-4edc-8b31-d57c75d5f552",
"TransFromDesc": "sample string 2",
"TransTo": "81cc67ca-b4ba-4dd5-b988-8ed80a3f1242",
"TransToDesc": "sample string 4",
"Sku": "d0eab5a5-371d-4a93-8e99-d32a56a42555",
"CatalogId": "fdd36efd-7bf5-45b9-a86d-63e13e4fea94",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "e8d48e91-cfc3-4e15-81ee-9dbab86d51e7",
"Attr2": "33e96ac8-880f-4ac7-bc58-7215b367459a",
"Attr3": "fed20f6c-7aed-4d98-8994-79ad18e786f7",
"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": "e4634de7-1f32-4edc-8b31-d57c75d5f552",
"TransFromDesc": "sample string 2",
"TransTo": "81cc67ca-b4ba-4dd5-b988-8ed80a3f1242",
"TransToDesc": "sample string 4",
"Sku": "d0eab5a5-371d-4a93-8e99-d32a56a42555",
"CatalogId": "fdd36efd-7bf5-45b9-a86d-63e13e4fea94",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "e8d48e91-cfc3-4e15-81ee-9dbab86d51e7",
"Attr2": "33e96ac8-880f-4ac7-bc58-7215b367459a",
"Attr3": "fed20f6c-7aed-4d98-8994-79ad18e786f7",
"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": {}
}