Discussions
reports.custom API
over 6 years ago by Daryl Bert
I am using the reports.custom module to pull a timesheet report. I would like to add the id and positions field to the request. However, it is not a field that is listed in the API documentation. The following works but only includes the fields listed below (the only fields that I see in the API documentation).
'data=' + '{"token":"' + APIToken + '",
"module":"reports.custom",
"method":"GET",
"request":{"fields":["employee","location","start_day","start_time","end_day","end_time","total_time"],
"start_date":"April 30, 2018",
"end_date":"May 06, 2018",
"type":"timesheets"}}'
Is there a way to add "Position" and "ID" to this request?
Thanks