---
updatedAt: 2026-04-24T17:23:11.000Z
agentTools:
  projectIndex: https://developer.deputy.com/llms.txt
---

# Get change history for a EmployeeWorkplace

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Deputy V1 Resource API",
    "version": "1.0.0",
    "description": "Generated, comprehensive reference for Deputy's legacy V1 `/resource/{Object}` API.\n\nV1 is in maintenance mode — new integrations should prefer the V2 API. This spec covers the reflection-based routing pattern declared in `deputy-webapp/app/api/v1/routers/ResourceRouter.php`, enumerated over every ORM class registered in `DeputecApplication::$arrSystems` in `app/prepend.inc.php`.\n\nResources support create/update/delete only if they also appear in `$arrSystemsAPIEditable` — read-only resources expose GET / QUERY / INFO / PREDICT / HISTORY only."
  },
  "servers": [
    {
      "url": "https://{subdomain}.{region}.deputy.com/api/v1",
      "description": "Deputy tenant",
      "variables": {
        "subdomain": {
          "default": "your-subdomain"
        },
        "region": {
          "default": "deputy",
          "enum": [
            "au",
            "eu",
            "na",
            "deputy"
          ]
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "OAuth 2.0 access token or Deputy Permanent Token."
      },
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://once.deputy.com/my/oauth/login",
            "tokenUrl": "https://once.deputy.com/my/oauth/access_token",
            "scopes": {
              "longlife_refresh_token": "Extended session"
            }
          }
        }
      }
    },
    "schemas": {
      "EmployeeWorkplace": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer"
          },
          "EmployeeId": {
            "type": "integer"
          },
          "Company": {
            "type": "integer"
          },
          "SortOrder": {
            "type": "integer"
          },
          "Agreement1": {
            "type": "integer"
          },
          "Agreement2": {
            "type": "integer"
          },
          "Agreement3": {
            "type": "integer"
          },
          "Creator": {
            "type": "integer"
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "Modified": {
            "type": "string"
          },
          "Employee": {
            "type": "object"
          },
          "CompanyObject": {
            "type": "object"
          },
          "Agreement1Object": {
            "type": "object"
          },
          "Agreement2Object": {
            "type": "object"
          },
          "Agreement3Object": {
            "type": "object"
          }
        },
        "required": [
          "Id",
          "EmployeeId",
          "Company",
          "SortOrder",
          "Modified"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "OAuth2": []
    }
  ],
  "tags": [
    {
      "name": "EmployeeWorkplace",
      "description": "Operations on the EmployeeWorkplace resource"
    }
  ],
  "paths": {
    "/resource/EmployeeWorkplace/{id}/HISTORY": {
      "get": {
        "tags": [
          "EmployeeWorkplace"
        ],
        "summary": "Get change history for a EmployeeWorkplace",
        "operationId": "historyEmployeeWorkplace",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Numeric id of the resource"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmployeeWorkplace"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Authentication required or invalid token"
          },
          "403": {
            "description": "Forbidden — token lacks access to this resource"
          },
          "404": {
            "description": "Resource not found"
          }
        }
      }
    }
  }
}
```