Reputation: 31
I'm starting to work on workday integration, when my first purpose is to retrieve all candidates\applicants that currently exist.
I copied the "Get_Candidates_Request" xml from the official documentation site (https://community.workday.com/sites/default/files/file-hosting/productionapi/Recruiting/v33.1/samples/Get_Candidates_Request.xml), fixed it so it will be valid (using soapui), but I'm still getting "invalid request" as response...
Does anyone ever worked with this operation and can give me a hand? What do I miss??
SOAP-ENV:Client.validationError Invalid request
Upvotes: 2
Views: 4127
Reputation: 156
It's hard to say without seeing that fixed up request, but here's a quick example of a request that would retrieve all candidates that applied after the first of the year. I hope that this able to get your moving in the right direction.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc">
<soapenv:Header>
<bsvc:Workday_Common_Header>
<bsvc:Include_Reference_Descriptors_In_Response>true</bsvc:Include_Reference_Descriptors_In_Response>
</bsvc:Workday_Common_Header>
</soapenv:Header>
<soapenv:Body>
<bsvc:Get_Candidates_Request bsvc:version="v33.0">
<bsvc:Request_Criteria>
<bsvc:Applied_From>2019-01-01T00:00:00</bsvc:Applied_From>
</bsvc:Request_Criteria>
</bsvc:Get_Candidates_Request>
</soapenv:Body>
</soapenv:Envelope>
Upvotes: 2