Skip to main content
POST
Record daily attendance for many students

Authorizations

Authorization
string
header
required

Bearer access token from POST /oauth/token (OAuth 2.0 client credentials; the OneRoster /ims/oneroster/v1p1/token and /v1p2/token URLs are aliases). Send it as Authorization: Bearer <access_token>. Tokens expire after 1 hour and carry your API client's granted scopes — an endpoint outside them returns 403.

Body

application/json
Required array length: 1 - 200 elements
studentId
string
required

The OneRoster sourcedId, identifier (SIS number), or state id.

date
string
required

The school day, YYYY-MM-DD. Not in the future.

attendanceCode
string
required

P, T (or L), ET (or TE), A, E (or EA), LE, or a status name: Present, Late, ExcusedLate, Absent, ExcusedAbsence, LeftEarly. Case-insensitive.

arrivalTime
string | null

Arrival time on date, HH:mm or HH:mm:ss Pacific time. Returned by the reads; not used to compute lateness.

comment
string | null

Free-text note for staff, shown on the attendance log.

Response

Every record succeeded.

Outcome of a bulk request.

summary
object
required

Record counts by outcome.

results
object[]
required

One result per record, in request order.