Add a new task type to the database.
Body
TaskType object.
Whether this task type is activated for newly created employees. Returned as 1 (yes) or 0 (no).
The app settings of this task type, such as 'show_in_app', 'timer', 'icon', 'hide_options' and the required and read-only fields.
The sections shown under media in the app instead of in the task form, keyed by section name (for example 'medias', 'signatures' or 'questions') with '1' for shown and '0' for hidden.
The statuses set by default on new tasks of this task type, each either 'confirmed', 'processed', 'invoiced', 'finished', 'custom_status1' or 'custom_status2'.
The ID of the default second vehicle (vehicle2) for new tasks of this task type.
The ID of the default third vehicle (vehicle3) for new tasks of this task type.
Whether tasks of this task type are sent directly to the employee. Returned as 1 (yes) or 0 (no).
The extra settings of this task type, such as the duplicate and move actions, the visible codes and prices, and the planning board options.
The task fields enabled for this task type, keyed by field name (for example 'start_time', 'client_id' or 'pause_time') with '1' for enabled and '0' for disabled.
Whether the hours of tasks of this task type are calculated as leave hours. Returned as 1 (yes) or 0 (no).
Whether the hours of tasks of this task type are calculated as sick leave hours. Returned as 1 (yes) or 0 (no).
The status filters shown in the menu for this task type, keyed by status (for example 'confirmed' or 'processed') with a matching '<status>_for' list.
The print and overview settings of this task type, such as 'legenda', 'description_position', 'client_custom_name' and 'show_totals'.
Whether tasks of this task type are shown in the planning. Returned as 1 (yes) or 0 (no).
Whether rates are shown on tasks of this task type. Returned as 1 (yes) or 0 (no).
The unique singular slug of this task type, stored as the type of the tasks (bonnen) that use it.
Antwoord
Successful operation.