Hi Jack, The XML element definitions in our documentation actually describes the content type of each field. Is that good enough for your purpose?
http://code.google.com/apis/apps/reporting/google_apps_reporting_api.html#XML_Element_Definitions Thanks, --Tony On Jan 30, 6:00 am, "[email protected]" <[email protected]> wrote: > I have written a script based on the reporting api php client library > to retrieve reports and insert them into a database. > > I use one table to store each report. Currently datatype of all the > fields have to be manually defined. However, given that future > versions of the API may add fields to additioal reports or amend > fields, it might not be a good idea to hard-code the datatype. > > Is there a way to determine the datatype of the fields in all the > reports? Reading a line of data and determine the datatype based on > the data is one possiblity, but if a field is empty, there is no way > to determine the datatype. > > Any suggestions? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
