Get Users, Teams and Brands

To retrieve a list of all your clients including their team and brand you must first authenticate yourself as described in “Authenticating to Retrieve Dictionary Values“. You then need to send an HTTP GET request to the following URL:

GET https://core.ws.efinancialcareers.com/v1/providerDependencies

Mandatory HTTP headers

Content-Type: application/xml

Authorization: EfcAuth realm=”EFC”, token=”522c3c4bd036a69db428ce4274745e9d”

Please note, if you post jobs for twenty different users from different companies, this API request will retrieve details for all twenty users. You can then filter by the <apiKey> node to discover a specific user.

Here is an excerpt of the response:

<ns2:jobFeedDependencies xsi:schemaLocation="http://efinancialcareers.com/schema https://core.ws.efinancialcareers.com/v1/schema" xmlns:ns2="http://efinancialcareers.com/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns2:jobFeedDependency>
<ns2:apiKey>eFC-12345</ns2:apiKey>
<ns2:teams/>
<ns2:brands/>
</ns2:jobFeedDependency>
<ns2:jobFeedDependency>
<ns2:apiKey>eFC-23456</ns2:apiKey>
<ns2:teams>
<ns2:team href="https://app.ws.efinancialcareers.com/v1/teams/99999">
<ns2:id>99999</ns2:id>
<ns2:version>13</ns2:version>
<ns2:name>COM12345</ns2:name>
<ns2:company href="https://app.ws.efinancialcareers.com/v1/companies/123456">
<ns2:refId>123456</ns2:refId>
</ns2:company>
<ns2:users>
<ns2:user href="https://app.ws..efinancialcareers.com/v1/users/234567">
<ns2:refId>234567</ns2:refId>
</ns2:user>
<ns2:user href="https://app.ws.efinancialcareers.com/v1/users/345678">
<ns2:refId>

 

345678

 

</ns2:refId>
</ns2:user>
</ns2:users>
<ns2:brands/>
<ns2:created>2013-05-17T06:50:32.407Z</ns2:created>
<ns2:updated>2013-11-06T15:23:31.130Z</ns2:updated>
</ns2:team>
</ns2:teams>
<ns2:brands>
<ns2:brand href="https://app.ws.efinancialcareers.com/v1/brands/888888">
<ns2:id>888888</ns2:id>
<ns2:version>5</ns2:version>
<ns2:name>Test (Licence No. 11111111)</ns2:name>
<ns2:homePageLogo>1234567890.gif</ns2:homePageLogo>
<ns2:jobAdLogo>

 

1234567890

 

1234567890.gif</ns2:jobAdLogo>
<ns2:companies>
<ns2:company href="https://app.ws.efinancialcareers.com/v1/companies/9999999">
<ns2:refId>9999999</ns2:refId>
</ns2:company>
</ns2:companies>
<ns2:teams>
<ns2:team href="https://app.ws.efinancialcareers.com/v1/teams/888888">
<ns2:refId>888888</ns2:refId>
</ns2:team>
<ns2:team href="https://app.ws.efinancialcareers.com/v1/teams/7777777">
<ns2:refId>7777777</ns2:refId>
</ns2:team>
</ns2:teams>
<ns2:created>2012-04-16T15:27:55.413Z</ns2:created>
<ns2:updated>2013-08-21T08:33:22.883Z</ns2:updated>
</ns2:brand>
</ns2:brands>
</ns2:jobFeedDependency>
<ns2:jobFeedDependency>
<ns2:apiKey>eFC-4567890</ns2:apiKey>
<ns2:teams>
<ns2:team href="https://app.ws.efinancialcareers.com/v1/teams/12345678">
<ns2:id>12345678</ns2:id>
<ns2:version>1</ns2:version>
<ns2:name>Test Company</ns2:name>
<ns2:company href="https://app.ws.efinancialcareers.com/v1/companies/888888">
<ns2:refId>888888</ns2:refId>
</ns2:company>
<ns2:users>
<ns2:user href="https://app.ws.efinancialcareers.com/v1/users/9999999">
<ns2:refId>9999999</ns2:refId>
</ns2:user>
</ns2:users>
<ns2:inventoryAllocations>
<ns2:inventoryAllocation>
<ns2:refId>594123</ns2:refId>
</ns2:inventoryAllocation>
</ns2:inventoryAllocations>
<ns2:brands>
<ns2:brand href="https://app.ws.efinancialcareers.com/v1/brands/956789">
<ns2:refId>

 

956789

 

</ns2:refId>
</ns2:brand>
</ns2:brands>
<ns2:created>2012-05-01T08:59:11.460Z</ns2:created>
<ns2:updated>2012-10-10T04:23:29.917Z</ns2:updated>
</ns2:team>
</ns2:teams>
<ns2:brands>
<ns2:brand href="https://app.ws.efinancialcareers.com/v1/brands/67890123">
<ns2:id>

 

67890123

 

</ns2:id>
<ns2:version>7</ns2:version>
<ns2:name>Another Test Company</ns2:name>
<ns2:homePageLogo>1357924680.gif</ns2:homePageLogo>
<ns2:jobAdLogo>

 

1357924680

1357924680

 

.gif</ns2:jobAdLogo>
<ns2:companies>
<ns2:company href="https://app.ws.efinancialcareers.com/v1/companies/4567890">
<ns2:refId>

 

4567890

 

</ns2:refId>
</ns2:company>
</ns2:companies>
<ns2:teams>
<ns2:team href="https://app.ws.efinancialcareers.com/v1/teams/34567890">
<ns2:refId>

 

34567890

 

</ns2:refId>
</ns2:team>
<ns2:team href="https://app.ws.efinancialcareers.com/v1/teams/2345678">
<ns2:refId>

 

2345678

 

</ns2:refId>
</ns2:team>
</ns2:teams>
<ns2:created>2012-04-29T16:12:02.663Z</ns2:created>
<ns2:updated>2012-09-25T15:50:30.320Z</ns2:updated>
</ns2:brand>
</ns2:brands>
</ns2:jobFeedDependency>
</ns2:jobFeedDependencies>

Get Brands of the User

To retrieve a brands list of the current user you must first authenticate yourself as described in “Authenticating to Retrieve Dictionary Values“. You then need to send an HTTP GET request to the following URL:

GET https://core.ws.efinancialcareers.com/v1/users/current/brands

Mandatory HTTP headers

Content-Type: application/xml

Authorization: EfcAuth realm=”EFC”, token=”522c3c4bd036a69db428ce4274745e9d”

Here is an excerpt of the response:

<?xml version="1.0" encoding="UTF-8"?>

<ns2:brands xmlns:ns2=”http://efinancialcareers.com/schema” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://efinancialcareers.com/schema https://core.ws.efinancialcareers.com/v1/schema”>

 <ns2:brand href=”https://core.ws.efinancialcareers.com/v1/brands/564″>

  <ns2:id>564</ns2:id>

  <ns2:version>2</ns2:version>

  <ns2:name>Brand Name</ns2:name>

  <ns2:companies>

   <ns2:company href=”https://core.ws.efinancialcareers.com/v1/companies/675″>

    <ns2:refId>675</ns2:refId>

   </ns2:company>

  </ns2:companies>

  <ns2:teams>

   <ns2:team href=”https://core.ws.efinancialcareers.com/v1/teams/54″>

    <ns2:refId>54</ns2:refId>

   </ns2:team>

  </ns2:teams>

  <ns2:created>2012-05-28T14:40:29.083Z</ns2:created>

  <ns2:updated>2012-05-28T14:40:29.117Z</ns2:updated>

 </ns2:brand>

</ns2:brands>