Retrieving an invitation
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 15, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To retrieve complete information about an invitation, use the edit link found in the invitation entry in the My Invitations feed.
Tags: commapi
This method returns the Atom entry of a single invitation entry as opposed to a feed of all the invitation entries. If you want to retrieve a feed, see Getting the My Invitations feed.
Input
Method URI Description
GET /communities/service/atom/community/invites Value of the href attribute of <link rel="edit"> element of each entry in the My Invitations feed.
Name Type Optional Description
communityUuid
string No The uuid of community that you want to query about. This is a mandatory parameter
userid
string No id of user you wish to retrieve invitation for
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the invitation was successfully found and returned. If an error occurs, this header will contain one of the error codes below.
403
Unauthorized.
404
Not Found.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.