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": "d729ede8-0c88-472a-b07d-ca18d6f44c7d",
"TransTo": "993af776-30b1-4c37-8d85-26e48926fc9b",
"TransType": 1,
"TransDate": "2025-10-28 19:00:17",
"Handler": "sample string 4",
"BatchNum": "sample string 5",
"Remarks": "sample string 6",
"TransactionItemList": [
{
"TransFrom": "07929dc9-2f96-47e6-b415-063a2d858e1a",
"TransFromDesc": "sample string 2",
"TransTo": "701b942d-ef64-4270-a2e1-fc3088392cbf",
"TransToDesc": "sample string 4",
"Sku": "cc471613-7f6e-4942-a638-a9cb3da411e9",
"CatalogId": "b0e2a521-6ab5-4857-a371-3cb9411fa0d1",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "24553399-8c39-4d4f-8ce2-d6a7b6a329ac",
"Attr2": "37abf448-2b37-43fd-8106-ad850c58302f",
"Attr3": "b1d9579e-9b4c-4209-8476-4580493317c0",
"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": "07929dc9-2f96-47e6-b415-063a2d858e1a",
"TransFromDesc": "sample string 2",
"TransTo": "701b942d-ef64-4270-a2e1-fc3088392cbf",
"TransToDesc": "sample string 4",
"Sku": "cc471613-7f6e-4942-a638-a9cb3da411e9",
"CatalogId": "b0e2a521-6ab5-4857-a371-3cb9411fa0d1",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "24553399-8c39-4d4f-8ce2-d6a7b6a329ac",
"Attr2": "37abf448-2b37-43fd-8106-ad850c58302f",
"Attr3": "b1d9579e-9b4c-4209-8476-4580493317c0",
"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:
Sample not available.
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": {}
}