Home

 

Inviting a person to become your colleague

To invite a person to become your colleague, send an Atom entry document containing the connection resource to the person's colleague connections feed.

To find a person's colleague connections feed, you can search for the person by name. From the returned feed, find the person and retrieve her associated user ID, and then use the user ID to retrieve the person's full feed, which includes a link to her colleague connections feed.

After you send the invitation, the connection is added to your connections in an unconfirmed state. The connection is added to the connections of the person you invited in a pending state. See Accepting an invitation to become a colleague or Deleting connections for information on how to accept or decline an invitation.

See Authenticating requests for information about how to authenticate the request.


Atom API request details

Method Resource URI Input representation
POST colleague connections feed Value of the href attribute of the <link> element with the rel="http://www.ibm.com/xmlns/prod/sn/connections/colleague" attribute value.

You must include the connectionType=colleague parameter with this request.

connection

 

Input

Provide a connection Atom entry document.

The content type of the Atom entry document must be application/atom+xml.

 

Output

An Atom entry document containing the new connection. Returned HTTP Headers

Error codes

 

Example

To invite someone to become a colleague, you can send the following HTTP request:

Request content:

HTTP response:


Working with colleague connections

 

Related reference


Colleague connection entry content


+

Search Tips   |   Advanced Search