Retrieves the profiles associated with the specified user’s principal ID.

Syntax

http://server_name/api/xml?action=telephony-profile-list&principal-id=integer

Parameters

Name

Required?

Description

principal-id

N

Integer that specifies the principal ID of the user for whom profiles are retrieved. If you don’t specify a value, the logged-in user’s principal ID is used.

Permission

You must have view permissions on the principal-id, if provided.

Example

Request:

http://example.com/api/xml?action=telephony-profile-list&principal-id=11032

Response:

<results> 
    <status code="ok"/> 
    - 
    <telephony-profiles> 
        - 
        <profile profile-id="11091" provider-id="11049" profile-status="enabled"> 
            <adaptor-id>premiere-emea-adaptor</adaptor-id> 
            <name>Premiere EMEA</name> 
            <profile-name>PE1</profile-name> 
        </profile> 
        - 
        <profile profile-id="11232" provider-id="11035" profile-status="enabled"> 
            <adaptor-id>premiere-adaptor</adaptor-id> 
            <name>Premiere NA</name> 
            <profile-name>P2</profile-name> 
        </profile> 
    </telephony-profiles> 
</results>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy