GET api/v1/departments/{departmentId}

Returns a department for the given department Id. This is an asynchronous service.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
departmentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiResponseModelOfDepartmentModel
NameDescriptionTypeAdditional information
Data

ApiResponseDataModelOfDepartmentModel

None.

Errors

Collection of string

None.

Warnings

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "PageSize": 1,
    "Page": 2,
    "TotalPages": 3,
    "TotalResults": 4,
    "Results": {
      "DepartmentId": 1,
      "FacilityId": 2,
      "FacilityName": "sample string 3",
      "FacilityCoId": "sample string 4",
      "Code": "sample string 5",
      "Description": "sample string 6",
      "ScheduleFormatId": 1,
      "Disabled": true,
      "Version": "QEA=",
      "RowGuid": "2ce37687-5a51-44b2-8ed2-becab71b5612",
      "AutoRelease": true,
      "AutoReleaseHours": 10,
      "AutoConfirm": true,
      "DisableSelfSchedule": true,
      "LimitSelfScheduleToTarget": true,
      "IncludeInMORReport": true,
      "HRDepartmentCode": "sample string 14",
      "TAExportEnabled": true,
      "TAImportEnabled": true,
      "IsasStaffingGridStatusId": 17,
      "IsasVolumeForecastStatusId": 18,
      "UnitOfServiceLabel": "sample string 19",
      "CredentialTrackingStatusId": 1,
      "DaysBeforeCredExpToBlock": 1,
      "DefaultPatientClassificationRating": 20.0,
      "AccountingUnit": "sample string 21",
      "ClusterId": "e0926eb3-c507-4a8d-9417-dea0478ac303",
      "DepartmentStaffingGroupId": "86a7363a-43f5-4498-9e61-7f7fb3c71ecb",
      "CensusInterface": true,
      "HrCompany": 1,
      "ProcessLevel": 1,
      "EffectiveDaysBeforeCredentialExpiresToBlock": 23,
      "UseShiftTradeAutoApprovalRules": true,
      "UseFacilitySchedulePhaseAutomationTime": true,
      "SchedulePhaseAutomationTime": "2026-01-02T21:51:10.6848591-06:00"
    }
  },
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "Warnings": [
    "sample string 1",
    "sample string 2"
  ]
}