Apideck · Schema

AccountingDepartment

IntegrationsUnified API

Properties

Name Type Description
id object
parent_id object
display_id object
name string The name of the department.
status string Based on the status some functionality is enabled or disabled.
subsidiaries array
code string The code of the department.
downstream_id object
custom_mappings object
row_version object
updated_by object
created_by object
updated_at object
created_at object
pass_through object
View JSON Schema on GitHub

JSON Schema

apideck-accountingdepartment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountingDepartment",
  "title": "AccountingDepartment",
  "type": "object",
  "x-apideck-schema-id": "AccountingDepartment",
  "x-apideck-weights": {
    "id": "medium",
    "parent_id": "low",
    "name": "critical",
    "status": "critical",
    "subsidiaries": "low",
    "display_id": "medium",
    "code": "low",
    "downstream_id": "low"
  },
  "additionalProperties": false,
  "properties": {
    "id": {
      "$ref": "#/components/schemas/Id"
    },
    "parent_id": {
      "$ref": "#/components/schemas/WritableId"
    },
    "display_id": {
      "$ref": "#/components/schemas/DisplayId"
    },
    "name": {
      "type": "string",
      "title": "Department name",
      "description": "The name of the department.",
      "example": "Sales",
      "nullable": true
    },
    "status": {
      "type": "string",
      "title": "Department status",
      "description": "Based on the status some functionality is enabled or disabled.",
      "x-apideck-enum-id": "department.status",
      "enum": [
        "active",
        "inactive"
      ],
      "example": "active"
    },
    "subsidiaries": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SubsidiaryReference"
      }
    },
    "code": {
      "type": "string",
      "title": "Department code",
      "description": "The code of the department.",
      "example": "123"
    },
    "downstream_id": {
      "$ref": "#/components/schemas/DownstreamId"
    },
    "custom_mappings": {
      "$ref": "#/components/schemas/CustomMappings"
    },
    "row_version": {
      "$ref": "#/components/schemas/RowVersion"
    },
    "updated_by": {
      "$ref": "#/components/schemas/UpdatedBy"
    },
    "created_by": {
      "$ref": "#/components/schemas/CreatedBy"
    },
    "updated_at": {
      "$ref": "#/components/schemas/UpdatedAt"
    },
    "created_at": {
      "$ref": "#/components/schemas/CreatedAt"
    },
    "pass_through": {
      "$ref": "#/components/schemas/PassThroughBody"
    }
  }
}