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
- application/json
Root Schema : schema
Type:
Show Source object
Example:
{ "jobs":[ 0 ], "monitorJobs":[ "string" ], "connections":[ 0 ] }
Response
Supported Media Types
- application/json
201 Response
User Favorites created successfully.
Root Schema : ListUserFavorites
Type:
Show Source object
Example:
{ "jobs":[ { "id":1020, "name":"job1" } ], "monitorJobs":[ { "runId":1021, "name":"job1" } ], "connections":[ { "id":1001, "name":"oracle" } ] }
Nested Schema : FavoriteConnection
Type:
Show Source object
- id: integer (int64) Connection ID. This is a required parameter.
- name: string
Nested Schema : FavoriteJob
Type:
Show Source object
- id: integer (int64) Job ID. This is a required parameter.
- name: string
Nested Schema : FavoriteMonitorJob
Type:
Show Source object
- name: string
- runId: integer (int64) Run ID. This is a required parameter.
400 Response
Bad Request.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
401 Response
Unauthorized.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
404 Response
Not Found.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }
500 Response
Server Error.
Root Schema : Error
Type:
Show Source object
- errCode: string Veridata Error Code.
- errMsg: string Veridata Error Message.
Example:
{ "errCode":"OGGV-00001", "errMsg":"Error message" }