v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
PayrollIntegrationsBase > Code

Updates a Code

Updates a Code

put/api/2026-07-01/resources/payroll_integrations_base/codes/{id}

Path parameters

idstring required

Code identifier

Request body

idstring required

Code identifier

codestring required

Code Value

Example request

{
  "id": "1",
  "code": "COD-51"
}

Response

OK

idstring required

Code identifier

company_idstring required

Company ID where the code belongs to

codestring required

Code value

codeable_idstring required

Related object ID. Used together with codeable_type

codeable_typestring required

Related object type. Used together with codeable_id

integration'a3innuva' | 'a3nom' | 'agenda' | 'paierh' | 'yeap_paierh' | 'silae' | 'sage100' | 'datev' | 'datev_api' | 'datev_lug_api' | 'datev_lauds' | 'team_system' | 'zucchetti' | 'gispaghe' | 'job_sistemi' required

Integration name

Example response

{
  "id": "1",
  "company_id": "2",
  "code": "COD-51",
  "codeable_id": "5",
  "codeable_type": "Employee | Company | LegalEntity | Location | TimeoffLeaveType",
  "integration": "a3innuva"
}