User—Get User Id from loginName
The User—Get User Id from loginName API accepts the loginName in the URI and authentication for both SSO and non-SSO deployments. This API is only supported for Unified CCE deployments.
In Unified CCE, an agent is assigned with an AgentID (peripheral number) and a Login name, but they are different from one another.
Use the User—Get User Id from loginName API to retrieve the agent's peripheral ID from the LoginName.
Clients in Unified CCE SSO deployments can use the User—Get API request to retrieve the peripheralID using the username obtained from the Cisco Identity Service (IdS) token. The userName has to be URL encoded with UTF-8.
|
URI: |
For Unified CCE: https://<FQDN>/finesse/api/User/<loginName> For more information on supported characters, see the section "Sign In to Cisco Finesse Desktop" in the Cisco Finesse Agent and Supervisor Desktop User Guide. |
|
Example URI: |
https://finesse1.xyz.com/finesse/api/User/csmith |
|
Security Constraints: |
Agents can only get their own User object. Administrators can get any User object. To get the User object, a user must be signed in, or provide valid authorization credentials when challenged. |
|
HTTP Method: |
GET |
|
Content Type: |
— |
|
Input/Output Format: |
XML |
|
HTTP Request: |
— |
|
Request Parameters: |
— |
|
HTTP Response: |
200: Success 401: Authorization Failure 401: Invalid Authorization User Specified 404: User Not Found 500: Internal Server Error 503: Service Unavailable |
|
Example Response: |
|
|
Example Failure Response: |
|