POST api/jobs

Recives HTTP Post with XML body with add or delete requests in the XML.

Request Information

URI Parameters

None.

Body Parameters

JobAdvert
NameDescriptionTypeAdditional information
command

Contains the add or delete command.

string

Required

username

Supplied by 360 Systems.

string

Required

password

Supplied by 360 Systems.

string

None.

contact_name

Contact name for the recruiter.

string

None.

contact_email

Contact email for the recruiter.

string

None.

contact_telephone

Contact telephone number for the recruiter.

string

None.

contact_url

URL for the recruiter.

string

None.

days_to_advertise

Integer number of days to advertise.

integer

Required

application_email

Aplitrak submission e-mail supplied by BroadBean.

string

Required

application_url

Apply online URl supplied by BroadBean.

string

None.

job_reference_id

Job Reference Id, job_refence with timestamp, will be unique.

string

Required

job_reference

Job Reference for the job.

string

Required

job_title

Job title.

string

Required

job_type

Job type.

string

Required

job_duration

Job duration.

string

None.

job_startdate

Job start date, recommended submission format is yyyy-mm-dd.

string

Required

job_skills

Job skills.

string

Required

job_description

Job description, HTML is supported in this field.

string

Required

job_location_id

The location Id as supplied by 360 Systems.

string

Required

job_location

Location of the job, from list supplied by 360 Systems.

string

Required

job_geocode_lat

Latitude geocode.

decimal number

None.

job_geocode_lng

Longitude geocode.

decimal number

None.

job_postcode

Postcode

string

None.

job_industry

Industry of the job, from list supplied by 360 Systems.

string

Required

salary_currency

Currency of the Salary, GBP EUR or USD.

string

Required

salary_from

Salary from.

decimal number

Required

salary_to

Salary to.

decimal number

None.

salary_per

The rate at which the salary is paid, annum, month, week, day or hour.

string

Required

salary_benefits

Salary benefits

string

None.

salary

Contains all the above salary information in a single string.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "command": "sample string 8",
  "username": "sample string 9",
  "password": "sample string 10",
  "contact_name": "sample string 11",
  "contact_email": "sample string 12",
  "contact_telephone": "sample string 13",
  "contact_url": "sample string 14",
  "days_to_advertise": 15,
  "application_email": "sample string 16",
  "application_url": "sample string 17",
  "job_reference_id": "sample string 18",
  "job_reference": "sample string 19",
  "job_title": "sample string 20",
  "job_type": "sample string 21",
  "job_duration": "sample string 22",
  "job_startdate": "sample string 23",
  "job_skills": "sample string 24",
  "job_description": "sample string 25",
  "job_location_id": "sample string 26",
  "job_location": "sample string 27",
  "job_geocode_lat": 28.1,
  "job_geocode_lng": 29.1,
  "job_postcode": "sample string 30",
  "job_industry": "sample string 31",
  "salary_currency": "sample string 32",
  "salary_from": 33.1,
  "salary_to": 34.1,
  "salary_per": "sample string 35",
  "salary_benefits": "sample string 36",
  "salary": "sample string 37"
}

application/xml, text/xml

Sample:
<JobAdvert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Repository.Models">
  <application_email>sample string 16</application_email>
  <application_url>sample string 17</application_url>
  <command>sample string 8</command>
  <contact_email>sample string 12</contact_email>
  <contact_name>sample string 11</contact_name>
  <contact_telephone>sample string 13</contact_telephone>
  <contact_url>sample string 14</contact_url>
  <days_to_advertise>15</days_to_advertise>
  <job_description>sample string 25</job_description>
  <job_duration>sample string 22</job_duration>
  <job_geocode_lat>28.1</job_geocode_lat>
  <job_geocode_lng>29.1</job_geocode_lng>
  <job_industry>sample string 31</job_industry>
  <job_location>sample string 27</job_location>
  <job_location_id>sample string 26</job_location_id>
  <job_postcode>sample string 30</job_postcode>
  <job_reference>sample string 19</job_reference>
  <job_reference_id>sample string 18</job_reference_id>
  <job_skills>sample string 24</job_skills>
  <job_startdate>sample string 23</job_startdate>
  <job_title>sample string 20</job_title>
  <job_type>sample string 21</job_type>
  <password>sample string 10</password>
  <salary>sample string 37</salary>
  <salary_benefits>sample string 36</salary_benefits>
  <salary_currency>sample string 32</salary_currency>
  <salary_from>33.1</salary_from>
  <salary_per>sample string 35</salary_per>
  <salary_to>34.1</salary_to>
  <username>sample string 9</username>
</JobAdvert>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Success message contains url of posted advert. Will return validation errors and othere errors.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.