【问题标题】:Workday soap api - Get_Candidates operationWorkday soap api - Get_Candidates 操作
【发布时间】:2020-03-09 03:29:51
【问题描述】:

我开始着手进行工作日集成,当时我的第一个目的是检索当前存在的所有候选人\申请者。

我从官方文档站点 (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 无效请求

【问题讨论】:

    标签: workday-api


    【解决方案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>
    

    【讨论】:

    • 嗨@rihacek,感谢您的回答。恐怕“无效请求”是我处理的端点不正确的结果。现在,在我修复了端点之后,我收到了以下信息:&lt;faultcode&gt;SOAP-ENV:Client.authenticationError&lt;/faultcode&gt; &lt;faultstring&gt;tenant is temporarily unavailable due to server patching&lt;/faultstring&gt;。有什么想法吗?
    • @MayaMarton 我只看到这是一个错误,表明我在租户名称中有错字。确保您的租户拼写正确包括大小写ThisTenantthistenant 不同。
    • 非常感谢@rihacek。您的示例运行良好,问题出在用户权限...
    猜你喜欢
    • 2018-06-06
    • 2015-10-19
    • 1970-01-01
    • 2015-01-23
    • 2016-11-11
    • 1970-01-01
    • 2018-12-07
    • 2018-07-09
    • 2014-11-08
    相关资源
    最近更新 更多