Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReportsApi

ReportsApi - object-oriented interface

export

Hierarchy

Index

Constructors

constructor

  • Parameters

    • Optional configuration: Configuration
    • Default value basePath: string = BASE_PATH
    • Default value axios: AxiosInstance = globalAxios

    Returns ReportsApi

Properties

Protected axios

axios: AxiosInstance

Protected basePath

basePath: string

Protected configuration

configuration: Configuration | undefined

Methods

deleteReport

  • deleteReport(id: string, options?: any): Promise<AxiosResponse<Report>>
  • summary

    Delete a published report

    throws

    {RequiredError}

    memberof

    ReportsApi

    Parameters

    • id: string
    • Optional options: any

    Returns Promise<AxiosResponse<Report>>

getReport

  • getReport(id: string, options?: any): Promise<AxiosResponse<Report>>
  • summary

    Get a published report

    throws

    {RequiredError}

    memberof

    ReportsApi

    Parameters

    • id: string
    • Optional options: any

    Returns Promise<AxiosResponse<Report>>

getReports

  • getReports(pageNum?: number, tagId?: string, reportTaskId?: string, options?: any): Promise<AxiosResponse<InlineResponse2003>>
  • summary

    List reports

    throws

    {RequiredError}

    memberof

    ReportsApi

    Parameters

    • Optional pageNum: number
    • Optional tagId: string
    • Optional reportTaskId: string
    • Optional options: any

    Returns Promise<AxiosResponse<InlineResponse2003>>

renderReport

  • renderReport(id: string, format: "pdf" | "pptx" | "xlsx" | "csv", options?: any): Promise<AxiosResponse<Job>>
  • summary

    Render a published report

    throws

    {RequiredError}

    memberof

    ReportsApi

    Parameters

    • id: string
    • format: "pdf" | "pptx" | "xlsx" | "csv"
    • Optional options: any

    Returns Promise<AxiosResponse<Job>>

Generated using TypeDoc