GET api/Department

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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"
  },
  {
    "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:
<ArrayOfutblMstDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mPigeonAPI.Models">
  <utblMstDepartment>
    <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>
  <utblMstDepartment>
    <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>
</ArrayOfutblMstDepartment>