Returns a SubjectGuide model for the passed section params:

    year: year for the section term (4-digits)
    quarter: quarter (AUT, WIN, SPR, or SUM)
    curriculum_abbr: curriculum abbreviation
    course_number: course number
    section_id: course section identifier (optional)

def get_subject_guide_for_section_params(
        year, quarter, curriculum_abbr, course_number, section_id=None):
    """
    Returns a SubjectGuide model for the passed section params:

    year: year for the section term (4-digits)
    quarter: quarter (AUT, WIN, SPR, or SUM)
    curriculum_abbr: curriculum abbreviation
    course_number: course number
    section_id: course section identifier (optional)
    """

    quarter = quarter.upper()[:3]

    url = "{}/{}/{}/{}/{}/{}/{}".format(
        subject_guide_url_prefix, 'course', year, quarter,
        quote(curriculum_abbr.upper()), course_number, section_id.upper())
    headers = {'Accept': 'application/json'}

    response = SubjectGuide_DAO().getURL(url, headers)
    response_data = str(response.data)
    if response.status != 200:
        raise DataFailureException(url, response.status, response_data)

    return _subject_guide_from_json(json.loads(response.data))