Skip to main content
POST
Record a student's daily attendance

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

One student's attendance for one school day.

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

The attendance day was recorded, updated, or already current.

Outcome of one daily-attendance record.

success
boolean
required
status
enum<string>
required

recorded (new day), updated (day changed), or duplicate (no change).

Available options:
recorded,
updated,
duplicate
studentId
string
required

The matched student's OneRoster sourcedId.

mappedStatus
enum<string>
required

The status attendanceCode mapped to.

Available options:
Absent,
ExcusedAbsence,
ExcusedLate,
Late,
LeftEarly,
Present