Point-in-time Report
Generates a specified point-in-time job report 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-07T18:00:00.000+03:00", "2022-06-07T18: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 (same as startDate ) |
|
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 |