PassThrough Requests for getting the Job related fields

Sample PassThrough requeats for getting the list of possible values of departmentId, employmentType, officeId, educationLevel, questionId, createJobRequisitionReasonReference, workerTypeReference, workerSubTypeReference, and jobProfileReference fields in create job Api for Workday ATS.

List Locations

Use the Location_ID field, in the response, as the officeId in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Location_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following:


List Worker Types

Use the Worker_Type_ID field, in the response, as the metaData.workerTypeReference in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Worker_Type_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following:



List Worker Sub-Types

Use the Employee_Type_ID field, in the response, as the metaData.workerSubTypeReference in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Employee_Type_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following:


List Job Profiles

Use the Job_Profile_ID field, in the response, as the metaData.jobProfileReference in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Job_Profile_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following:


List of reasons for creating Jobs

Use the Event_Classification_Subcategory_ID with prefix Create_Job_Requisition_Recruiting, in the response, as the metaData.createJobRequisitionReasonReference in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Event_Classification_Subcategory_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following:


List Departments

Use the Organization_Reference_ID field, in the response, as the departmentId in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Organization_Reference_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following:


List Employment Type

Use the Position_Time_Type_ID field, in the response, as raw value in employmentType in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Position_Time_Type_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following:


List Education types

Use the Degree_ID field, in the response, as raw value in educationLevel in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Degree_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following:


List Questionnaires

Use the Questionnaire_ID field, in the response, as the questionId in create job api.

A cURL request could look like this:

curl --location 'https://api.sandbox.getknit.dev/v1.0/passthrough' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'X-Knit-Integration-Id: <YOUR_INTEGRATION_ID>' \
--data '{
    "method": "POST",
    "path": "Integrations/v40.1",
    "body": "<soapenv:Body><bsvc:Get_References_Request xmlns:bsvc='\''urn:com.workday/bsvc'\'' bsvc:version='\''v40.1'\''> <bsvc:Request_Criteria> <bsvc:Reference_ID_Type>Questionnaire_ID</bsvc:Reference_ID_Type> </bsvc:Request_Criteria> <bsvc:Response_Filter> <bsvc:Page>1</bsvc:Page> <bsvc:Count>999</bsvc:Count> </bsvc:Response_Filter> </bsvc:Get_References_Request></soapenv:Body>"
}'

and the response could look like the following: