POST api/QFFormRestrictions
Request Information
URI Parameters
None.
Body Parameters
VEMModel.CBP.QFFormRestriction| Name | Description | Type | Additional information |
|---|---|---|---|
| RecordId | integer |
None. |
|
| OperationType | string |
None. |
|
| QuantityWarning | integer |
None. |
|
| MessageWarning | string |
Max length: 500 |
|
| QuantityError | integer |
None. |
|
| MessageError | string |
Max length: 500 |
|
| Enabled | boolean |
None. |
|
| CreatedBy | string |
Max length: 50 |
|
| DateCreated | date |
None. |
|
| UpdatedBy | string |
Max length: 50 |
|
| UpdatedOn | date |
None. |
|
| Deleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"RecordId": 1,
"OperationType": "sample string 2",
"QuantityWarning": 3,
"MessageWarning": "sample string 4",
"QuantityError": 5,
"MessageError": "sample string 6",
"Enabled": true,
"CreatedBy": "sample string 8",
"DateCreated": "2026-01-11T20:36:32.6959445-05:00",
"UpdatedBy": "sample string 10",
"UpdatedOn": "2026-01-11T20:36:32.6959445-05:00",
"Deleted": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VEMModel.Logic.APIResponseClass| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | VEMModel.Logic.ResultEnum |
None. |
|
| Details | Object |
None. |
|
| JsonData | Object |
None. |
|
| ObjectType | string |
None. |
|
| ruleEvaluationResults | Collection of VEMModel.Logic.RuleEvaluationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"ruleEvaluationResults": [
{
"$id": "2",
"Result": 0,
"Message": "sample string 1",
"fieldID": "sample string 2"
},
{
"$ref": "2"
}
],
"Result": 0,
"Details": {
"$id": "3"
},
"JsonData": {
"$id": "4"
},
"ObjectType": "sample string 3"
}