GET api/apcpetition/primadvisor?studentId={studentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
studentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Advisor
NameDescriptionTypeAdditional information
ClassYear

string

None.

AdvisorID

integer

None.

AdvisorName

string

None.

AdvisorEmail

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClassYear": "sample string 1",
    "AdvisorID": 2,
    "AdvisorName": "sample string 3",
    "AdvisorEmail": "sample string 4"
  },
  {
    "ClassYear": "sample string 1",
    "AdvisorID": 2,
    "AdvisorName": "sample string 3",
    "AdvisorEmail": "sample string 4"
  }
]

text/javascript

Sample:
[{"ClassYear":"sample string 1","AdvisorID":2,"AdvisorName":"sample string 3","AdvisorEmail":"sample string 4"},{"ClassYear":"sample string 1","AdvisorID":2,"AdvisorName":"sample string 3","AdvisorEmail":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfAdvisor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pomona.WebApi.Models">
  <Advisor>
    <AdvisorEmail>sample string 4</AdvisorEmail>
    <AdvisorID>2</AdvisorID>
    <AdvisorName>sample string 3</AdvisorName>
    <ClassYear>sample string 1</ClassYear>
  </Advisor>
  <Advisor>
    <AdvisorEmail>sample string 4</AdvisorEmail>
    <AdvisorID>2</AdvisorID>
    <AdvisorName>sample string 3</AdvisorName>
    <ClassYear>sample string 1</ClassYear>
  </Advisor>
</ArrayOfAdvisor>