| Required role: | Admin |
| GET | /attendance_roster |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TermId | query | int? | No | |
| TargetModule | query | TargetModuleEnum | No | |
| BuildingIds | query | ArrayOfInt | No |
| worship |
| chapel |
| career |
| curfew |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Results | form | List<AttendanceRosterDTO> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TargetModule | form | string | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| ImageFile | form | string | No | |
| Schoolid | form | string | No | |
| StudentId | form | int | No | |
| ScanCode | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET //attendance_roster HTTP/1.1 Host: api.lsu-staging.abodehms.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
results:
[
{
targetModule: String,
firstName: String,
lastName: String,
imageFile: String,
schoolid: String,
studentId: 0,
scanCode: String
}
],
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}