Use this when the change type field is not returned by the Download the report by ID endpoint, but is present in the Bob UI.
If the API response is missing the change type, check the service user's permission group. The change type field is considered sensitive, so the service user needs the additional "Edit selected employees' Work sections" permission for the value to be returned.
* Go to System Settings > Permission groups.
* Open the permission group used by the service user.
* Select the People's data tab.
* Under People > Work, enable Edit selected employees' Work sections.
* Save the permission update.
Call the Download the report by ID endpoint again:
https://api.hibob.com/v1/company/reports/{reportId}/download
After this permission is granted, the change type field should be included in the API response.