Create profile tags 

To assign tags to another user's profile, use a HTTP PUT to add the tags listed in the tag creator's tags category document.

You can only add tags that are created by the user whose credentials you provided to authenticate with the server. See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method Resource URI Input representation
PUT Atom category document /atom/profileTags.do Profiles tags category document

Table 2. Input parameters

Parameter Description
targetEmail Specifies the email address of the person whose profile you want to apply the tags to. Provide one target parameter, either this option or the targetKey option.
targetKey Specifies the unique ID of the person whose profile you want to apply the tags to. Provide one target parameter, either this option or the targetEmail option.
sourceEmail Specifies the email address of the creator of the tags. Provide one source parameter, either this option or the sourceKey option.
sourceKey Specifies the unique ID of the creator of the tags. Provide one source parameter, either this option or the sourceEmail option.


Input

Provide a profile tags Atom categories document.

Note: The content type of the Atom entry document must be application/atomcat+xml.


Output

None.

Returned HTTP headers

HTTP/1.1 200 OK

HTTP/1.1 400 Bad Request


Parent topic

Work with profile tags

Related reference
Tags category document


   

 

});