Each time a contractor signs in or out, they create a movement. Use the API to return all contractor member movements, or add or update a movement record.
Retrieves a list of contractor movement records. If an 'id' query parameter is supplied it will return a single contractor movement record.
A comma separated list of tag:value search parameters, a colon separator performs an exact match, a percent separator performs a starts-with search and greater/less than search number/date ranges.
List of contractor movement records
Access denied to this resource
Resource not found
Internal server error
curl -i -X GET \ 'https://api.whosonlocation.com/v1/sp/member/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": 301,
- "sp_member_id": 16348,
- "sp_org_id": 4587,
- "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": "zone",
- "signed_in_by": 823493,
- "signed_out_by": 823493,
- "scanned_in": "string",
- "scanned_out": "string",
- "visiting_staff_id": 823431,
- "cardnumber": "c001",
- "carpark_question": true,
- "carpark_registration": "DRU706",
- "carpark_number": "SP003",
- "pass": 20,
- "other_pass": "opass047",
- "sp_purpose": "Repairs",
- "assistance": false,
- "expected": true,
- "accessdenied": false,
- "accessdenied_reason": "No reason required",
- "loneworker": true,
- "so_staff_id": 455,
- "so_spm_id": 458,
- "interzone": true,
- "breathtest": false,
- "from_zone": 87,
- "selected_language": "english",
- "lacp_in_name": "Reception",
- "lacp_out_name": "Reception",
- "zone_group_name": "Maintenance",
- "signed_in_by_kiosk": false,
- "signed_out_by_kiosk": false,
- "photo_url": "your.site/storage/contractorphoto.pdf",
- "signout_photo_url": "your.site/storage/contractorphoto.pdf",
- "signed_in_lat": "Latitude-value of coordinates for sign-in (Decimal Degrees)",
- "signed_in_lon": "Longitude-value of coordinates for sign-in (Decimal Degrees)",
- "signed_in_accuracy": "Precision for sign-in coordinates",
- "signed_out_lat": "Latitude-value of coordinates for sign-out (Decimal Degrees)",
- "signed_out_lon": "Longitude-value of coordinates for sign-out (Decimal Degrees)",
- "signed_out_accuracy": "Precision for sign-out coordinates"
}
]
Creates or updates a contractor movement record.
Information used to update the contractor movement record
Updated resource
Access denied to this resource
Internal server error
{- "onsite_status": "onsite",
- "location_id": 301,
- "sp_member_id": 54,
- "sp_org_id": 504,
- "print_kiosk_id": 301,
- "lacp_id": 38,
- "zone_id": 3,
- "zone_other": "string",
- "scanned_in": "string",
- "scanned_out": "string",
- "visiting_staff_id": 8,
- "cardnumber": "cp013",
- "carpark_question": true,
- "carpark_registration": "MRD346",
- "carpark_number": "0014",
- "pass": 1054,
- "other_pass": "Contractor pass",
- "sp_purpose": "Water station repairs",
- "assistance": true,
- "expected": 60,
- "loneworker": null,
- "so_staff_id": 40,
- "so_spm_id": 89
}
{- "id": 4938,
- "created": "2021-10-28T12:57:14+13:00",
- "modified": "2021-11-15T12:57:14+13:00",
- "location_id": 301,
- "sp_member_id": 16348,
- "sp_org_id": 4587,
- "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": "zone",
- "signed_in_by": 823493,
- "signed_out_by": 823493,
- "scanned_in": "string",
- "scanned_out": "string",
- "visiting_staff_id": 823431,
- "cardnumber": "c001",
- "carpark_question": true,
- "carpark_registration": "DRU706",
- "carpark_number": "SP003",
- "pass": 20,
- "other_pass": "opass047",
- "sp_purpose": "Repairs",
- "assistance": false,
- "expected": true,
- "accessdenied": false,
- "accessdenied_reason": "No reason required",
- "loneworker": true,
- "so_staff_id": 455,
- "so_spm_id": 458,
- "interzone": true,
- "breathtest": false,
- "from_zone": 87,
- "selected_language": "english",
- "lacp_in_name": "Reception",
- "lacp_out_name": "Reception",
- "zone_group_name": "Maintenance",
- "signed_in_by_kiosk": false,
- "signed_out_by_kiosk": false,
- "photo_url": "your.site/storage/contractorphoto.pdf",
- "signout_photo_url": "your.site/storage/contractorphoto.pdf",
- "signed_in_lat": "Latitude-value of coordinates for sign-in (Decimal Degrees)",
- "signed_in_lon": "Longitude-value of coordinates for sign-in (Decimal Degrees)",
- "signed_in_accuracy": "Precision for sign-in coordinates",
- "signed_out_lat": "Latitude-value of coordinates for sign-out (Decimal Degrees)",
- "signed_out_lon": "Longitude-value of coordinates for sign-out (Decimal Degrees)",
- "signed_out_accuracy": "Precision for sign-out coordinates"
}