/icws/{sessionId}/directories/lookup-entries

Feature Version
directories 4

POST

/icws/{sessionId}/directories/lookup-entries

Gets any lookup entries that satisfy the query parameters. The logged in user must have the appropriate search rights configured in Interaction Administrator for results to be included. These search rights can be found in the Access Control container under the Search column.
Feature Version
directories 4

Request

Parameters
Type
Name
Comments
Header
ININ-ICWS-CSRF-Token

Required

The ININ session token necessary for all calls that require a security or user context.

    Header
    Cookie

    Required

    The session cookie. With the exception of the connection request, all requests must provide a session cookie.

      Template
      sessionId

      Required

      The ININ session ID necessary for all calls that require a security or user context.

        Representations
        lookupEntriesQuery
        Property
        Value
        Comments
        None
        0
        No lookup entry type specified.
        User
        1
        Include Users while doing lookups.
        StandalonePhone
        2
        Include Standalone Phones while doing lookups.
        Station
        3
        Include Stations while doing lookups.
        StationGroup
        4
        Include Station Groups while doing lookups.
        AttendantProfile
        5
        Include Attendant Profiles while doing lookups.
        Workgroup
        6
        Include Workgroups while doing lookups.
        OutboundAttendantProfile
        7
        Include Outbound Attendant Profiles while doing lookups.
        Feature Version
        directories 11
        none
        0
        None.
        firstName
        1
        First Name.
        lastName
        2
        Last Name.
        displayName
        3
        Display Name.
        department
        4
        Department.
        entryID
        5
        ID of this lookup entry.
        extension
        6
        Extension of this lookup entry.
        mobilePhone
        7
        Mobile phone number of this lookup entry.
        homePhone
        8
        Home phone number of this lookup entry.
        homePhone2
        9
        Alternate home phone number of this lookup entry.
        homeEmail
        10
        Home email address of this lookup entry.
        businessPhone
        11
        Business phone number of this lookup entry.
        businessPhone2
        12
        Alternate business phone number of this lookup entry.
        businessEmail
        13
        Business email address of this lookup entry.
        isActive
        14
        Is Active (applies to workgroups only).
        None
        0
        None.
        Exact
        1
        The lookup string matches a property exactly.
        StartsWith
        2
        A property value starts with the lookup string.
        Contains
        3
        The lookup string is a substring of a property.
        Wildcards
        4
        The lookup string contains wildcards. The filter expression may contain wildcard symbols. A "*" will match zero or more characters. A "?" will match any single character. For example "Dev*" would match "Developers", "Development-Asia", and "Devices". "T?m" would match "Tim" and "Tom" but not "Team".
        lookupString
        String

        Required

        The string to use for this lookup entry search.
        maxEntries
        Int

        Required

        The maximum number of lookup entries to return from this search.

        Response

        200 - OK
        The query was successful. Matched lookup entries are included in the response.
        Property
        Value
        Comments
        businessEmail
        String
        The lookup entry's business email address.
        standardizedNumber
        String

        Required

        The standardized phone number.
        displayString
        String

        Required

        The phone number's display string.
        baseNumber
        String
        The phone number.
        extension
        String
        The extension.
        autoDialable
        Boolean
        Whether or not the extension is a auto dialable.
        editNumber
        String

        The string to use when editing the phone number. This property contains the phone number and/or an extension. They are delimited by /^ when the extension is autodialed, and just ^ when it isn't. Extensions without a number will always be returned as autodialed.

        Note

        editNumber has been marked obsolete. displayString can be used in its place, as it provides identical information. Alternatively numberInfo can be used for to retrieve similar information as it contains the parsed information found in displayString.

        Feature Version Obsolete Version
        directories 6 8
        dialable
        Boolean
        Whether or not the returned number is a dialable number.
        department
        String
        The lookup entry's department.
        displayName
        String
        The lookup entry's display name.
        entryID
        String
        The lookup entry's ID.
        extension
        String
        The lookup entry's extension.
        firstName
        String
        The lookup entry's first name.
        homeEmail
        String
        The lookup entry's home email address.
        isActive
        Boolean
        A value indicating whether a lookup entry is active or not.
        lastName
        String
        The lookup entry's last name.
        None
        0
        No lookup entry type specified.
        User
        1
        Include Users while doing lookups.
        StandalonePhone
        2
        Include Standalone Phones while doing lookups.
        Station
        3
        Include Stations while doing lookups.
        StationGroup
        4
        Include Station Groups while doing lookups.
        AttendantProfile
        5
        Include Attendant Profiles while doing lookups.
        Workgroup
        6
        Include Workgroups while doing lookups.
        OutboundAttendantProfile
        7
        Include Outbound Attendant Profiles while doing lookups.
        Feature Version
        directories 11
        statusURI
        String
        The lookup entry's statusURI.
        system
        0
        A special Queue that represents interactions on a user's queue or station queue.
        user
        1
        Represents a user's interactions.
        workgroup
        2
        Represents a workgroup's interactions. Interactions passed to a Workgroup queue can be picked up by its member agents.
        station
        3
        Represents a station's interactions.
        queueName
        String

        Required

        The name of the queue being identified.
        voicemailCapable
        Boolean

        Required

        Whether or not the lookup entry is capable of receiving voicemail.
        moreEntriesMatched
        Boolean

        Required

        A value indicating whether there are further matches beyond those returned. This is true when maxEntries limits the returned entries count.
        400 - Bad Request
        The request was invalid. This can occur when the message body is malformed or missing required items. This will also occur if a required header or query string parameter is missing or invalid.
        error
        Provides additional detail for an error.
        Property
        Value
        Comments
        errorId
        String
        The error identifier that describes the current error.
        message
        String

        Required

        A message that describes the current error.
        401 - Unauthorized
        The specified session token is missing, invalid, or has expired.
        Parameters
        Type
        Name
        Comments
        Header
        WWW-Authenticate

        Required

        Indicates that the client needs to authenticate using a custom ICWS scheme, which supports a realm of type ICWS and a location which is the URL at which the client can authenticate. A typical example would be the following.

        WWW-Authenticate: ICWS realm="ICWS" location="/ICWS/connection"

          error
          Provides additional detail for an error.
          Property
          Value
          Comments
          errorId
          String
          The error identifier that describes the current error.
          message
          String

          Required

          A message that describes the current error.
          410 - Gone
          This resource has been deprecated and removed from the API.
          error
          Provides additional detail for an error.
          Property
          Value
          Comments
          errorId
          String
          The error identifier that describes the current error.
          message
          String

          Required

          A message that describes the current error.
          500 - Internal Server Error
          An unexpected error occurred while processing the request.
          error
          Provides additional detail for an error.
          Property
          Value
          Comments
          errorId
          String
          The error identifier that describes the current error.
          message
          String

          Required

          A message that describes the current error.