This section examines all the different (Pull) type requests. You must always use the entry point https://www.jobillico.com/api/info. Here are the various actions that can be carried out to retrieve information using the API.
Please note that the “bsandboxoff” node is optional. By default, the request is processed in our “sandbox” environment. The following nomenclature will enable you to make a request directly through our production environment: <bsandboxoff>1</bsandboxoff>.
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[your_password]]></sparam> </oauth> <locations> <icompany><![CDATA[535]]></icompany> <ilocation><![CDATA[327]]></ilocation> </locations> </request>
Several nodes <icompany> (containing a company number) or <ilocation> (containing a location number) can be set as child nodes in the information request
If no child nodes are present, all locations to which the user has access will be returned
The answer consists of a list of <olocation> objects :
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[your_password]]></sparam> </oauth> <departments> <icompany><![CDATA[535]]></icompany> <idepartment><![CDATA[>2]]></idepartment> </departments> </request>
Several nodes <icompany> (containing a company number) or <idepartment> (containing a department number) can be set as child nodes in the information request
If no child nodes are present, all departments to which the user has access will be returned
The answer consists of a list of <odepartment> objects :
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[your_password]]></sparam> </oauth> <jobfunctions /> </request>
The answer consists of a list of <ojobfunction> objects :
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[your_password]]></sparam> </oauth> <benefits> <icompany><![CDATA[535]]></icompany> </benefits> </request>
Several nodes <icompany> (containing a company number) can be put as a child node in the information request
If no child nodes are present, all benefits to which the user has access will be returned
The answer consists of a list of <obenefit> objects :
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[your_password]]></sparam> </oauth> <allbenefits /> </request>
The answer consists of a list of <obenefit> objects :
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[your_password]]></sparam> </oauth> <jobs> <icompany><![CDATA[535]]></icompany> <ijob><![CDATA[2042182]]></ijob> </jobs> </request>
Several nodes <icompany> (containing a company number) or <ijob> (containing a job number) can be put as child nodes in the information request
At least one node <icompany> (containing a company number) is required
The answer consists of a list of <ojob> objects :
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[your_password]]></sparam> </oauth> <companies/> </request>
The answer consists of a list of <ocompanie> objects :
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[your_password]]></sparam> </oauth> <recruiters> <irecruiter><![CDATA[32957]]></irecruiter> <icompany><![CDATA[535]]></icompany> </recruiters> </request>
Several nodes <icompany> (containing a company number) or <irecruiter> (containing a recruiter number) can be set as child nodes in the information request
If no child nodes are present, all recruiters to which the user has access will be returned
The answer consists of a list of <orecruiter> objects :
It is also possible to submit a request that encompasses all requested actions:
<?xml version="1.0" encoding="utf-8"?> <request> <bsandboxoff>1</bsandboxoff> <oauth> <sparam><![CDATA[your_email@jobillico.com]]></sparam> <sparam><![CDATA[ApiTest]]></sparam> </oauth> <companies /> <locations> <icompany><![CDATA[535]]></icompany> <ilocation><![CDATA[1325]]></ilocation> </locations> <jobs> <icompany><![CDATA[535]]></icompany> <ijob><![CDATA[1325]]></ijob> </jobs> <recruiters> <icompany><![CDATA[535]]></icompany> </recruiters> <whatsthis></whatsthis> <departments> <icompany><![CDATA[3792]]></icompany> </departments> <jobfunctions /> </request>
<?xml version="1.0" encoding="utf-8"?> <results> <companies> <ocompanie> <icompany><![CDATA[535]]></icompany> <sname><![CDATA[JobIllico Inc.]]></sname> <ocompanie> </companies> <locations> <olocations> <ilocation><![CDATA[351]]></ilocation> <icompany><![CDATA[535]]></icompany> <bmain><![CDATA[1]]></bmain> <saddress><![CDATA[170, rue Deveault]]></saddress> <iradius><![CDATA[50]]></iradius> <scity><![CDATA[Gatineau]]></scity> <sregion><![CDATA[Outaouais]]></sregion> <estate><![CDATA[QC]]></estate> <olocations> </locations> <jobs> <ojob> <ijob><![CDATA[380457]]></ijob> <icompany><![CDATA[535]]></icompany> <boffer><![CDATA[1]]></boffer> <sreference><![CDATA[IT-897]]></sreference> <stitle_fr><![CDATA[Assembleur]]></stitle_fr> <stitle_en><![CDATA[]]></stitle_en> <dmodification><![CDATA[2014-01-20]]></dmodification> <dexpiration><![CDATA[2014-01-30]]></dexpiration> <icreator><![CDATA[206]]></icreator> <irecruiter><![CDATA[267]]></irecruiter> <ojob> </jobs> <recruiters> <orecruiter> <irecruiter><![CDATA[367]]></irecruiter> <icompany><![CDATA[535]]></icompany> <slogin><![CDATA[IT-897]]></slogin> <sname><![CDATA[Assembleur]]></sname> <orecruiter> </recruiters> <whatsthis> <error> <icode><![CDATA[1002]]></icode> <smessage><![CDATA[Method not allowed]]></smessage> </error> </whatsthis> <departments> <odepartment> <idepartment><![CDATA[3413]]></idepartment> <icompany><![CDATA[3792]]></icompany> <slabel><![CDATA[Administration]]></slabel> <odepartment> </departments> <jobfunctions> <ojobfunction> <ijobfunction><![CDATA[48]]></ijobfunction> <slabel><![CDATA[Auditing]]></slabel> <slabel_en><![CDATA[Auditing]]></slabel_en> <slabel_fr><![CDATA[Auditing]]></slabel_fr> </ojobfunction> </jobfunctions> </results>