Retrieves a list of community-member movement records.
q | integer <int32> Filters the result. See Using the API for more information. Example: q=community_id:123456 |
order | string <string> Order by any element returned, prefix with a - to reverse order. Example: order=id |
limit | integer <int32> Limits the amount of records to return. Example: limit=10 |
List of community-member movement records
Access denied to this resource
Resource not found
Internal server error
curl -i -X GET \ 'https://api.whosonlocation.com/v1/community/{community_id}/movement?q=0&order=string&limit=0' \ -H 'If-Modified-Since: string'
[- {
- "id": 4938,
- "created": "2021-10-28T12:57:14+13:00",
- "modified": "2021-11-15T12:57:14+13:00",
- "location_id": 2538,
- "community_id": 30142,
- "member_id": 16348,
- "signed_in": "2021-10-28T12:57:14+13:00",
- "signed_out": "2021-10-28T16:57:14+13:00",
- "mode_in": "Sign In/Out Manager",
- "mode_out": "Sign In/Out Manager",
- "zone_id": 32,
- "zone_other": "office",
- "signed_in_by": 823493,
- "signed_out_by": 823493,
- "carpark_question": true,
- "carpark_registration": "DRU706",
- "carpark_number": "SP003",
- "purpose": "Repairs",
- "assistance": false,
- "expected": true,
- "accessdenied": false,
- "accessdenied_reason": "trigger",
- "loneworker": true,
- "interzone": true,
- "from_zone": 87,
- "selected_language": "english",
- "lacp_in_name": "Reception",
- "lacp_out_name": "Reception",
- "zone_group_name": "Maintenance",
- "photo_url": "your.site/storage/contractorphoto.jpg",
- "signout_photo_url": "your.site/storage/contractorphoto.jpg"
}
]
Creates or updates an community-member movement record.
Data required to create or update an community member movement:
Updated movement
Access denied to this resource
Internal server error
{- "onsite_status": "onsite",
- "location_id": 301,
- "member_id": 54,
- "lacp_id": 38,
- "zone_id": 3443,
- "zone_other": "string",
- "carpark_question": true,
- "carpark_registration": "MRD346",
- "carpark_number": "0014",
- "purpose": "Water station repairs",
- "assistance": true,
- "expected": 60
}
{- "id": 4938,
- "created": "2021-10-28T12:57:14+13:00",
- "modified": "2021-11-15T12:57:14+13:00",
- "location_id": 2538,
- "community_id": 30142,
- "member_id": 16348,
- "signed_in": "2021-10-28T12:57:14+13:00",
- "signed_out": "2021-10-28T16:57:14+13:00",
- "mode_in": "Sign In/Out Manager",
- "mode_out": "Sign In/Out Manager",
- "zone_id": 32,
- "zone_other": "office",
- "signed_in_by": 823493,
- "signed_out_by": 823493,
- "carpark_question": true,
- "carpark_registration": "DRU706",
- "carpark_number": "SP003",
- "purpose": "Repairs",
- "assistance": false,
- "expected": true,
- "accessdenied": false,
- "accessdenied_reason": "trigger",
- "loneworker": true,
- "interzone": true,
- "from_zone": 87,
- "selected_language": "english",
- "lacp_in_name": "Reception",
- "lacp_out_name": "Reception",
- "zone_group_name": "Maintenance",
- "photo_url": "your.site/storage/contractorphoto.jpg",
- "signout_photo_url": "your.site/storage/contractorphoto.jpg"
}
Retrieves a single community member movement, filtering with the provided ID.
Access denied to resource
Resource not found
Internal server error
curl -i -X GET \ 'https://api.whosonlocation.com/v1/community/{community_id}/movement/:id'
{- "id": 4938,
- "created": "2021-10-28T12:57:14+13:00",
- "modified": "2021-11-15T12:57:14+13:00",
- "location_id": 2538,
- "community_id": 30142,
- "member_id": 16348,
- "signed_in": "2021-10-28T12:57:14+13:00",
- "signed_out": "2021-10-28T16:57:14+13:00",
- "mode_in": "Sign In/Out Manager",
- "mode_out": "Sign In/Out Manager",
- "zone_id": 32,
- "zone_other": "office",
- "signed_in_by": 823493,
- "signed_out_by": 823493,
- "carpark_question": true,
- "carpark_registration": "DRU706",
- "carpark_number": "SP003",
- "purpose": "Repairs",
- "assistance": false,
- "expected": true,
- "accessdenied": false,
- "accessdenied_reason": "trigger",
- "loneworker": true,
- "interzone": true,
- "from_zone": 87,
- "selected_language": "english",
- "lacp_in_name": "Reception",
- "lacp_out_name": "Reception",
- "zone_group_name": "Maintenance",
- "photo_url": "your.site/storage/contractorphoto.jpg",
- "signout_photo_url": "your.site/storage/contractorphoto.jpg"
}