Create a permanent seasonal contract.

Creates a permanent seasonal (fijo discontinuo) contract for an employee, together with its first activity period. The contract type is set to permanent seasonal when it is available for the legal entity, so it does not need to be sent in country_data_inputs, and any other contract type is refused. When it is not available, for example because the legal entity's contract template is not ready yet, the contract is created without a contract type. Only available to companies with permanent seasonal contracts enabled, for employees under a Spanish legal entity. Closing the first activity period through first_activity_period_ends_on leaves the contract inactive from the next day but does not terminate the employee, nor discard a pending termination task. Fails if the employee already has a contract starting on starts_on, or a contract still ongoing on that date. When the employee has a later contract, the first activity period must end before it starts.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

employee identifier, refers to /employees/employees endpoint.

string
required

Start date of the permanent seasonal contract, which is also the start date of its first activity period.

string

Last day of the first activity period, when it is already known. Leave it empty while the period is still open.

string

the frequency of the working hours.

string

the days of the week the employee works.

integer

the amount of hours the employee works.

integer

the maximum amount of hours the employee can work in a week.

integer

the minimum amount of minutes the employee must rest between working periods.

integer

the maximum amount of minutes the employee can work in a day.

integer

the maximum amount of days the employee can work in a row.

integer

the minimum amount of hours the employee must rest in a row.

string
enum

Defines whether a bank holiday should be considered as a workable or non-workable day.

Allowed:
integer

Working time percentage in cents (e.g., when an employee is working part-time, the percentage of full-time hours they are working).

string
enum

Allows companies to define how annual working hours are spread across the year to ensure compliance with legal limits.

Allowed:
string

the frequency of the salary payment. salary_amount and salary_frequency must be provided together.

integer

the amount of money the employee earns in cents.

string

job title of the employee.

boolean

a flag that indicates if the employee has a trial period.

string

when the trial period ends.

string

the uuid node in the job catalog tree. For now it only supports level nodes. Refer to job_catalog/tree_nodes endpoint.

country_data_inputs
array of objects

List of country-specific field inputs. Each entry sets one templated field. Discover valid field_name/value_id combinations for the employee's legal entity via GET /resources/contracts/materialized_templates. contract_type is set by this endpoint to permanent seasonal when it is available for the legal entity; any other value is refused.

country_data_inputs
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json