attendance_insert_passage
Log RFID entry/exit events by providing user ID, date, time, direction, gate, and reader. Returns HTTP 201 to confirm the access passage was recorded.
Instructions
Record a new access passage event (RFID entry/exit). Returns HTTP 201 on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Cas | Yes | Time HH:MM:SS | |
| Smer | Yes | 'P' = arrival, 'O' = departure, 'X' = no direction | |
| Datum | Yes | Date YYYY-MM-DD | |
| Hlavni | Yes | Is main entrance? | |
| BranaId | Yes | Gate identifier (max 40 chars) | |
| CteckaId | Yes | Reader identifier (max 40 chars) | |
| Poznamka | No | Optional note (max 255 chars) | |
| PkUzivatel | Yes | User ID (staff or student) |