| Required role: | Admin |
| POST | /attendance_scans |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StudentId | body | int? | No | |
| EventId | body | int? | No | |
| EventName | body | string | No | |
| TargetModule | body | TargetModuleEnum? | No | |
| RawScanCode | body | string | No | |
| Schoolid | body | string | No | |
| ScanDt | body | DateTime? | No | |
| ScannerCode | body | string | No | |
| MobileSrcCode | body | string | No | |
| ScannedBy | body | string | No | |
| Credits | body | int? | No | |
| Metatags | body | string | No | |
| IsRosterFound | body | bool? | No | |
| IsApproved | body | bool? | No | |
| IsManualEntry | body | bool? | No | |
| Notes | body | string | No |
| worship |
| chapel |
| career |
| curfew |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | AttendanceScanDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AttendanceScanId | form | int | No | |
| StudentId | form | int? | No | |
| EventId | form | int? | No | |
| TargetModule | form | string | No | |
| RawScanCode | form | string | No | |
| SchoolId | form | string | No | |
| ScanDt | form | DateTime? | No | |
| ScannerCode | form | string | No | |
| MobileSrcCode | form | string | No | |
| ScannedBy | form | string | No | |
| Credits | form | int? | No | |
| Metatags | form | string | No | |
| IsRosterFound | form | bool | No | |
| IsApproved | form | bool | No | |
| IsManualEntry | form | bool | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| DisplayName | form | string | No | |
| Notes | form | string | No | |
| UploadDt | form | DateTime? | No | |
| Gender | form | string | No | |
| Ethnicity | form | string | No | |
| EntryYear | form | string | No | |
| BuildingName | form | string | No | |
| Room | form | string | No | |
| HomeState | form | string | No | |
| HomeCountry | form | string | No | |
| EventName | form | string | No | |
| Classification | form | string | No | |
| Major | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST //attendance_scans HTTP/1.1
Host: api.lsu.abodehms.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'CreateAttendanceScan' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'CreateAttendanceScanResponse' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)