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": "3661cec2-3bc8-4d65-9498-b8c29bc344da",
"TransTo": "56508f24-681f-4ce9-b3f7-61d3f1ea097a",
"TransType": 1,
"TransDate": "2025-12-30 14:06:38",
"Handler": "sample string 4",
"BatchNum": "sample string 5",
"Remarks": "sample string 6",
"TransactionItemList": [
{
"TransFrom": "0f227ffd-bf0b-4c5f-b609-8d5dce54ca86",
"TransFromDesc": "sample string 2",
"TransTo": "5c18f190-87ab-4ce6-9f69-8915d85b1da3",
"TransToDesc": "sample string 4",
"Sku": "f611c03c-ddcf-4805-a522-0874916e6b4d",
"CatalogId": "8ff36dd0-3a82-47b6-b154-0a867d133061",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "202943da-d132-4070-b53e-a0fd85cae58e",
"Attr2": "2e428ceb-c8fb-4246-ab2a-0a881186621c",
"Attr3": "9cabdc1d-70a4-4292-a113-546194559345",
"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": "0f227ffd-bf0b-4c5f-b609-8d5dce54ca86",
"TransFromDesc": "sample string 2",
"TransTo": "5c18f190-87ab-4ce6-9f69-8915d85b1da3",
"TransToDesc": "sample string 4",
"Sku": "f611c03c-ddcf-4805-a522-0874916e6b4d",
"CatalogId": "8ff36dd0-3a82-47b6-b154-0a867d133061",
"ProdCode": "sample string 7",
"ProdName": "sample string 8",
"Attr1": "202943da-d132-4070-b53e-a0fd85cae58e",
"Attr2": "2e428ceb-c8fb-4246-ab2a-0a881186621c",
"Attr3": "9cabdc1d-70a4-4292-a113-546194559345",
"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": {}
}