Exports

You can build your own transaction or promotioncode export URLs.

Transaction exports:
Go to the transaction page in the Daisycon interface and click “Export” -> “Export URL”. You will see a URL looking like this:
https://export.daisycon.com/publishers/123456/transactions/csv?end_date=2017-01-31+23:59:59&start_date=2017-01-01+00:00:00&token=abcdefghijklmnnop12345678&[email protected]

This will generate a CSV export for user [email protected] for January. In this URL you can change the date ranges and retrieve the transaction exports.

Promotion code exports:
Go to the promotion code page in the Daisycon interface and click “Export” -> “Export URL”. You will see a URL looking like this:

https://export.daisycon.com/publishers/123456/material/promotioncodes/csv?media_id=56789&token=abcdefghijklmnnop12345678&[email protected]
This will generate a CSV export for user [email protected]ycon.com for media 56789. In this URL you can change the mediaID and retrieve the promotion code exports.

Exports in other formats:
Our interface standard returns the exports in CSV formatting, but they can also be exported in XML, JSON , RSS, XLSX and XML. Therefore you need to create a valid export token and build a URL yourself. This can be done using our export API service (see documentation below). First copy and paste the URL you want to export without the domain and the query parameters, for example ‘/publishers/123456/material/promotioncodes/csv’. Then replace ‘csv’ with the requested format, for example ‘xml’ and post this (in this example ‘/publishers/123456/material/promotioncodes/xml’) in the report_path of our export API service. Our API will return a token for generating the XML export.

Finally add the domain (https://export.daisycon.com) and query string to and you’ll receive a promotion code export in XML format.
https://export.daisycon.com/publishers/123456/material/promotioncodes/xml?media_id=56789&token=12345678abcdefghijklmnnop&[email protected]

Filtering:
You can add filters to the generated export URLs for filtering on program_id, locale_id, category_id and subscription_status by adding these filters to the query string. For example:
https://export.daisycon.com/publishers/123456/material/promotioncodes/xml?media_id=56789&token=12345678abcdefghijklmnnop&[email protected]&program_id=1400&subscription_status=pending,approved