Create User Favorites

post

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

Required Role: Administrator, SuperUser, DetailMonitoringOperator, MonitoringOperator, CommandLineOperator

Create Veridata User Favorites

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Example:
{ "jobs":[ 0 ], "monitorJobs":[ "string" ], "connections":[ 0 ] }
Nested Schema : connections
Type: array
Show Source
Nested Schema : jobs
Type: array
Show Source
Nested Schema : monitorJobs
Type: array
Show Source
Back to Top

Response

Supported Media Types

201 Response

User Favorites created successfully.
Body ()
Root Schema : ListUserFavorites
Type: object
Show Source
Example:
{ "jobs":[ { "id":1020, "name":"job1" } ], "monitorJobs":[ { "runId":1021, "name":"job1" } ], "connections":[ { "id":1001, "name":"oracle" } ] }
Nested Schema : connections
Type: array
Show Source
Nested Schema : jobs
Type: array
Show Source
Nested Schema : monitorJobs
Type: array
Show Source
Nested Schema : FavoriteConnection
Type: object
Show Source
Nested Schema : FavoriteJob
Type: object
Show Source
Nested Schema : FavoriteMonitorJob
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