Job History Report
Generates a job history report for the specified time period in PDF format.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl
Copy
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data "{
"action": "ReportingManagement",
"method": "createJobReport",
"data": [1, null, "2022-06-03T18:00:00.000+03:00", "2022-06-09T18:00:00.000+03:00", 10800000],
"type": "rpc",
"tid": 1}"
Request Fields
Field
|
Type
|
Value(s)
|
---|---|---|
action
|
string | ReportingManagement |
method
|
string | createJobReport |
data
|
array | See parameters below |
type
|
string | rpc
|
tid
|
integer | 1 |
Data
Field
|
Type
|
Description
|
---|---|---|
|
long | Job ID |
|
long | Job execution ID (optional) |
|
DateTime | Job history start date |
|
DateTime | Job history finish date |
|
Integer | Offset from UTC time zone in milliseconds (optional) |
Error Response Sample
curl
Copy
{
"action": "ReportingManagement",
"method": "createJobReport",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Response Fields
Field |
Value |
Description |
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Refence to the method where problem occurred |
cause
|
string | Cause of failure |