Skip to main content
PATCH
Sign a person out, or correct their attendance

Authorizations

X-Session-Token
string
header
required

Session token for authentication.

Path Parameters

site_attendance_id
string<uuid>
required

The unique identifier for the site attendance resource.

Query Parameters

organisation_id
string<uuid>
required

The organisation you are acting for. It must be one you are a member of. A person in more than one organisation takes the role of the one named here, so a member of both a scheme's owner and its Principal Contractor is the Client when acting for the owner and the Principal Contractor when acting for the contractor. Naming an organisation you are not a member of is answered as not found.

Body

application/vnd.api+json

Sign the attendee out, or correct captured details. Only the attributes sent change. An empty string clears an optional text attribute. signed_out_by and sign_out_recorder are derived from the authenticated principal and its party, and are not accepted here.

data
object
required

Response

A site attendance.

JSON API response object

data
object
required

One person's presence on site, from sign-in to sign-out

jsonapi
object
required
included
object[]

Related resources that can be included when a site attendance is returned

A scheme