在给定候选人的 WID 的情况下,我一直在尝试找出一种方法来获取指向 Workday 中候选人个人资料的 URL。我的场景是我使用Put_Candidate
操作(Workday Web Services SOAP API)创建一个候选人,让我知道创建的候选人的WID
和Candidate_ID
。从这个返回的信息中,我希望构建在 Workday 中创建的候选人个人资料的 URL。这可能吗?我将不胜感激任何人都可以就这种情况提供的任何帮助/指导。谢谢你。
1 回答
我知道它有点晚了,但是如果您仍在寻找答案,那么您可以使用 Humar 资源模块中的 Get_workers api 并构建如下请求:-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>your username</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">your password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<wd:Get_Workers_Request xmlns:wd="urn:com.workday/bsvc" version="set appropriate version here">
<wd:Request_References bsvc:Skip_Non_Existing_Instances="false">
<wd:Worker_Reference >
<wd:ID wd:type="WID">Populate WID here</wd:ID>
</wd:Worker_Reference>
</wd:Request_References>
</wd:Get_Workers_Request>
</soapenv:Body>
</soapenv:Envelope>