/worksites
Changed onUse this endpoint to retrieve all Worksites that are available in the current context.
get/worksites
Request
- Base URLhttps://api.securevan.com/v4
- URLhttps://api.securevan.com/v4/worksites
- AuthHTTP basic
Query parameters
employerIdinteger
Optional; filters results by the Employer with the specified ID
isMyOrganizationboolean
Optional; filters results by whether the Employer associated with the Worksite is designated isMyOrganization
$expandstring
Optional; comma-delimited list of expansion properties: workAreas
$topinteger
Response
200
Example response
{
"items": [
{
"worksiteId": 124,
"name": "Forestdale School",
"isPreferred": true,
"address": {
"addressLine1": "74 Sylvan St",
"city": "Malden",
"stateOrProvince": "MA",
"zipOrPostalCode": "02148"
},
"employer": {
"employerId": 99,
"name": "Malden Public Schools"
}
}
],
"count": 1
}Changes
- info
endpoint added
- info