Fetch EOR Contract form
Changed onReturns the country-specific form definition for creating an EOR contract, including its fields, validation rules, and conditional logic, which vary because employment requirements differ by country. Supply the optional state parameter for countries that require a province/state to be specified.
Token scopes: forms:read
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
Two-letter country code in ISO 3166-1 alpha-2 format
Query parameters
The selected state code of the contract. This is only required for countries that specify it.
The selected start date of the contract in ISO 8601 formatted date string.
The selected number of work hours per week.
The contract duration in days for definite contracts.
Response
Successful response containing form configuration data.
Changes
- breaking
the response property
data/pages/items/sections/items/questions/items/additional_info/oneOf[subschema #1: FormsEorCreateContractCountryCodeGetResponsesContentApplicationJsonSchemaDataPagesItemsSectionsItemsQuestionsItemsAdditionalInfo]/oneOf[subschema #1: FormsEorCreateContractCountryCodeGetResponsesContentApplicationJsonSchemaDataPagesItemsSectionsItemsQuestionsItemsAdditionalInfo0]/min_value_buffer_in_daysbecame nullable for the status - breaking
the response property
data/pages/items/sections/items/questions/items/additional_info/oneOf[subschema #1: FormsEorCreateContractCountryCodeGetResponsesContentApplicationJsonSchemaDataPagesItemsSectionsItemsQuestionsItemsAdditionalInfo]/oneOf[subschema #3: FormsEorCreateContractCountryCodeGetResponsesContentApplicationJsonSchemaDataPagesItemsSectionsItemsQuestionsItemsAdditionalInfo2]/max_salarybecame nullable for the status - breaking
the response property
data/pages/items/sections/items/questions/items/additional_info/oneOf[subschema #1: FormsEorCreateContractCountryCodeGetResponsesContentApplicationJsonSchemaDataPagesItemsSectionsItemsQuestionsItemsAdditionalInfo]/oneOf[subschema #3: FormsEorCreateContractCountryCodeGetResponsesContentApplicationJsonSchemaDataPagesItemsSectionsItemsQuestionsItemsAdditionalInfo2]/min_salarybecame nullable for the status
- breaking