Edge Data Streaming
- Edge Data Streaming 2.5.0
- All Products
POST /api/parameters Content-Type: application/json Accept: application/json x-http-method-override: PUT
{ "parameters": [ {"parameterId": 1, "key": "TestKeyChnaged", "value": "TestValue"}, {"parameterId": 2, "key": "Key2Changed", "value": "Value2Updated", "secure": true}, ]
{ "total": 1, "count": 1, "success": true, "items": [ {"parameterId": {parameter-id}, "key": {parameter-key}, "success": true, "value": {parameter-value}, "secure": false, "timestamp": {timestamp}} } ] }
{ "total": 2, "count": 2, "success": true, "items": [ {"parameterId": {parameter-id}, "key": {parameter-key}, "success": true, "value": {parameter-value-masked}, "secure": true, "timestamp": {timestamp}}, {"parameterId": {parameter-id}, "key": {parameter-key}, "success": true, "value": {parameter-value}, "secure": false, "timestamp": {timestamp}} ] }
{ "success": false, "errors": [ { "code": PARAMETER_NOT_FOUND, "parameters": [{parameter-id}], "errorMessage": "Parameter with Id: {parameter-id} not found" } ] }
{ "success": false, "errors": [ { "code": PARAMETER_ID_FIELD_NOT_FOUND, "parameters": null, "errorMessage": "'parameterId' field is missing in request" } ] }
{ "success": false, "errors": [ { "code": PARAMETER_KEY_FIELD_NOT_FOUND, "parameters": null, "errorMessage": "'key' field is missing in request" } ] }
{ "success": false, "errors": [ { "code": PARAMETER_NAME_ALREADY_EXISTS, "parameters": null, "errorMessage": "Parameter name already exists." } ] }
{ "success": false, "errors": [ { "code": INTERNAL_SERVER_ERROR, "parameters": [{error-message}], "errorMessage": "Failed to update parameter. Exception : {error-message}" } ] }