Hello,

Unfortunately, I won't be able to help you with the Provisioning API as I am
not a specialist on this product. As another test, have you tried directly
retrieving the profiles you were expecting to find?
Try sending a GET request to an URL that should look like:
  https://www.google.com/m8/feeds/profiles/domain/<DOMAIN>/full/<USERNAME>

Where <DOMAIN> is the domain the user belongs to and <USERNAME> the username
of the user. If this fails (404, 500, etc), that would mean that there is an
issue with those users (not properly created, other issues).

Thanks!
Alain

On Tue, Oct 18, 2011 at 8:36 PM, fabouru <[email protected]> wrote:

> > Hello,
> >
> > Thanks for the details! Have you tried using the provisioning API to
> > retrieve the accounts? If those accounts are not available through this
> API
> > as well, that would mean that there might be an issues with those (not
> > properly created).
> >
>
> when im designed the app I was using the provisioning api, but It was
> like 8 months ago, today I test the same function and I have problems
> of header authorization, If you contact me by private I can share the
> code of the call to give me some direction of where would be the
> problem.
>
> > Also, are you making one API call (requesting the feed from the main
> domain)
> > or are you doing multiple API calls (one for each domain)?
>
> I'm doing N calls (steps of 500) in each call in one domain at time,
> when I get all the contacts of the domain, I continue with the other
> one.
>
> Regards!
>
> >
> > Best,
> > Alain
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Oct 18, 2011 at 6:34 PM, fabouru <[email protected]>
> wrote:
> > > Hello Alain,
> >
> > > answers below
> >
> > > On Oct 18, 8:26 am, Alain Vongsouvanh <[email protected]> wrote:
> > > > Hello,
> >
> > > > I am sorry but I'm not sure I understand your issue. You have Google
> Apps
> > > > domain configured with 6 domains and your application wants to
> retrieve
> > > User
> > > > Profiles for all domains, is that correct?
> >
> > > No, i'm trying to get all the profiles from one domain and i gets
> > > 11300 profiles that some of them are from the domain that I want, so i
> > > have to filter, but from the domain that i'm filtering, also I'm not
> > > getting all the profiles that it supposed to be, because the client
> > > gave me 3 accounts to do some test, and casually these 3 account have
> > > not retrieved by the application (that's the reason that I found the
> > > issue).
> >
> > > > As I understand, you run your application on each domain and print
> the
> > > > number of Profiles retrieved from domain A to domain F (which is more
> > > than 6
> > > > domains).
> >
> > > No, thats no the objective of the app, I'm getting the profiles to use
> > > them as a configuration in some other task, but first I need the
> > > accounts/profiles for each domain that I will work
> >
> > > > What is the expected result and what do you get instead? Is the issue
> > > coming
> > > > from domain F which sometimes return 173 Profiles, and sometimes 337?
> Do
> > > you
> > > > have issues with domains A through G?
> >
> > > I do not know which is the correct number (the client have not told
> > > me), but clearly is not getting the correct number, because these 3
> > > account was not appeared in the result.
> >
> > > > Thanks!
> > > > Alain
> >
> > > > On Mon, Oct 17, 2011 at 9:10 PM, fabouru <[email protected]>
> > > wrote:
> > > > > Dear,
> >
> > > > > I'm having problems with provisioning api, when I´m trying to
> obtain
> > > > > all the users from a domain, the particularity of this domain is
> that
> > > > > was configured as Multi Domains, in this case it supposed to be 6
> > > > > domains configured (I said "supposed" because we don't have access
> to
> > > > > admin panel, the client is not one of ours in Gapps)
> >
> > > > > When I call the get method
> >
> > > > >https://www.google.com/m8/feeds/profiles/domain/"; + domainURL + "/
> > > > > full"
> > > > >                    + "?xoauth_requestor_id=" + domainAdmin
> > > > >                    + "&start-index=" + startIndex
> > > > >                    + "&max-results=" + maxResults
> > > > >                    + "&v=3.0";
> >
> > > > > In the code, I have obtained:
> >
> > > > > domain A => 339 user profiles
> > > > > domain B => 76
> > > > > domain C => 1169
> > > > > domain D => 19
> > > > > domain E => 6352
> > > > > domain F => 57
> > > > > domain G => 37
> > > > > domain F => sometimes I've got 173 ... others 337
> >
> > > > > I do not know why this happens, we think that could be something
> about
> > > > > "partially created account"
> >
> > > > > I'm accessing this domain with one of our test domains to get the
> > > > > contacts (if this is relevant), If is neccesary more info I can
> tell
> > > > > in PM.
> >
> > > > > This case Is very urgent to solve... regards!
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > > > Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html
> >
> > > > --
> > > > Alain Vongsouvanh | Developer Programs Engineer
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html
> >
> > --
> > Alain Vongsouvanh | Developer Programs Engineer
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html
>



-- 
Alain Vongsouvanh | Developer Programs Engineer

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html

Reply via email to