Documentation

Enumerates (lists) the invites currently pending for the Circle. 

Arguments

The ID of an existing Circle.

Returns

A list of all Invites currently pending against the specified Circle. Invites have no state; once an Invite is accepted, it is deleted.

API Definition

public async Task<EnumInvitesReply> EnumInvites(EnumInvitesRequest request) 

C# Structures:

public class EnumInviteRequest

{

  public string CircleId;

}

public class EnumInviteReply

{

  public ReturnStatus Status;

  public List<InviteInfo> Invites;

}

 

C# Example code:

public void EnumerateInvites(string circleId)

{

  EnumInvitesRequest request = new EnumInvitesRequest() { CircleId = circleId };

  EnumInvitesReply reply = _circle.EnumInvites(request);

  Console.WriteLine(reply.Status.Message);

  foreach (var invite in reply.Invites)

  {

    Console.WriteLine(invite.ToString());

  }

}