简体   繁体   English

如何在Taleo Connect Client中通过申请加入候选人?

[英]How to join Candidate with requisition in Taleo Connect Client?

I need to query submissions by Candidates to a Specific Requisition using Taleo Connect Client. 我需要使用Taleo Connect客户端查询候选人对特定申请的提交。 I have the requisition id and candidate id. 我有请购单和求职证。 I wrote the simple requisition export as: 我将简单的请购单出口写为:

<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>

I found that Candidate and Requisition are separate entity, so I was trying to join Candidate with Requisition with quer:joinings like: 我发现Candidate和Requisition是单独的实体,因此我试图通过quer:joinings与Requisition加入Candidate:

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

But it's throwing error. 但这引发了错误。

How do I fetch Requisitions and Candidates applied for the requisition using Taleo Connect Client? 如何使用Taleo Connect Client获取申请的申请书和候选人?

You need to use Application Entity 您需要使用应用程序实体

    <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>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM