GET api/department?syncStamp={syncStamp}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
syncStamp

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Department
NameDescriptionTypeAdditional information
DepartmentCode

string

None.

DepartmentName

string

None.

Inactive

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DepartmentCode": "sample string 1",
    "DepartmentName": "sample string 2",
    "Inactive": true
  },
  {
    "DepartmentCode": "sample string 1",
    "DepartmentName": "sample string 2",
    "Inactive": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.CO">
  <Department>
    <DepartmentCode>sample string 1</DepartmentCode>
    <DepartmentName>sample string 2</DepartmentName>
    <Inactive>true</Inactive>
  </Department>
  <Department>
    <DepartmentCode>sample string 1</DepartmentCode>
    <DepartmentName>sample string 2</DepartmentName>
    <Inactive>true</Inactive>
  </Department>
</ArrayOfDepartment>