POST api/HighValueUnits/UpdateItem
Request Information
URI Parameters
None.
Body Parameters
VEMModel.Payloads.HighValueUnitItem| Name | Description | Type | Additional information |
|---|---|---|---|
| UnitNumber | string |
Max length: 15 |
|
| ExpirationDate | date |
None. |
|
| LocationStateItems | Collection of VEMModel.Payloads.LocationStateItem |
None. |
|
| Update | boolean |
None. |
|
| Deleted | boolean |
None. |
|
| DateCreated | date |
None. |
|
| CreatedBy | string |
None. |
|
| UpdatedOn | date |
None. |
|
| UpdatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UnitNumber": "sample string 1",
"ExpirationDate": "2026-01-11T20:35:18.6285383-05:00",
"LocationStateItems": [
{
"$id": "2",
"LocationId": 1,
"Deleted": true
},
{
"$ref": "2"
}
],
"Update": true,
"Deleted": true,
"DateCreated": "2026-01-11T20:35:18.6285383-05:00",
"CreatedBy": "sample string 6",
"UpdatedOn": "2026-01-11T20:35:18.6285383-05:00",
"UpdatedBy": "sample string 7"
}
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"
}