Job Posts API

This is the API to deal with job posts. Each action shows the HTTP request and response. Errors are generic in format and provide action-specific messages and error codes as described here.

Listing Job Posts

Request Response

URL takes additional parameters as needed for pagination etc.

Type: GET
          
URL: /job_posts.[json, xml]?access_token=<access-token>&param1=value1&param2=value2&
          
XML: All job_posts. Root element: job-posts
JSON: Array of job_post elements.

Creating a Job Post

Request Response

Body takes parameters as needed for creation of a new Job Post.

Type: POST
          
URL: /job_posts.[json, xml]
          
Body: access_token=<access-token>&summary=summary&description=description&location=location&organization_name=company_name
          
XML/JSON: Representation of the created job post.

Showing a Job Post

Request Response
Type: GET
          
URL: /job_posts/<ID>.[json, xml]
          
XML/JSON representation of the job_post.

Updating a Job Post

Request Response

Body takes additional parameters as needed for editing the given Job Post.

Type: PUT or POST with X-HTTP-Method-Override: PUT Header
          
URL: /job_posts/<ID>.[json, xml]
          
Body: access_token=<access-token>&summary=summary&description=description&location=location&organization_name=company_name
          
XML: All job_posts. Root element: job_posts.
JSON: Array of job_post elements.

Deleting a Job Post

Request Response
Type: DELETE or POST with X-HTTP-Method-Override: DELETE Header
          
URL: /job_posts/<ID>.[json, xml]
          
Body: access_token=<access-token>
          
Just the headers (if it succeeds). Errors are displayed if you are not entitled to delete a job post.