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

# Search EmployeeSalaryOpunitCosting

Flexible search endpoint. Body supports `search`, `sort`, `start`, `max`, and `join` clauses. Example: `{"search": {"s1": {"field": "Id", "data": 1, "type": "eq"}}}`.

# 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": {
      "EmployeeSalaryOpunitCosting": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer"
          },
          "Employee": {
            "type": "integer"
          },
          "EmployeeAgreement": {
            "type": "integer"
          },
          "AgreementHistory": {
            "type": "integer"
          },
          "DayTimestamp": {
            "type": "integer"
          },
          "Date": {
            "type": "string",
            "format": "date-time"
          },
          "OpUnit": {
            "type": "integer"
          },
          "Cost": {
            "type": "number",
            "format": "double"
          },
          "Final": {
            "type": "boolean"
          },
          "Creator": {
            "type": "integer"
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "Modified": {
            "type": "string"
          },
          "EmployeeObject": {
            "type": "object"
          },
          "EmployeeAgreementObject": {
            "type": "object"
          },
          "OpUnitObject": {
            "type": "object"
          }
        },
        "required": [
          "Id",
          "Employee",
          "EmployeeAgreement",
          "AgreementHistory",
          "DayTimestamp",
          "Date",
          "OpUnit",
          "Cost",
          "Final",
          "Modified"
        ]
      },
      "QueryRequest": {
        "type": "object",
        "description": "V1 Resource search payload. All fields optional; an empty body returns the first page of results.",
        "properties": {
          "search": {
            "type": "object",
            "description": "Map of search clauses keyed by an arbitrary id (e.g. `s1`, `s2`). Each clause filters one field.",
            "additionalProperties": {
              "type": "object",
              "required": [
                "field",
                "data",
                "type"
              ],
              "properties": {
                "field": {
                  "type": "string",
                  "description": "Field name to filter on (e.g. `Id`, `Employee`)."
                },
                "data": {
                  "description": "Comparison value. Type depends on the field."
                },
                "type": {
                  "type": "string",
                  "description": "Comparison operator.",
                  "enum": [
                    "eq",
                    "ne",
                    "gt",
                    "lt",
                    "ge",
                    "le",
                    "is",
                    "is not",
                    "in",
                    "not in",
                    "starts",
                    "contains"
                  ]
                }
              }
            }
          },
          "sort": {
            "type": "object",
            "description": "Map of field name → `asc` or `desc`.",
            "additionalProperties": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          "start": {
            "type": "integer",
            "minimum": 0,
            "default": 0,
            "description": "Pagination offset (0-indexed)."
          },
          "max": {
            "type": "integer",
            "minimum": 1,
            "maximum": 500,
            "default": 100,
            "description": "Max records per page (server caps at 500)."
          },
          "join": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Related ORMs to expand inline (e.g. `[\"EmployeeObject\"]`)."
          }
        },
        "example": {
          "search": {
            "s1": {
              "field": "Id",
              "data": 1,
              "type": "ge"
            }
          },
          "max": 100
        }
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "OAuth2": []
    }
  ],
  "tags": [
    {
      "name": "EmployeeSalaryOpunitCosting",
      "description": "Operations on the EmployeeSalaryOpunitCosting resource"
    }
  ],
  "paths": {
    "/resource/EmployeeSalaryOpunitCosting/QUERY": {
      "post": {
        "tags": [
          "EmployeeSalaryOpunitCosting"
        ],
        "summary": "Search EmployeeSalaryOpunitCosting",
        "description": "Flexible search endpoint. Body supports `search`, `sort`, `start`, `max`, and `join` clauses. Example: `{\"search\": {\"s1\": {\"field\": \"Id\", \"data\": 1, \"type\": \"eq\"}}}`.",
        "operationId": "searchEmployeeSalaryOpunitCosting",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmployeeSalaryOpunitCosting"
                  }
                }
              }
            }
          },
          "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"
          }
        }
      }
    }
  }
}
```