Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Presence(prv: PathSegment, id?: string, service?: any): Presence

Methods

get

  • Since 1.0.2

    Returns presence status of an extension or several extensions by their ID(s). Batch request is supported, see Batch Requests for details.The presenceStatus is returned as Offline (the parameters telephonyStatus, message, userStatus and dndStatus are not returned at all) for the following extension types: Department/Announcement Only/Take Messages Only (Voicemail)/Fax User/Paging Only Group/Shared Lines Group/IVR Menu/Application Extension/Park Location.If the user requests his/her own presence status, the response contains actual presence status even if the status publication is turned off.Batch request is supported. For batch requests the number of extensions in one request is limited to 30. If more extensions are included in the request, the error code 400 Bad Request is returned with the logical error code InvalidMultipartRequest and the corresponding message 'Extension Presence Info multipart request is limited to 30 extensions'.

    Required Permissions

    PermissionDescription
    ReadPresenceGetting user presence information

    Usage Plan Group

    Light

    Returns Promise<GetPresenceInfo>

getEndpoint

  • getEndpoint(withValue?: boolean): string

Protected getRest

list

put

toString

  • toString(withValue?: boolean): string

Generated using TypeDoc