如何在Taleo Connect客户端中加入具有申请的候选人?



我需要使用Taleo Connect Client查询候选人提交到特定申请的内容。 我有申请 ID 和候选人 ID。 我将简单的申请导出编写为:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<find:findPartialEntities
xmlns:find="<URL>" >
<find:mappingVersion><URL></find:mappingVersion>
<find:query>
<quer:query
xmlns:quer="http://itk.taleo.com/ws/query"
alias="Source"
projectedClass="SourcingRequest"
locale="en">
<quer:projections>
<quer:projection>
<quer:field path="Requisition,HotJob"/>
</quer:projection>
<quer:projection>
<quer:field path="Requisition,ContestNumber"/>
</quer:projection>
<quer:projection>
<quer:field path="Requisition,State,Description"/>
</quer:projection>
</quer:projections>
<quer:filterings>
<quer:filtering>
<quer:equal>
<quer:field path="Requisition,Number"/>
<quer:string>xxxxxx</quer:string>
</quer:equal>
</quer:filtering>
</quer:filterings>
<quer:sortings>
<quer:sorting ascending="false">
<quer:field path="OpenDate"/>
</quer:sorting>
<quer:sorting ascending="true">
<quer:field path="Requisition,JobInformation,Title"/>
</quer:sorting>
<quer:sorting ascending="true">
<quer:field path="Requisition,JobInformation,Organization,Name"/>
</quer:sorting>
</quer:sortings>
</quer:query>
</find:query>
<find:attributes>
<find:entry>
<find:key>pagingsize</find:key>
<find:value>200</find:value>
</find:entry>
<find:entry>
<find:key>pageindex</find:key>
<find:value>1</find:value>
</find:entry>
</find:attributes>
</find:findPartialEntities>
</soapenv:Body>
</soapenv:Envelope>

我发现候选人和申请是独立的实体,所以我试图将候选人与申请与 quer:joinings 连接起来,如下所示:

<quer:joinings>
<quer:joining>
<quer:field path="Candidate"/>
</quer:joining>
</quer:joinings>

但它是抛出错误。

如何使用 Taleo Connect 客户端获取申请申请和应聘者?

您需要使用应用程序实体

<quer:query projectedClass="Application">
<quer:subQueries/>
<quer:projections>
<quer:projection>
<quer:field path="Candidate,FirstName"/>
</quer:projection>
<quer:projection>
<quer:field path="Requisition,ContestNumber"/>
</quer:projection>
</quer:projections>
<quer:projectionFilterings/>
<quer:filterings>
<quer:filtering>
<quer:equal>
<quer:field path="Requisition,ContestNumber"/>
<quer:string>0141806</quer:string>
</quer:equal>
</quer:filtering>
</quer:filterings>
<quer:sortings/>
<quer:sortingFilterings/>
<quer:groupings/>
<quer:joinings/>
</quer:query>

最新更新