$clientid = $this->Request->contains('clientid') ? $this->Request['clientid'] : null;
$client = $this->Request->contains('client') ? $this->Request['client'] : null;
$objecttype = $this->Request->contains('objecttype') && $misc->isValidName($this->Request['objecttype']) ? $this->Request['objecttype'] : null;
+ $objectname = $this->Request->contains('objectname') && $misc->isValidName($this->Request['objectname']) ? $this->Request['objectname'] : null;
$joberrors = null;
if ($this->Request->contains('joberrors') && $misc->isValidBoolean($this->Request['joberrors'])) {
$joberrors = $misc->isValidBooleanTrue($this->Request['joberrors']) ? true : false;
];
}
+ if (is_string($objectname)) {
+ $params['Object.ObjectName'] = [];
+ $params['Object.ObjectName'][] = [
+ 'vals' => $objectname
+ ];
+ }
+
if (!empty($jobids)) {
/**
* If jobids parameter provided, all other parameters are not used.
"type": "string"
}
},
+ {
+ "name": "objectname",
+ "in": "query",
+ "required": false,
+ "description": "Job object name (ex. main-db123, Note4..etc.)",
+ "schema": {
+ "type": "string"
+ }
+ },
{
"name": "schedtime_from",
"in": "query",
"type": "string",
"description": "Object status"
},
+ "objectsource": {
+ "type": "string",
+ "description": "Object source"
+ },
"jobstatus": {
"type": "string",
"description": "Job status"