Update User Preferences

patch

http://{host}:{port}/veridata/v1/services/preferences

Required Role: Administrator, SuperUser, CommandLineOperator

Update Veridata User Preferences

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Example:
{ "autoRefreshInterval":30, "fontSize":"Small" }
Back to Top

Response

Supported Media Types

200 Response

User Preference details updated successfully.
Body ()
Root Schema : PreferenceDetails
Type: object
Match All
Show Source
Example:
{ "attributesList":[ { "name":"autoRefreshInterval", "default":true, "value":30, "defaultValue":30, "type":"INTEGER", "min":10, "max":100 } ] }
Nested Schema : BaseObject_3
Type: object
Show Source
Nested Schema : PrefernceObject2
Type: object
Show Source
Nested Schema : attributesList
Type: array
Show Source
Nested Schema : PreferenceAttribute
Type: object
Show Source

400 Response

Bad Request.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

401 Response

Unauthorized.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

404 Response

Not Found.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }

500 Response

Server Error.
Body ()
Root Schema : Error
Type: object
Show Source
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
Back to Top