def get_consent_record(self, request):
username, course_id, program_uuid, enterprise_customer_uuid = self.get_required_query_params(request)<EOL>return get_data_sharing_consent(<EOL>username,<EOL>enterprise_customer_uuid,<EOL>course_id=course_id,<EOL>program_uuid=program_uuid<EOL>)<EOL>
Get the consent record relevant to the request at hand.