Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
288 lines (257 loc) · 5.58 KB

opportunities_site_id.md

File metadata and controls

288 lines (257 loc) · 5.58 KB

List all open opportunities for a given id

GET /opportunities/{site}/{id}.{format}

Description

This method returns a the job description for a given opportunity

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1811 Enabled Yes
Service Name opportunities Service ID 347
Information Steward Each individual site's data steward Data Type Direct DB Connection
Update Frequency Realtime Cache Time 0 seconds

Notes

  • Any value can be null

Sources

Parameters

GET /opportunities/{site}/{id}.{format}
Parameter Type Required Description
key filter yes Your API key
site input yes Site ID
id input yes Job ID
callback filter no JSONP callback format

Output Formats

  • json
  • xml

Examples

GET /opportunities/{site}/{id}.{format}

Response

Field Name Type Value Description
id integer Post id
site_id string Site id
site_name string Site name
title string Position title
job_id string Job ID (currently not implemented)
title string Position title
pay string Pay amount
pay_type string Type of pay (salary, hourly etc)
description string Job Description
department string Hiring department
description_raw string Position description with HTML
type string Position type (fulltime/paid/volunteer etc)
application_deadline date Deadline to apply
start_date date Job start date
end_date date Job end date
number_of_positions string Number of positions available
application_link string Link to directly apply for the job
reports_to string Employee's direct report
published_by string Watiam id of the publisher
link string Post URL
posted datetime Date posted
revision_id integer Job description revision id
updated datetime Last updated

Any value can be null

Output

JSON

{
  "meta":{
    "requests":811498,
    "timestamp":1453156018,
    "status":200,
    "message":"Request successful",
    "method_id":1847,
    "method":{
      
    }
  },
  "data":{
    "id":455,
    "site_id":"planning",
    "site_name":"School of Planning",
    "title":"Municipal Land-Use Planner",
    "job_id":null,
    "pay":"TBD",
    "pay_type":"Salary",
    "type":"Paid",
    "department":"School of Planning",
    "description":"Oldman River Regional Services Commission has a position open for a Municipal Land-Use Planner. Please link for full details.",
    "description_raw":"<p>Oldman River Regional Services Commission has a position open for a Municipal Land-Use Planner. Please link for full details.<\/p>",
    "application_deadline":null,
    "start_date":null,
    "end_date":null,
    "number_of_positions":"1",
    "application_link":"http:\/\/www.albertaplanners.com\/sites\/default\/files\/career_opportunities\/attachments\/ORRSCPlannerJobAd.pdf",
    "reports_to":null,
    "published_by":"ssolomon",
    "link":"https:\/\/uwaterloo.ca\/planning\/opportunities\/municipal-land-use-planner",
    "revision_id":2460,
    "posted":"2015-12-23T00:00:00-05:00",
    "updated":"2015-12-23T12:22:26-05:00"
  }
}