Worksites

Get worksite history

Get the complete event history for a worksite and its work types

get/worksites/{id}/history

Response

Event history retrieved successfully

idinteger
event_keystring nullable

References event_events.event_key. Entered every time a system event occurs. If this table gets large, it may need to be moved to a NOSQL db at some point.

attrstring
created_atstring date-time

Timestamp when the event was logged.

created_byinteger nullable

user.id of the user who created the event. This is usually the actor_id unless an administrator manually creates events.

actor_idinteger nullable

The ID of the actor, if the actor is a database object. This is usually, but not necessarily, a reference to the user_id. The table reference is contained in actor_model. If the actor is not a database object (e.g., an external resource like a client or caller), then use actor_external_id and actor_external_resource to identify the actor.

actor_blurred_locationstring nullable

A randomized version of actor_location, suitable for use on public maps.

actor_location_namestring nullable

A plain-text name from location_locations of the polygon in which the actor_location exists.

patient_blurred_locationstring nullable

A randomized version of patient_location, suitable for use on public maps.

patient_location_namestring nullable

A plain-text name from location_locations of the polygon in which the patient_location exists.

recipient_blurred_locationstring nullable

A randomized version of recipient_location, suitable for use on public maps.

recipient_location_namestring nullable

A plain-text name from location_locations of the polygon in which the recipient_location exists.

name_tstring
past_tense_tstring
present_progressive_tstring
map_destinationstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.