Hi Glen,

The url to add a member to the group has the following format:

https://apps-apis.google.com/a/feeds/group/2.0/domain/groupId/member

Where "domain" and "groupId" are the only parameters you have to replace.
In your case, the url should look like:

https://apps-apis.google.com/a/feeds/group/2.0/cnm.edu/next_group/member

Your request must send the email address of the member to be added in the
body of the request, which has to look like the following:

<?xml version="1.0" encoding="UTF-8"?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom"; xmlns:apps="
http://schemas.google.com/apps/2006"; xmlns:gd="
http://schemas.google.com/g/2005";>
    <apps:property name="memberId" value="[email protected]"/>
</atom:entry>

Claudio

On Fri, Jun 8, 2012 at 9:15 AM, Glen Holcomb <[email protected]> wrote:

> I'm working with the REST API and am receiving an "Invalid request URI"
> when trying to add a member to a group.  My request URI appears to match
> the format provided in the documentation.
>
> https://apps-apis.google.com/a/feeds/group/2.0/cnm.edu/next_group/lholcomb2
>
> I get the same error when I specify the full email addresses of the group
> and user.  Any ideas what the request URI should actually look like?
>
> This is where I'm looking
> https://developers.google.com/google-apps/provisioning/#methods_for_group_members
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/sQSrx3D4Fj0J.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to