v1

latestOpenAPI 3.0.02026-07-24161168406.5 KB
Company Departments

Updating a department

Updates a department.

put/departments/{departmentId}

Path parameters

departmentIdinteger required

Department ID

Request body

namestring required

Name of the department

codestring

External code of the department

similarTo'financial_management' | 'agronomy' | 'architecture' | 'audit_or_quality' | 'attendance' | 'sales' | 'purchases' | 'communication_or_design_or_marketing' | 'accounting_or_controlling' | 'engineering_or_maintenance_or_technical_services' | 'legal' | 'innovation_or_product' | 'logistics' | 'operations' | 'project_or_processes' | 'human_resources' | 'security' | 'technology' required

Department is similar to

Response

A confirmation of successful update of the department

idinteger required

Department ID

namestring

Name of the department

codestring

External code of the department

similarTo'financial_management' | 'agronomy' | 'architecture' | 'audit_or_quality' | 'attendance' | 'sales' | 'purchases' | 'communication_or_design_or_marketing' | 'accounting_or_controlling' | 'engineering_or_maintenance_or_technical_services' | 'legal' | 'innovation_or_product' | 'logistics' | 'operations' | 'project_or_processes' | 'human_resources' | 'security' | 'technology'

Department is similar to

createdAtstring date-time required

Department creation date

updatedAtstring date-time required

Department update date