---
agentTools:
  projectIndex: https://pfpro.readme.io/llms.txt
---

# Get Departments (Regional)

This drilldown search returns any Departments that match the requested State, City, Industry, and Level

[block:callout]
{
  "type": "danger",
  "title": "Please Note:",
  "body": "The endpoint is /WorkplaceSearch/GetDepartmentsRegional"
}
[/block]

**Sample Request**

[block:code]
{
  "codes": [
    {
      "code": "\n{\n  \"State\": \"WA\",\n  \"City\": \"ABERDEEN\",\n  \"Industry\" : \"ACCOUNTING\",\n  \"Level\" : \"STAFF\"\n}",
      "language": "json"
    }
  ]
}
[/block]

**Sample Response:**

[block:code]
{
  "codes": [
    {
      "code": "{\n    \"searchRecords\": [\n        \"FINANCE AND ADMINISTRATION\"\n    ],\n    \"responseRecordCount\": 1,\n    \"pagination\": {\n        \"currentPageNumber\": 0,\n        \"resultsPerPage\": 0,\n        \"totalPages\": 0\n    },\n    \"searchCriteria\": [],\n    \"totalRequestExecutionTimeMs\": 471,\n    \"requestId\": \"3d861a1f-315a-45c3-9347-1ee8bec7d16f\",\n    \"requestType\": \"Search\",\n    \"requestTime\": \"2022-01-24T14:18:18.9109549-06:00\",\n    \"isError\": false\n}",
      "language": "json"
    }
  ]
}
[/block]