GET /hr_api/v1/worksites/:uuid

Return details of an existing Worksite

Params

Property Required Details Location

uuid

Must be a String

URL

Examples

GET /hr_api/v1/worksites/:uuid
200
{
  "worksite": {
    "name": "Changeworknow HO TEST 12312312312321",
    "uuid": "2b433c8c-dd88-4060-b2e9-fe3c74acf86b",
    "details": "<p>Office details</p>",
    "travel_directions": "<p>Directions to the office</p>",
    "parking_instructions": "",
    "environment_name": "Office",
    "web_url": null,
    "worksite_id_string": "updated example worksite id string",
    "category_status": "Inactive",
    "flagship": false,
    "sort": null,
    "title": "Head Office",
    "postal_address": {
      "organization": "Changework Now",
      "building_number": "",
      "unit": "",
      "post_office_box": "",
      "address_line_1": "Girdler House",
      "address_line_2": "Quebec Road",
      "street_name": "",
      "municipality": "Henley-on-Thames",
      "region": "Oxfordshire",
      "postal_code": "RG9 1EY",
      "country_code": "GB",
      "physical_location": {
        "uuid": "8cc720b2-e1e8-4956-9d4e-4e83478d74c4",
        "name": "ChangeworkNow HO",
        "timezone": "Europe/London",
        "latitude": 51.5307,
        "longitude": -0.898216,
        "horizontal_accuracy": null,
        "vertical_accuracy": null,
        "comments": "<p>Limited Parking</p>",
        "geocoded_by": "pca",
        "geocoded_at": "2014-02-23T14:21:53.000+00:00",
        "geocoder_error": null,
        "geocoder": "pca",
        "business_unit": null,
        "job_category_one": null,
        "job_category_two": null,
        "job_category_three": null,
        "vms_category_one": null,
        "vms_category_two": null,
        "address_hash": "d31e2a451fdfd78e072ad803144c1819"
      }
    }
  }
}