catalogEnrollmentProgramsRetrieveWithHttpInfo method
GET Search program enrollments user_id or program_id/slug should be required Params: user_id program_id slug org program_type (string): 'standard', 'platform', 'custom'
Note: This method returns the HTTP Response.
Implementation
Future<Response> catalogEnrollmentProgramsRetrieveWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/api/catalog/enrollment/programs/';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}