GET api/Department/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

utblMstDepartment
NameDescriptionTypeAdditional information
DepartmentID

integer

None.

DepartmentName

string

None.

DepartmentAddress

string

None.

EmergencyContactNo

string

None.

DepartmentEmailID

string

None.

DepartmentWebsite

string

None.

DepartmentLogo

string

None.

ReceiveAlert

boolean

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DepartmentID": 1,
  "DepartmentName": "sample string 2",
  "DepartmentAddress": "sample string 3",
  "EmergencyContactNo": "sample string 4",
  "DepartmentEmailID": "sample string 5",
  "DepartmentWebsite": "sample string 6",
  "DepartmentLogo": "sample string 7",
  "ReceiveAlert": true,
  "UserName": "sample string 9"
}

application/xml, text/xml

Sample:
<utblMstDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mPigeonAPI.Models">
  <DepartmentAddress>sample string 3</DepartmentAddress>
  <DepartmentEmailID>sample string 5</DepartmentEmailID>
  <DepartmentID>1</DepartmentID>
  <DepartmentLogo>sample string 7</DepartmentLogo>
  <DepartmentName>sample string 2</DepartmentName>
  <DepartmentWebsite>sample string 6</DepartmentWebsite>
  <EmergencyContactNo>sample string 4</EmergencyContactNo>
  <ReceiveAlert>true</ReceiveAlert>
  <UserName>sample string 9</UserName>
</utblMstDepartment>