API change requests

I’m trying to build monthly timesheets reports using the API. Some functionality is missing from the API the facilitate the process.

  1. A way to retrieve a list of activities based on date. Eg. Give me all activities created_at: April.
    This will allow a report to be generated by backfilling the ticket information based on the selected activities. This matters if a ticket remains open across months but billing is done based on period and not closed status. Currently, the only way to accomplish this is to dump a bunch of tickets and then filter by activities.

  2. Way to retrieve time_accounting.type_name via API

As far as I can tell there is no way to map time_accounting.type_id → time_accounting.type_name for display on my reports.

Since I only have 2 types currently, I’m doing a manual mapping via a dictionary in python.

I sorted out item #2 by adding expand=true