Workday Soap API-Get_Candidates操作

时间:2019-11-13 10:43:08

标签: workday-api

当我的首要目的是检索当前存在的所有候选人\申请人时,我便开始进行工作日整合。

我从官方文档站点(https://community.workday.com/sites/default/files/file-hosting/productionapi/Recruiting/v33.1/samples/Get_Candidates_Request.xml)复制了“ Get_Candidates_Request” xml,并对其进行了修复,使其有效(使用soapui),但是我仍然收到“无效请求”作为响应...

有人从事过此手术并且可以帮我吗?我想念什么?

  


                       SOAP-ENV:Client.validationError            非法请求              

1 个答案:

答案 0 :(得分:1)

很难看到没有固定的请求,但这是一个简单的请求示例,该请求将检索在今年第一年之后申请的所有候选人。我希望这能使您朝着正确的方向前进。

<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>