fetch_company_codes
Retrieve company codes for resources like earnings, deductions, and cost centers from Paylocity to support payroll and HR data management.
Instructions
Fetch company codes for a specific resource.
Args: company_id: Optional company ID (string or integer). If not provided, uses the first company ID from configuration. code_resource: Code resource to fetch (e.g., 'earnings', 'deductions', 'costcenter1', etc.)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code_resource | No | ||
company_id | No |
Input Schema (JSON Schema)
{
"properties": {
"code_resource": {
"default": null,
"title": "Code Resource",
"type": "string"
},
"company_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Company Id"
}
},
"type": "object"
}