added
v2.1.71
10 days ago by Anees Syed
EOR: Retrieve Contract Details, Create EOR Contract updates
New: Retrieve EOR Contract Details
Description: Endpoint used to fetch basic information for an EOR contract, along with employment costs associated to it
Endpoint: GET /v2/eor/contracts/:contract_id/details
API Reference Retrieve EOR Contract Details
Example:
curl --request GET \
--url https://api.letsdeel.com/v2/eor/contracts/{{contract_id}}/details \
--header 'accept: application/json' \
--header 'authorization: Bearer {YOUR_ORG_TOKEN}'
Updated: Create an EOR contract
Description: Extended scope_of_work
input field to be passed as an object containing scope_template_id
and scope_validation_id
. New fields were added to response: costs
, employment
, compensation_details
, client
, employee
, health_plan
, job_title
, seniority
,created_at
Endpoint: POST /v2/eor
API Reference: Create an EOR contract