Page tree

Generates a file with information for all protected VMs in the specified 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": "createProtectionCoverageReport",
        "data": [0, "CSV"],
        "type": "rpc",
        "tid": 1}"

Request Fields

Field

Type

Value(s)

actionstring
ReportingManagement
methodstring
createProtectionCoverageReport
dataarraySee parameters below 
typestringrpc
tidinteger1

Data

Field

Type

Description

clientTimeOffsetToUtc

IntegerOffset from UTC time zone in milliseconds (optional)

exportType

stringThe format for the exported file. Can be “CSV”, “PDF”, or “HTML”

Error Response Sample

 {
    "action": "ReportingManagement",
    "method": "createProtectionCoverageReport",
    "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