Community articleRetrieving profile entries using the Administration API
Added by IBM contributorIBM | Edited by IBM contributorLDD Webmaster on July 1, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To retrieve a profile entry, send a GET request to the appropriate resource of the Administration API.



To retrieve a profile entry, send a GET request to the appropriate resource of the Administration API.
 

You must provide either the email or userid parameter as part of the request.
 

Input

None.

Output

Atom entry document representing the profile. Only the fields in the profile which contain data will be included in the returned entry. For example, if no fax number is specified for the user profile, the element representing the fax field is not returned.

 

Input
Method URI Description
GET /profiles/admin/atom/profileEntry.do To retrieve a profile entry.
Content Type: application/atom+xml
Name Type Optional Description
email
string Yes Internet email address of the user whose profile you want to retrieve. Format the HTTP request using the proper URL encoding. For example, the encoded form of the @ symbol is %40.
Note: Do not use this parameter if Connections is configured to prevent email addresses from being displayed. It will return an error code 400 for an invalid request. Use the key or userid parameters instead.
This parameter is ignored if the userid parameter is also specified.
userid
string No Unique ID that represents a specific person. This value is specified in the <snx:userid> element.
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the request was received successfully.
400
Bad Request. Returned when no matching user record can be found.
403
Forbidden. The server refuses to fulfill a request, typically because the request was for an object that you don't have permission to access.
404
Not Found