We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

How can I get a Piano API report with dates that include timezones?

These legacy endpoints were deprecated and should no longer be used:

  • publisher/export/create/subscriptionDetailsReport

  • publisher/export/create/subscriptionDetailsReport/v2

  • publisher/export/create/subscriptionSummaryReport

The /v2 at the end of the individual API call indicates, that the date fields will be exported with a timezone.

For example, calling publisher/export/create/subscriptionDetailsReport will return the date fields in this format:

"Date" : "2020-07-30 12:56"

But calling publisher/export/create/subscriptionDetailsReport/v2, will return the fields like this:

"Date" : "2020-07-30 12:56:21 +0200"

Last updated: