我需要使用 Taleo Connect 客户端查询候选人提交的特定申请。我有申请 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>
我发现 Candidate 和 Requisition 是独立的实体,所以我试图通过 quer:joinings 将 Candidate 与 Requisition 加入:
<quer:joinings>
<quer:joining>
<quer:field path="Candidate"/>
</quer:joining>
</quer:joinings>
但它抛出错误。
如何使用 Taleo Connect 客户端获取申请和申请申请的候选人?