ON THIS PAGE
POST /config/event_sources/log_source_management/log_source_types/dsm_parameter_configuration/dsm_parameter_allowed_values/{id}
SUMMARY Update a dsm parameter allowed value by id.
MIME Type |
---|
application/json |
Parameter | Type | Optionality | Data Type | MIME Type | Description |
---|---|---|---|---|---|
id |
path |
Required |
Number (Integer) |
text/plain |
The ID of the dsm parameter to retrieve. |
fields |
header |
Optional |
String |
text/plain |
Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas. |
Parameter | Data Type | MIME Type | Description | Sample |
---|---|---|---|---|
dsm_paramater_allowed_value |
Object |
application/json |
null |
{ "dsm_parameter_definition_id": 42, "id": 42, "name": "String", "sort_index": 42, "value": "String" } |
HTTP Response Code | Unique Code | Description |
---|---|---|
201 |
The dsm parameter allowed value was updated successfully. |
|
404 |
1086 |
The dsm parameter allowed value ID was not found. |
422 |
1081 |
The provided dsm_parameter_definition_id is not valid. |
422 |
1082 |
The provided name is not valid. |
422 |
1083 |
The provided value is not valid. |
422 |
1084 |
The provided sort index is not valid. |
422 |
1085 |
The record already exists. |
500 |
1087 |
An error occurred during the attempt to update the dsm parameter. |
Response Description
- id - Long- The id of the created/updated dsm parameter allowed value.
- value - String - The value of the dsm parameter. Cannot be empty. Must be 8192 characters or less.
- dsm_parameter_definition_id - Long - The id of the corresponding dsmparameterdefinition.
- name - String - The name of the dsm parameter allowed value.
- sort_index - Long - the index of the record for sorting.
Response Sample
{ "dsm_parameter_definition_id": 42, "id": 42, "name": "String", "sort_index": 42, "value": "String" }