Reports

Query

report — Returns FavouriteReportInterface

No scope required

Arguments Type Description

id

ID!

The ID of the report to retrieve

Example Query
query GetReport($id: ID!) {
    report(id: $id) {
        id,
        name,
        layers,
        nextEmailDate,
        syntaxErrors
    }
}

# Example variables
{
    "id": "<ID>"
}

Query

getReportFilter — Returns ReportFilterInterface

No scope required

This is currently an experimental query, please get in contact with us before using it.

Arguments Type Description

id

ID!

The ID of the filter to search for

type

String!

The type of filter to search for

Example Query
query GetReportFilter($id: ID!, $type: String!) {
    getReportFilter(id: $id, type: $type) {
        id,
        name,
        parent,
        deleted
    }
}

# Example variables
{
    "id": "<ID>",
    "type": "<TYPE>"
}

Query

reports — Returns [FavouriteReportInterface]

No scope required

Example Query
query GetReports {
    reports {
        id,
        name,
        layers,
        nextEmailDate,
        syntaxErrors
    }
}