SearchRules

Method: GetSearchRule

Input:

Auth Token and Position ID

Output:

<searchRule>
  <id><![CDATA[f53a69c9-b111-40f2-a4d3-3baa85484271]]></id>
  <positionId><![CDATA[f53a69c9-b111-40f2-a4d3-3baa85484271]]></positionId>
  <creatorAccountId><![CDATA[b4a364c0-8cd6-4588-ad07-f3fe1cbd3574]]></creatorAccountId>
  <createdDate><![CDATA[2011-11-27T17:03:24.203]]></createdDate>
  <withinDaysCount><![CDATA[365]]></withinDaysCount>
  <isActive><![CDATA[True]]></isActive>
  <startDate><![CDATA[2011-11-27T01:00:00]]></startDate>
  <dayRepeat><![CDATA[1]]></dayRepeat>
  <finishDate><![CDATA[2011-12-27T01:00:00]]></finishDate>
  <lastRunDate><![CDATA[2011-11-29T01:00:35.243]]></lastRunDate>
  <nextRunDate><![CDATA[2011-11-30T01:00:00]]></nextRunDate>
  <searchProvider>
    <localSearch>
      <searchByDescription><![CDATA[False]]></searchByDescription>
      <searchByKeywords><![CDATA[False]]></searchByKeywords>
    </localSearch>
    <externalSearch>
      <searchInAllFreeSources><![CDATA[True]]></searchInAllFreeSources>
      <searchInSeatSources>
        <seatSource>
          <id><![CDATA[[ANY]]]></id>
        </seatSource>
      </searchInSeatSources>
      <webSearch><![CDATA[True]]></webSearch>
      <excludeCraigslistSources><![CDATA[False]]></excludeCraigslistSources>
    </externalSearch>
  </searchProvider>
  <maxSearchDurationMins><![CDATA[20]]></maxSearchDurationMins>
  <maxResumesPerSource><![CDATA[100]]></maxResumesPerSource>
</searchRule>

 

Method: UpdateSearchRule

Input:

Auth Token and XML Payload below
<searchRule>
  <id><![CDATA[f53a69c9-b111-40f2-a4d3-3baa85484271]]></id>
  <positionId><![CDATA[f53a69c9-b111-40f2-a4d3-3baa85484271]]></positionId>
  <withinDaysCount><![CDATA[365]]></withinDaysCount>
  <isActive><![CDATA[True]]></isActive>
  <startDate><![CDATA[2011-11-27T01:00:00]]></startDate>
  <dayRepeat><![CDATA[1]]></dayRepeat>
  <finishDate><![CDATA[2011-12-27T01:00:00]]></finishDate>
  <searchProvider>
    <localSearch>
      <searchByDescription><![CDATA[False]]></searchByDescription>
      <searchByKeywords><![CDATA[False]]></searchByKeywords>
    </localSearch>
    <externalSearch>
      <searchInAllFreeSources><![CDATA[True]]></searchInAllFreeSources>
      <searchInSeatSources>
        <seatSource>
          <id><![CDATA[[ANY]]]></id>
        </seatSource>
      </searchInSeatSources>
      <webSearch><![CDATA[True]]></webSearch>
      <excludeCraigslistSources><![CDATA[False]]></excludeCraigslistSources>
    </externalSearch>
  </searchProvider>
  <maxSearchDurationMins><![CDATA[20]]></maxSearchDurationMins>
  <maxResumesPerSource><![CDATA[100]]></maxResumesPerSource>
</searchRule>

Output:

<searchRule>
  <id><![CDATA[f53a69c9-b111-40f2-a4d3-3baa85484271]]></id>
  <positionId><![CDATA[f53a69c9-b111-40f2-a4d3-3baa85484271]]></positionId>
  <creatorAccountId><![CDATA[b4a364c0-8cd6-4588-ad07-f3fe1cbd3574]]></creatorAccountId>
  <createdDate><![CDATA[2011-11-27T17:03:24.203]]></createdDate>
  <withinDaysCount><![CDATA[365]]></withinDaysCount>
  <isActive><![CDATA[True]]></isActive>
  <startDate><![CDATA[2011-11-27T01:00:00]]></startDate>
  <dayRepeat><![CDATA[1]]></dayRepeat>
  <finishDate><![CDATA[2011-12-27T01:00:00]]></finishDate>
  <lastRunDate><![CDATA[2011-11-29T01:00:35.243]]></lastRunDate>
  <nextRunDate><![CDATA[2011-11-30T01:00:00]]></nextRunDate>
  <searchProvider>
    <localSearch>
      <searchByDescription><![CDATA[False]]></searchByDescription>
      <searchByKeywords><![CDATA[False]]></searchByKeywords>
    </localSearch>
    <externalSearch>
      <searchInAllFreeSources><![CDATA[True]]></searchInAllFreeSources>
      <searchInSeatSources>
        <seatSource>
          <id><![CDATA[[ANY]]]></id>
        </seatSource>
      </searchInSeatSources>
      <webSearch><![CDATA[True]]></webSearch>
      <excludeCraigslistSources><![CDATA[False]]></excludeCraigslistSources>
    </externalSearch>
  </searchProvider>
  <maxSearchDurationMins><![CDATA[20]]></maxSearchDurationMins>
  <maxResumesPerSource><![CDATA[100]]></maxResumesPerSource>
</searchRule>

 

Method: StartSearchNow

Input:

Auth Token and Position ID

Output:

<searchRule>
  <id><![CDATA[f53a69c9-b111-40f2-a4d3-3baa85484271]]></id>
  <positionId><![CDATA[f53a69c9-b111-40f2-a4d3-3baa85484271]]></positionId>
  <creatorAccountId><![CDATA[b4a364c0-8cd6-4588-ad07-f3fe1cbd3574]]></creatorAccountId>
  <createdDate><![CDATA[2011-11-27T17:03:24.203]]></createdDate>
  <withinDaysCount><![CDATA[365]]></withinDaysCount>
  <isActive><![CDATA[True]]></isActive>
  <startDate><![CDATA[2011-11-27T01:00:00]]></startDate>
  <dayRepeat><![CDATA[1]]></dayRepeat>
  <finishDate><![CDATA[2011-12-27T01:00:00]]></finishDate>
  <lastRunDate><![CDATA[2011-11-29T01:00:35.243]]></lastRunDate>
  <nextRunDate><![CDATA[2011-11-29T18:42:09.597]]></nextRunDate>
  <searchProvider>
    <localSearch>
      <searchByDescription><![CDATA[False]]></searchByDescription>
      <searchByKeywords><![CDATA[False]]></searchByKeywords>
    </localSearch>
    <externalSearch>
      <searchInAllFreeSources><![CDATA[True]]></searchInAllFreeSources>
      <searchInSeatSources>
        <seatSource>
          <id><![CDATA[[ANY]]]></id>
        </seatSource>
      </searchInSeatSources>
      <webSearch><![CDATA[True]]></webSearch>
      <excludeCraigslistSources><![CDATA[False]]></excludeCraigslistSources>
    </externalSearch>
  </searchProvider>
  <maxSearchDurationMins><![CDATA[20]]></maxSearchDurationMins>
  <maxResumesPerSource><![CDATA[100]]></maxResumesPerSource>
</searchRule>