Single Step – Job Deallocate

Our Business Rule

  • To deallocate a job using a single service call, send a HTTP POST request to the following URL supplying your credentials and the XML representation of the updated job.

POST https://core.ws.efinancialcareers.com/v1/jobfeeds

Mandatory HTTP headers

Content-Type: application/xml

Request body

<jobFeed xsi:schemaLocation="http://efinancialcareers.com/schema jobfeed.xsd" xmlns="http://efinancialcareers.com/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <header>
      <providerLogin>
         <apiKey>bb-24ot7UnYEpQcnD5</apiKey>
         <trustedAccountApiKey>fada-4848-9a52-d89501e47b65</trustedAccountApiKey>
         <password>P43taw0-rd3</password>
      </providerLogin>
      <allocationMethod>default</allocationMethod>
   </header>
   <jobOperations>
      <jobOperation>
         <operationType>DEALLOCATE</operationType>
         <job>
            <refId>25</refId>
         </job>
      </jobOperation>
   </jobOperations>
</jobFeed>

Upon success, the server responds with HTTP 200 OK status code and an XML representation containing a reference to the deallocated job.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ns2:jobFeedResult xsi:schemaLocation="http://efinancialcareers.com/schema https://core.ws.efinancialcareers.com/v1/schema">
    <ns2:jobs>
        <ns2:job>
            <ns2:original href="https://backoffice.efinancialcareers.com/legacyJob/25">
                <ns2:refId>25</ns2:refId>
            </ns2:original>
           <ns2:expirationDate>2015-12-31T00:00:00.000Z</ns2:expirationDate>
           <ns2:operationStatus>deallocate successful</ns2:operationStatus>
           <ns2:jobFeedApiKey>bb-24ot7UnYEpQcnD5</ns2:jobFeedApiKey>
        </ns2:job>
    </ns2:jobs>
</ns2:jobFeedResult>