GET api/apcpetition/coursework?studentId={studentId}&termKey={termKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
studentId

integer

Required

termKey

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CourseSection
NameDescriptionTypeAdditional information
Catalog

string

None.

CourseNumber

string

None.

CourseTitle

string

None.

Section

string

None.

InstructorCxID

integer

None.

InstructorName

string

None.

InstructorEmail

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Catalog": "sample string 1",
    "CourseNumber": "sample string 2",
    "CourseTitle": "sample string 3",
    "Section": "sample string 4",
    "InstructorCxID": 5,
    "InstructorName": "sample string 6",
    "InstructorEmail": "sample string 7"
  },
  {
    "Catalog": "sample string 1",
    "CourseNumber": "sample string 2",
    "CourseTitle": "sample string 3",
    "Section": "sample string 4",
    "InstructorCxID": 5,
    "InstructorName": "sample string 6",
    "InstructorEmail": "sample string 7"
  }
]

text/javascript

Sample:
[{"Catalog":"sample string 1","CourseNumber":"sample string 2","CourseTitle":"sample string 3","Section":"sample string 4","InstructorCxID":5,"InstructorName":"sample string 6","InstructorEmail":"sample string 7"},{"Catalog":"sample string 1","CourseNumber":"sample string 2","CourseTitle":"sample string 3","Section":"sample string 4","InstructorCxID":5,"InstructorName":"sample string 6","InstructorEmail":"sample string 7"}]

application/xml, text/xml

Sample:
<ArrayOfCourseSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pomona.WebApi.Models">
  <CourseSection>
    <Catalog>sample string 1</Catalog>
    <CourseNumber>sample string 2</CourseNumber>
    <CourseTitle>sample string 3</CourseTitle>
    <InstructorCxID>5</InstructorCxID>
    <InstructorEmail>sample string 7</InstructorEmail>
    <InstructorName>sample string 6</InstructorName>
    <Section>sample string 4</Section>
  </CourseSection>
  <CourseSection>
    <Catalog>sample string 1</Catalog>
    <CourseNumber>sample string 2</CourseNumber>
    <CourseTitle>sample string 3</CourseTitle>
    <InstructorCxID>5</InstructorCxID>
    <InstructorEmail>sample string 7</InstructorEmail>
    <InstructorName>sample string 6</InstructorName>
    <Section>sample string 4</Section>
  </CourseSection>
</ArrayOfCourseSection>