Trouble with full JSON export using the API
-
Hi Scott!
I love your plugin and it has helped me tremendously to develop some neat reports from my website.
However, I’m having trouble with the API. The API works fine if I’m exporting a report to a CSV/JSON-file but when I tried the third API call (which to my understanding should return the actual JSON string and is shown below) I keep on getting an error {“success”:false,”data”:”Invalid Export Type”}.
URL to JSON API (full data): https://xxxxx.com/wp-content/plugins/exports-and-reports/api.php?report=YOUR_REPORT_ID&full=1&action=json&token=5a91945da452732d741ab189fe2ec5dc
When I looked at the source code of the api.php I can’t seem to find a section where action=json is listed. I can find action=manage and action=export. Am I mistaken or is the third full JSON not implemented yet?
Anyways, it’s a fantastic plugin as it is. This full JSON API would be the crown jewel because this way I could easily connect one website to another.
- The topic ‘Trouble with full JSON export using the API’ is closed to new replies.