PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Possible error cases:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
GglListContactByRequest (Function)
In French: GglListeContactParRequête
Retrieves a list of contacts from custom parameters.
Example
// Connection
Cnt is gglConnection
...
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END
...
// Retrieves all the contacts updated since 08/08/2008
arrContacts is array of 0 gglContact
arrContacts = GglListContactByRequest(Cnt, "updated-min=2008-08-08")
// Retrieves the first 10 contacts updated since July 14, 1789
// in descending order
arrContacts = GglListContactByRequest(Cnt, ...
"updated-min=1789-07-14&start-index=1&max-results=10")
// Retrieves the contacts of a group (specified by its identifier)
// in descending order of update date
Identifier is string
Identifier = "http://www.google.com/feeds/contacts/groups/jo%40gmail.com/base/1234a"
arrContacts = GglListContactByRequest(Cnt, "sortorder=descending&group=" + Identifier)
Syntax
<Result> = GglListContactByRequest(<Google Connection> , <Parameters>)
<Result>: Array of gglContact variables
Name of array of gglContact variables.
<Google Connection>: gglConnection variable
Name of the gglConnection variable to use. This connection was validated by GglConnect.
Versions 20 and later
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
New in version 20
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
<Parameters>: Character string
Parameters that must be passed to the http request. The parameters are separated by the & character. See the documentation about the Google Contacts service for more details.
Remarks

Possible error cases:

  • The Internet connection is not valid.
  • The authentication was not performed properly.
  • The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred variable.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230ggl.dll
Windows Mobile wp230ggl.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment