我一直在尝试找到一种方法,在Workday中根据候选人的WID获取指向候选人个人资料的URL。我的场景是使用Put_Candidate操作(Workday Web Services SOAP API)创建一个候选人,它让我知道创建的候选人的WID和Candidate_ID。根据返回的信息,我希望在Workday中构建指向创建的候选人个人资料的URL。这个是可能的吗?任何人都可以提供关于这种情况的帮助/指导,我将非常感激。谢谢。
发布于 2019-05-17 14:57:37
我知道现在有点晚了,但是如果你还在寻找答案,那么你可以在Humar资源模块中使用Get_workers应用程序接口,并如下所示构造一个请求:
<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>
https://stackoverflow.com/questions/55420698
复制相似问题