federatedbookkeeping / timesheets

Federated Timesheets Project. Gitter: https://gitter.im/federatedbookkeeping/timesheets
MIT License
9 stars 1 forks source link

[timesheet-dev3-evoludata-com] How to get JSON instead of out of WikiSuite #48

Closed michielbdejong closed 2 years ago

michielbdejong commented 2 years ago

When I run:

curl -X 'GET' 'https://timesheet.dev3.evoludata.com/api/tabulars/6/export' -H 'accept: */*' -H 'Authorization: Bearer dbcafe758b6...'

I get CSV.

I tried:

curl -X 'GET' 'https://timesheet.dev3.evoludata.com/api/tabulars/6/export' -H 'Accept: application/json' -H 'Authorization: Bearer dbcafe758b6...'

but I still get CSV? Which Accept header should I send to get JSON?

kroky commented 2 years ago

Tabular data format is currently set to CSV. You can change it to JSON here: https://timesheet.dev3.evoludata.com/tiki-tabular-edit?tabularId=6 but I am not sure if someone else is using it. Maybe make a copy of that Full tabular format just for your usage and change that?

michielbdejong commented 2 years ago

OK I'll just import the CSV then, no problem!