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": "9097105f-161d-41f8-aa96-d0a6136be4f9",
"TransTo": "4741accb-4959-4675-b461-067d1fdd445f",
"TransType": 1,
"TransDate": "2026-10-31 13:51:37",
"Handler": "sample string 4",
"BatchNum": "sample string 5",
"Remarks": "sample string 6",
"TransactionItemList": [
{
"TransFrom": "22af2556-6212-4257-834c-64ee38a304f9",
"TransFromDesc": "sample string 2",
"TransTo": "b9764ced-4fd1-488b-bba6-b3d661390dca",
"TransToDesc": "sample string 4",
"Sku": "384852e0-67c3-4ef7-a38b-c1ff35bfcc0b",
"CatalogId": "008e96c4-303f-41cc-9e31-b93fd23566f6",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "bb2277c5-0be0-4f79-9db4-787922850015",
"Attr2": "facb2d49-ab95-4799-828a-9c29ee828579",
"Attr3": "7a9adc62-1abb-48ee-acb9-8dd7832de0e7",
"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": "22af2556-6212-4257-834c-64ee38a304f9",
"TransFromDesc": "sample string 2",
"TransTo": "b9764ced-4fd1-488b-bba6-b3d661390dca",
"TransToDesc": "sample string 4",
"Sku": "384852e0-67c3-4ef7-a38b-c1ff35bfcc0b",
"CatalogId": "008e96c4-303f-41cc-9e31-b93fd23566f6",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "bb2277c5-0be0-4f79-9db4-787922850015",
"Attr2": "facb2d49-ab95-4799-828a-9c29ee828579",
"Attr3": "7a9adc62-1abb-48ee-acb9-8dd7832de0e7",
"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": {}
}