从工作日获取工作清单

时间:2019-08-02 00:48:27

标签: json xml go soap workday-api

我正在尝试将“工作日”工作发布整合到客户的职业页面上,但不确定如何(或在何处)通过Go发送请求:

<bsvc:Get_Job_Postings_Request bsvc:version="string" xmlns:bsvc="urn:com.workday/bsvc">
  <!--Optional:-->
  <bsvc:Request_References>
    <!--1 or more repetitions:-->
    <bsvc:Job_Posting_Reference bsvc:Descriptor="string">
      <!--Zero or more repetitions:-->
      <bsvc:ID bsvc:type="string">string</bsvc:ID>
    </bsvc:Job_Posting_Reference>
  </bsvc:Request_References>
  <!--Optional:-->
  <bsvc:Request_Criteria>
    <!--Optional:-->
    <bsvc:Job_Posting_Start_Date>2008-09-29</bsvc:Job_Posting_Start_Date>
    <!--Optional:-->
    <bsvc:Job_Posting_End_Date>2014-09-18</bsvc:Job_Posting_End_Date>
    <!--Optional:-->
    <bsvc:Job_Posting_Site_Name>string</bsvc:Job_Posting_Site_Name>
    <!--Zero or more repetitions:-->
    <bsvc:Job_Posting_Site_Reference bsvc:Descriptor="string">
      <!--Zero or more repetitions:-->
      <bsvc:ID bsvc:type="string">string</bsvc:ID>
    </bsvc:Job_Posting_Site_Reference>
    <!--Zero or more repetitions:-->
    <bsvc:Supervisory_Organization_Reference bsvc:Descriptor="string">
      <!--Zero or more repetitions:-->
      <bsvc:ID bsvc:type="string">string</bsvc:ID>
    </bsvc:Supervisory_Organization_Reference>
    <!--Zero or more repetitions:-->
    <bsvc:Job_Requisition_Reference bsvc:Descriptor="string">
      <!--Zero or more repetitions:-->
      <bsvc:ID bsvc:type="string">string</bsvc:ID>
    </bsvc:Job_Requisition_Reference>
    <!--Optional:-->
    <bsvc:Show_Only_Active_Job_Postings>true</bsvc:Show_Only_Active_Job_Postings>
    <!--Optional:-->
    <bsvc:Field_And_Parameter_Criteria_Data>
      <!--1 or more repetitions:-->
      <bsvc:Provider_Reference bsvc:Descriptor="string">
        <!--Zero or more repetitions:-->
        <bsvc:ID bsvc:type="string">string</bsvc:ID>
      </bsvc:Provider_Reference>
    </bsvc:Field_And_Parameter_Criteria_Data>
  </bsvc:Request_Criteria>
  <!--Optional:-->
  <bsvc:Response_Filter>
    <!--Optional:-->
    <bsvc:As_Of_Effective_Date>2018-11-01+00:00</bsvc:As_Of_Effective_Date>
    <!--Optional:-->
    <bsvc:As_Of_Entry_DateTime>2013-05-22T01:02:49+00:00</bsvc:As_Of_Entry_DateTime>
    <!--Optional:-->
    <bsvc:Page>1000.00</bsvc:Page>
    <!--Optional:-->
    <bsvc:Count>1000.00</bsvc:Count>
  </bsvc:Response_Filter>
  <!--Optional:-->
  <bsvc:Response_Group>
    <!--Optional:-->
    <bsvc:Include_Reference>true</bsvc:Include_Reference>
    <!--Optional:-->
    <bsvc:Include_Job_Requisition_Restrictions_Data>false</bsvc:Include_Job_Requisition_Restrictions_Data>
    <!--Optional:-->
    <bsvc:Include_Job_Requisition_Definition_Data>false</bsvc:Include_Job_Requisition_Definition_Data>
    <!--Optional:-->
    <bsvc:Include_Qualifications>false</bsvc:Include_Qualifications>
    <!--Optional:-->
    <bsvc:Include_Job_Requisition_Attachments>false</bsvc:Include_Job_Requisition_Attachments>
  </bsvc:Response_Group>
</bsvc:Get_Job_Postings_Request>

我从未处理过SOAP请求,因此这对我来说是全新的领域。如何获得X公司所需的工作清单?

虽然我希望在Go中获得答案,但是卷曲或类似的请求也可以。

0 个答案:

没有答案