def get_required_query_params(self, request):
username = get_request_value(request, self.REQUIRED_PARAM_USERNAME, '<STR_LIT>')<EOL>course_id = get_request_value(request, self.REQUIRED_PARAM_COURSE_ID, '<STR_LIT>')<EOL>program_uuid = get_request_value(request, self.REQUIRED_PARAM_PROGRAM_UUID, '<STR_LIT>')<EOL>enterprise_customer_uuid = get_request_value(request, self.REQUIRED_PARAM_ENTERPRISE_CUSTOMER)<EOL>if not (username and (course_id or program_uuid) and enterprise_customer_uuid):<EOL><INDENT>raise ConsentAPIRequestError(<EOL>self.get_missing_params_message([<EOL>("<STR_LIT>", bool(username)),<EOL>("<STR_LIT>", bool(enterprise_customer_uuid)),<EOL>("<STR_LIT>", bool(course_id or program_uuid)),<EOL>])<EOL>)<EOL><DEDENT>return username, course_id, program_uuid, enterprise_customer_uuid<EOL>
Gets ``username``, ``course_id``, and ``enterprise_customer_uuid``,
which are the relevant query parameters for this API endpoint.

:param request: The request to this endpoint.
:return: The ``username``, ``course_id``, and ``enterprise_customer_uuid`` from the request.