Get Current User and Company References

You will require the reference IDs for the current user that you are posting the job on behalf of and the company reference for that user. To retrieve this information send an authorised HTTP GET request to the following URL

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

Mandatory HTTP headers

Content-Type: application/xml

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

Upon success, the server responds with HTTP 200 OK status code and an XML representation with the user and company references.

<user href="https://core.ws.efinancialcareers.com/v1/users/13" xsi:schemaLocation="http://efinancialcareers.com/schema https://core.ws.efinancialcareers.com/v1/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <id>13</id> This is the user refId to use in the job XML

    <version>0</version>

    <firstName>Gina</firstName>

    <lastName>Roberto</lastName>

    <email>[email protected]</email>

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

        <refId>2</refId> This is the company refId to use in the job XML

    </company>

    <teams>

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

            <refId>3</refId> This is the team refId to use when discovering the inventory allocated to a team

        </team>

    </teams>

    <approved>true</approved>

    <created>2011-11-22T09:43:18.300Z</created>

</user>