I am using the API documented here: 
http://code.google.com/googleapps/domain/email_settings/developers_guide_protocol.html#GA_email_filter_main

I have an app setup right now that uses the oauth to retrieve information 
from a test google account.  The problem I am having now is testing out 
adding a filter.  I am using the OAuth Playground: 
http://googlecodesamples.com/oauth_playground/index.php

I added this to the Scope: 
https://apps-apis.google.com/a/feeds/emailsettings/2.0/  in the playground.

Then I do the token authorizing for my domain to get the proper tokens.  
All of that works.  Then I try this to test adding a filter:
I put this url in the Execute field: 
https://apps-apis.google.com/a/feeds/emailsettings/2.0/gmail.com/demolishun.test1/filter
I put this in the 'enter post data' popup: 
<?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";>
    <apps:property name="from" value="[email protected]" />
    <apps:property name="hasTheWord" value="project proposal" />
    <apps:property name="shouldMarkAsRead" value="true" />
</atom:entry>

Everytime I try executing I get this response:

HTTP/1.1 403 Invalid domain.

Everything I have read seems to indicate this should work.


-- 
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/-/pyvWLTB6P2MJ.
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