THANK YOU!!! :)

My Perl script is working.

Cheers,

Jesse

On Thu, Apr 2, 2009 at 9:32 AM, Anirudh (Google) <[email protected]> wrote:

>
> Hey Jesse,
>
> The token that you use for Provisioning API is Auth token. Reporting
> API works with SID token.
>
> When you use the ClientLogin interface to authenticate, you will
> receive both:
>
> http://code.google.com/apis/apps/reporting/google_apps_reporting_api.html#Authentication
>
> -Anirudh
>
> On Apr 2, 4:55 pm, Jesse Canuel <[email protected]> wrote:
> > Hi Anirudh,
> >
> > I don't know exactly what you mean by SID token.  I'm using the same
> token
> > that we use for the Provisioning API when we create and delete email
> > accounts.
> >
> > Cheers,
> >
> > Jesse
> >
>  > On Thu, Apr 2, 2009 at 7:23 AM, Anirudh (Google) <[email protected]>
> wrote:
> >
> > > Hey Jesse,
> >
> > > Can you confirm if you are using the SID token value for the <token>
> > > element ?
> >
> > > -Anirudh
> >
> > > On Apr 1, 9:59 pm, Jesse <[email protected]> wrote:
> > > > Hi,
> >
> > > > I'm hoping that somebody can help me out.  I'm receiving a 404 error
> > > > message whenever I post my XML document.  I'm trying to use the
> Google
> > > > Reporting API.
> >
> > > > Thank you in advance.
> >
> > > > Here is my XML and post response:
> >
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <rest xmlns="google:accounts:rest:protocol" xmlns:xsi="
> > >http://www.w3.org/2001/XMLSchema-instance";>
> > > >  <type>Report</type>
> > > >  <token>myToken</token>
> > > >  <domain>lakeheadu.ca</domain>
> > > >  <date>2009-03-23</date>
> > > >  <page>1</page>
> > > >  <reportType>daily</reportType>
> > > >  <reportName>accounts</reportName>
> > > > </rest>
> > > > 404 Not Found
> > > > POSThttps://
> www.google.com/hosted/services/v1.0/reports/ReportingData
> > >  > User-Agent: libwww-perl/5.808
> >
> > > > XML::LibXML::Document=SCALAR(0x2e52c)
> >
> > > > ------
> > > > HTTP/1.1 404 Not Found
> > > > Cache-Control: no-cache, no-store, max-age=0, must-revalidate
> > > > Connection: Close
> > > > Date: Mon, 30 Mar 2009 14:59:12 GMT
> > > > Pragma: no-cache
> > > > Server: GFE/1.3
> > > > Content-Length: 141
> > > > Content-Type: text/html; charset=UTF-8
> > > > Expires: Fri, 01 Jan 1990 00:00:00 GMT
> > > > Client-Date: Mon, 30 Mar 2009 15:01:18 GMT
> > > > Client-Peer: 72.14.205.104:443
> > > > Client-Response-Num: 1
> > > > Client-SSL-Cert-Issuer: /C=ZA/O=Thawte Consulting (Pty)
> Ltd./CN=Thawte
> > > > SGC CA
> > > > Client-SSL-Cert-Subject: /C=US/ST=California/L=Mountain View/O=Google
> > > > Inc/CN=www.google.com
> > > > Client-SSL-Cipher: RC4-SHA
> > > > Client-SSL-Warning: Peer certificate not verified
> > > > Title: Not Found
> > > > X-Content-Type-Options: nosniff
> >
> > > > <HTML>
> > > > <HEAD>
> > > > <TITLE>Not Found</TITLE>
> > > > </HEAD>
> > > > <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
> > > > <H1>Not Found</H1>
> > > > <H2>Error 404</H2>
> > > > </BODY>
> > > > </HTML>
> >
> > > > Thank you,
> >
> > > > Jesse
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps 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-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to