GET api/SemesterTypes/{id}

Returns a specific semester type

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the semester type

integer

Required

Body Parameters

None.

Response Information

Resource Description

SemesterType
NameDescriptionTypeAdditional information
SemesterTypeId

integer

None.

Description

string

None.

IsActive

boolean

None.

Links

Collection of Link

None.

Response Formats

application/json, text/json

Sample:
{
  "SemesterTypeId": 1,
  "Description": "sample string 2",
  "IsActive": true,
  "Links": [
    {
      "Rel": "sample string 1",
      "Href": "sample string 2",
      "Title": "sample string 3",
      "Type": "sample string 4"
    },
    {
      "Rel": "sample string 1",
      "Href": "sample string 2",
      "Title": "sample string 3",
      "Type": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<SemesterType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProClassApi.Web.Api.Models">
  <Description>sample string 2</Description>
  <IsActive>true</IsActive>
  <Links>
    <Link>
      <Href>sample string 2</Href>
      <Rel>sample string 1</Rel>
      <Title>sample string 3</Title>
      <Type>sample string 4</Type>
    </Link>
    <Link>
      <Href>sample string 2</Href>
      <Rel>sample string 1</Rel>
      <Title>sample string 3</Title>
      <Type>sample string 4</Type>
    </Link>
  </Links>
  <SemesterTypeId>1</SemesterTypeId>
</SemesterType>