I want to get audit log from 10 days ago.
activity_list = activities.list(
applicationId='207535951991',customerId='xxxxxxx').execute
This works fine.but
activity_list = activities.list(
applicationId='207535951991',customerId='xxxxxxx',startTime =
datetime.datetime.today() - datetime.timedelta(days=10) ).execute()
This result Bad request
HttpError: <HttpError 400 when requesting
https://www.googleapis.com/apps/reporting/audit/v1/[customerID]/207535951991?alt=json&startTime=2012-08-14+17%3A53%3A51.990000
returned "Bad Request">
Would somebody please tell me how to set condition of startTime using
Python API?
--
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/-/DcOdibsp5qUJ.
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.