GET api/Departments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of DepartmentModel
NameDescriptionTypeAdditional information
DepartmentID

integer

None.

ClientID

integer

None.

DeptName

string

None.

DeptNameValue

string

None.

AuditInProgress

boolean

None.

DateAuditStart

date

None.

PositionCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DepartmentID": 1,
    "ClientID": 2,
    "DeptName": "sample string 3",
    "DeptNameValue": "sample string 4",
    "AuditInProgress": true,
    "DateAuditStart": "2021-10-17T07:55:56.6545568-07:00",
    "PositionCount": 6
  },
  {
    "DepartmentID": 1,
    "ClientID": 2,
    "DeptName": "sample string 3",
    "DeptNameValue": "sample string 4",
    "AuditInProgress": true,
    "DateAuditStart": "2021-10-17T07:55:56.6545568-07:00",
    "PositionCount": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfDepartmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
  <DepartmentModel>
    <AuditInProgress>true</AuditInProgress>
    <ClientID>2</ClientID>
    <DateAuditStart>2021-10-17T07:55:56.6545568-07:00</DateAuditStart>
    <DepartmentID>1</DepartmentID>
    <DeptName>sample string 3</DeptName>
    <DeptNameValue>sample string 4</DeptNameValue>
    <PositionCount>6</PositionCount>
  </DepartmentModel>
  <DepartmentModel>
    <AuditInProgress>true</AuditInProgress>
    <ClientID>2</ClientID>
    <DateAuditStart>2021-10-17T07:55:56.6545568-07:00</DateAuditStart>
    <DepartmentID>1</DepartmentID>
    <DeptName>sample string 3</DeptName>
    <DeptNameValue>sample string 4</DeptNameValue>
    <PositionCount>6</PositionCount>
  </DepartmentModel>
</ArrayOfDepartmentModel>