Create Job
post
http://{host}:{port}/veridata/v1/services/configuration/jobs
Required Role: Administrator, SuperUser, CommandLineOperator
Create Veridata Jobs.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
description: string
-
groups(required): array
groups
-
name(required): string
Job Name.
-
profileId: integer
Default Value:
1
Example:
{
"name":"job1",
"description":"sample job to run",
"profileId":1,
"groups":[
1001
]
}
Response
Supported Media Types
- application/json
201 Response
Successfully created Veridata job.
Root Schema : CreateJobResponse
Type:
Show Source
object
-
groups: array
groups
-
id: integer
-
name: string
-
numOfGroups: integer
-
profileId: integer
Default Value:
1
Example:
{
"id":1001,
"name":"job1",
"profileId":1,
"numOfGroups":0,
"groups":[
{
"name":"group1",
"id":1001
}
]
}
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"
}