Community articleRetrieving profile tags 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 the tags assigned to a profile from the Profiles tag collection, send an HTTP GET request to the appropriate resource of the Administration API to retrieve the tags category document for that profile.



To retrieve the tags assigned to a profile from the Profiles tag collection, send an HTTP GET request to the appropriate resource of the Administration API to retrieve the tags category document for that profile.

You can retrieve tags created by any user for any user.

 

Input

None.


Output

A category Atom document of Profiles tags. The content type of the Atom document is application/atomcat+xml.

 

 

Input
Method URI Description
GET /profiles/admin/atom/profileTags.do Atom category document of Profiles tags
Name Type Optional Description
targetEmail
string Yes Specifies the unique ID of the person whose profile you want to apply the updated tags to. You must provide one target parameter, either this option or the targetEmail option.
targetKey
string No Specifies the unique ID of the person whose profile you want to apply the updated tags to. You must provide one target parameter, either this option or the targetEmail option.
sourceEmail
string Yes Specifies the email address of the creator of the tags. If you specify a source parameter at all, you must specify either this option or the sourceKey option.
sourceKey
string No Specifies the unique ID of the creator of the tags. If you specify a source parameter at all, you must specify either this option or the sourceEmail option.
format
enumerated No Specifies how much tag information you want to retrieve. The options are lite and full. Lite returns a list of the tags, and indicates how many times the tag was assigned to a profile. Specify format=full to also return information about which users have applied each tag.
Using the full option returns a list of the tags, how many times they were assigned, and who created them. The default is format=lite.
Authorized values:
  • lite
  • full
Output
Content Type: application/atomcat+xml
Code Description
200
OK. Indicates that the request was received successfully.