GET api/Departments/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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-17T09:23:53.1083941-07:00",
  "PositionCount": 6
}

application/xml, text/xml

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