Creating Contingent Worker In Workday
To create a contingent worker in Workday, you can specify the employmentType
as "Contingent Worker". This makes sure that we use the Contract_Contingent_Worker
web service in Workday to create a new contingent worker.
curl --location 'https://api.getknit.dev/v1.0/hr.employee.create' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'X-Knit-Integration-Id: <INTEGRATION_ID>' \
--header 'Authorization: Bearer <API_KEY>' \
--data-raw '{
"employment": {
"positionId": "P-09991",
"designation": "demoDesignation",
"workShiftId": "NIGHTUSA"
},
"firstName": "Vivek",
"lastName": "Knit",
"workEmail": "[email protected]",
"workAddress": {
"addressLine1": "Street007",
"addressLine2": "Phase007",
"country": "USA",
"city": "San Francisco",
"state": "US-CA",
"zipCode": "94102"
},
"presentAddress": {
"country": "USA",
"addressLine1": "Street003",
"addressLine2": "Phase003",
"city": "San Francisco",
"state": "US-CA",
"zipCode": "94102"
},
"personalEmails": [
"[email protected]"
],
"phones": [
{
"phoneNumber": "8765432111",
"type": "WORK"
},
{
"phoneNumber": "8765432222",
"type": "PERSONAL"
}
],
"birthDate": "1991-12-31",
"gender": "MALE",
"maritalStatus": "Single_USA",
"startDate": "2025-10-10",
"employmentType": "Contingent Worker"
}'
Updated 1 day ago