Procedures
getSleepingBagStats
Type: QueryAuthentication: Protected (ADMIN role required) Get statistics about sleeping bag checkouts and returns.
No input parameters
Total number of sleeping bag checkouts
Total number of sleeping bag returns
Number of sleeping bags currently checked out (checkouts - returns)
getSleepingBagLogs
Type: QueryAuthentication: Protected (ADMIN role required) Get paginated sleeping bag transaction logs.
Number of results per page (1-100, default 50)
Cursor for pagination (null for first page)
Search by user name, email, or application name
Filter by action (CHECK_OUT or RETURN)
Array of equipment log entries
Log entry ID
CHECK_OUT or RETURN
Equipment type (SLEEPING_BAG)
When the action occurred
User who borrowed/returned the equipment
Admin who processed the transaction
Cursor for next page (undefined if no more results)
getUsersWithUnreturnedBags
Type: QueryAuthentication: Protected (ADMIN role required) Get list of users who currently have unreturned sleeping bags.
No input parameters
User information
User ID
User name
User email
Application info with firstName and lastName
Admin who processed the last checkout
When the sleeping bag was last checked out
Equipment Actions
The following equipment actions are tracked:- CHECK_OUT - User borrows equipment
- RETURN - User returns equipment
Equipment Types
Currently supported equipment types:- SLEEPING_BAG - Sleeping bags for overnight hackathon participants