GET api/EmployeeMaster/GetEmployeeDepartment

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EmployeeDepartment
NameDescriptionTypeAdditional information
DeptCode

string

None.

DeptCode_D

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DeptCode": "sample string 1",
    "DeptCode_D": "sample string 2"
  },
  {
    "DeptCode": "sample string 1",
    "DeptCode_D": "sample string 2"
  }
]

text/html

Sample:
[{"DeptCode":"sample string 1","DeptCode_D":"sample string 2"},{"DeptCode":"sample string 1","DeptCode_D":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfEmployeeDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNS_WebAPI.Models">
  <EmployeeDepartment>
    <DeptCode>sample string 1</DeptCode>
    <DeptCode_D>sample string 2</DeptCode_D>
  </EmployeeDepartment>
  <EmployeeDepartment>
    <DeptCode>sample string 1</DeptCode>
    <DeptCode_D>sample string 2</DeptCode_D>
  </EmployeeDepartment>
</ArrayOfEmployeeDepartment>