GET api/EmployeeMaster/GetAllSection?StrDeptCode={StrDeptCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
StrDeptCode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EmployeeSection
NameDescriptionTypeAdditional information
SectCode

string

None.

SectCode_D

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SectCode": "sample string 1",
    "SectCode_D": "sample string 2"
  },
  {
    "SectCode": "sample string 1",
    "SectCode_D": "sample string 2"
  }
]

text/html

Sample:
[{"SectCode":"sample string 1","SectCode_D":"sample string 2"},{"SectCode":"sample string 1","SectCode_D":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfEmployeeSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNS_WebAPI.Models">
  <EmployeeSection>
    <SectCode>sample string 1</SectCode>
    <SectCode_D>sample string 2</SectCode_D>
  </EmployeeSection>
  <EmployeeSection>
    <SectCode>sample string 1</SectCode>
    <SectCode_D>sample string 2</SectCode_D>
  </EmployeeSection>
</ArrayOfEmployeeSection>