Page tree

Generates a specified point-in-time job report in PDF format.

Endpoint

https://<Director_IP_address>:4443/c/router

Request Example

curl
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)

actionstring
ReportingManagement
methodstring
createJobReport
dataarraySee parameters below 
typestringrpc
tidinteger1

Data

Field

Type

Description

id

longJob ID

JobExecutionId

longJob execution ID (optional)

startDate

DateTime Job history start date

finishDate

DateTimeJob history finish date (same as startDate)

clientTimeOffsetToUtc

IntegerOffset from UTC time zone in milliseconds (optional)

Error Response Sample

 {
    "action": "ReportingManagement",
    "method": "createJobReport",
    "tid": "1",
    "type": "rpc",
    "message": null,
    "where": null,
    "cause": null,
    "data": null
} 

Response Fields

Field

Value

Description

messagestringMessage if the request failed
wherestringRefence to the method where problem occurred
causestringCause of failure
  • No labels