Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RolesApi

Hierarchy

  • RolesApi

Index

Constructors

constructor

  • new RolesApi(basePath?: string): RolesApi

Properties

Protected basePath

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

defaultHeaders

defaultHeaders: any

Methods

salesRolesCountGet

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

    Parameters

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

    Returns Promise<Count>

salesRolesGet

  • salesRolesGet(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Array<Role>>
  • Get Role

    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<Role>>

salesRolesIdDelete

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

    Parameters

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

    Returns Promise<__type>

salesRolesIdGet

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

    Parameters

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

    Returns Promise<Role>

salesRolesIdPatch

  • salesRolesIdPatch(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Role>
  • Update Role

    Parameters

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

    Returns Promise<Role>

salesRolesIdPut

  • salesRolesIdPut(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Role>
  • Replace Role

    Parameters

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

    Returns Promise<Role>

salesRolesPost

  • salesRolesPost(params: object, extraQueryParams?: any, extraFetchParams?: any): Promise<Role>
  • Create Role

    Parameters

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

    Returns Promise<Role>

Generated using TypeDoc