Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SurveysApi

Hierarchy

  • SurveysApi

Index

Constructors

constructor

Properties

Protected basePath

basePath: string = "https://api-na.myconnectwise.net/v4_6_release/apis/3.0"

defaultHeaders

defaultHeaders: any

Methods

systemSurveysCountGet

  • systemSurveysCountGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Count>
  • Get Surveys Count

    Parameters

    • params: object
      • Optional conditions?: string
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Count>

systemSurveysGet

  • systemSurveysGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Survey>>
  • Get Surveys

    Parameters

    • params: object
      • Optional childconditions?: string
      • Optional conditions?: string
      • Optional customfieldconditions?: string
      • Optional orderBy?: string
      • Optional page?: number
      • Optional pageSize?: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Array<Survey>>

systemSurveysIdDelete

  • systemSurveysIdDelete(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<__type>
  • Delete Survey By Id

    Parameters

    • params: object
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<__type>

systemSurveysIdGet

  • systemSurveysIdGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Survey>
  • Get Survey By Id

    Parameters

    • params: object
      • id: number
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Survey>

systemSurveysIdPatch

  • systemSurveysIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Survey>
  • Update Survey

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Survey>

systemSurveysIdPut

  • systemSurveysIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Survey>
  • Replace Survey

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Survey>

systemSurveysPost

  • systemSurveysPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Survey>
  • Create Survey

    Parameters

    • params: object
    • Optional extraQueryParams: any
    • Optional extraFetchParams: any

    Returns Promise<Survey>

Generated using TypeDoc