Deputy · Schema

CreateaDepartmentRequest

Workforce ManagementEmployee SchedulingTime and AttendanceTimesheetsHuman ResourcesShift PlanningAustraliaScheduling

Properties

Name Type Description
intCompanyId integer Id of location the area should be added to
strOpunitName string Name of the Area
strAddress string Address of the area
strExportName string Payroll export name to be used for the area
intSortOrder integer Order that the areas will appear in Deputy. If for example this is 0, it will list this area first and changing the order of the existing areas
intOpunitType integer Designates if the area should have geo coordinates set. 0 - Default, 1 - Area with Geo
LocationId integer Id of the location for the area.
View JSON Schema on GitHub

JSON Schema

deputy-createa-department-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/deputy/main/json-schema/deputy-createa-department-request-schema.json",
  "title": "CreateaDepartmentRequest",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deputy-deputy-openapi.yml#/components/schemas/CreateaDepartmentRequest",
  "required": [
    "strOpunitName"
  ],
  "type": "object",
  "properties": {
    "intCompanyId": {
      "type": "integer",
      "format": "int32",
      "description": "Id of location the area should be added to"
    },
    "strOpunitName": {
      "type": "string",
      "description": "Name of the Area"
    },
    "strAddress": {
      "type": "string",
      "description": "Address of the area"
    },
    "strExportName": {
      "type": "string",
      "description": "Payroll export name to be used for the area"
    },
    "intSortOrder": {
      "type": "integer",
      "format": "int32",
      "description": "Order that the areas will appear in Deputy. If for example this is 0, it will list this area first and changing the order of the existing areas"
    },
    "intOpunitType": {
      "type": "integer",
      "format": "int32",
      "description": "Designates if the area should have geo coordinates set. 0 - Default, 1 - Area with Geo"
    },
    "LocationId": {
      "type": "integer",
      "format": "int32",
      "description": "Id of the location for the area."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/deputy-createa-department-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.