2

API access to reporting

Tomaž Markelj

It would be nice to access the reporting module via API GET or JSON, to receive log data from other automated tools.

Since the reporting module is working as intended, only accessing it with curl/wget (for example) needs to be added. Exporting to CSV is already developed.

Something like this:
curl "https://smseagle.example.org/reports/csv?datefrom=2020-02-01&hourfrom=00&minutefrom=00&dateto=&hourto=23&minuteto=59&folder=sentitems&SenderNumber=&CreatorID=&DestinationNumber=&text=&sentitems_fields%5B0%5D=Status&sentitems_fields%5B1%5D=CreatorID"

and it would download the CSV.


Migrated from the SMSEagle UserReport forum (2020-02-17). Legacy status: Rejected.

Please sign in to leave a comment.