GET api/Department/Dept

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MstDepartmentSpinner
NameDescriptionTypeAdditional information
DepartmentID

integer

None.

DepartmentName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DepartmentID": 1,
    "DepartmentName": "sample string 2"
  },
  {
    "DepartmentID": 1,
    "DepartmentName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMstDepartmentSpinner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mPigeonAPI.Models">
  <MstDepartmentSpinner>
    <DepartmentID>1</DepartmentID>
    <DepartmentName>sample string 2</DepartmentName>
  </MstDepartmentSpinner>
  <MstDepartmentSpinner>
    <DepartmentID>1</DepartmentID>
    <DepartmentName>sample string 2</DepartmentName>
  </MstDepartmentSpinner>
</ArrayOfMstDepartmentSpinner>