get https://{hostname}/api/v1/forecasting/generic_departments
This operation returns all Generic Departments if no parameters are specified or a particular Generic Department by name.
The associated Access Control Point is Retail Manager > APIs > REST API > Setup.