GET api/department/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Department
NameDescriptionTypeAdditional information
Id

integer

None.

name

string

None.

Description

string

None.

Principal

string

None.

Semestral

boolean

None.

isPrintOut

integer

None.

IDSystemCode

string

None.

IDSystemDB

string

None.

StudentLogin

integer

None.

SeniorHighComputation

integer

None.

ScienceAVG

integer

None.

DecimalPlaces

integer

None.

DepartmentType

string

None.

StudentEnrollment

boolean

None.

ValidateEnrollment

boolean

None.

PassingGrade

integer

None.

Block

boolean

None.

LowAdmissionYear

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "description": "sample string 3",
  "principal": "sample string 4",
  "semestral": true,
  "isPrintOut": 6,
  "idSystemCode": "sample string 7",
  "idSystemDB": "sample string 8",
  "studentLogin": 9,
  "seniorHighComputation": 10,
  "scienceAVG": 11,
  "decimalPlaces": 12,
  "departmentType": "sample string 13",
  "studentEnrollment": true,
  "validateEnrollment": true,
  "passingGrade": 16,
  "block": true,
  "lowAdmissionYear": 18
}

text/html

Sample:
{"id":1,"name":"sample string 2","description":"sample string 3","principal":"sample string 4","semestral":true,"isPrintOut":6,"idSystemCode":"sample string 7","idSystemDB":"sample string 8","studentLogin":9,"seniorHighComputation":10,"scienceAVG":11,"decimalPlaces":12,"departmentType":"sample string 13","studentEnrollment":true,"validateEnrollment":true,"passingGrade":16,"block":true,"lowAdmissionYear":18}

application/xml, text/xml

Sample:
<Department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
  <Block>true</Block>
  <DecimalPlaces>12</DecimalPlaces>
  <DepartmentType>sample string 13</DepartmentType>
  <Description>sample string 3</Description>
  <IDSystemCode>sample string 7</IDSystemCode>
  <IDSystemDB>sample string 8</IDSystemDB>
  <Id>1</Id>
  <LowAdmissionYear>18</LowAdmissionYear>
  <PassingGrade>16</PassingGrade>
  <Principal>sample string 4</Principal>
  <ScienceAVG>11</ScienceAVG>
  <Semestral>true</Semestral>
  <SeniorHighComputation>10</SeniorHighComputation>
  <StudentEnrollment>true</StudentEnrollment>
  <StudentLogin>9</StudentLogin>
  <ValidateEnrollment>true</ValidateEnrollment>
  <isPrintOut>6</isPrintOut>
  <name>sample string 2</name>
</Department>