Post Attendance
PostAttendanceTransactionRequest
PostAttendanceInMsg
| Name | Required | Description |
|---|---|---|
| StudentId | Yes | Student Identifier |
| EnrolledProgramId | No | Enrolled Program Identifier. If not provided, API logic assumes “current enrollment”. |
| CourseSectionId | Yes | Course Section Identifier |
| AttendanceDate | Yes | Attendance Date |
| AttendanceStartTime | No | Attendance Start Time |
| MinutesAttended | Conditional | Must be >= 0 if provided. Required if a ScheduledMeetingId is not provided and a row does not already exist for the date attendance is being posted for. |
| MinutesAbsent | Conditional | Must be >= 0 if provided. Required if a ScheduledMeetingId is not provided and a row does not already exist for the date attendance is being posted for. |
| IsExcused | No | True/False. Applicable only if the value populated in MinutesAbsent is > 0. |
| ScheduledMeetingId | No | Scheduled Meeting Identifier |
| Comment | No | Comment |
| IsDependentCourse | Yes | True/False. Populate with true if the detailed attendance row is for the dependent course. If populated with true, a row must exist in AdEnrollSched for the student where AdDependentAdClassSchedId = Course Section Id provided in-message. |
| UpdateExistingAttendance | Yes |
True/False. Default: False if not specified.
|
| SkipSemanticValidation | No | The default is false. If set to true, the process will skip semantic validation. |
| PostAttForScheduledPeriods | No |
True/False. Default: False. This flag has is used when posting the attendance for a hybrid class section, i.e., a class section that is configured as various days/times and has scheduled periods.
Note: If the course section has schedule periods only (not configured as various days/time) and the flag is set to false in the message, an exception occurs. With this configuration, the in-message value of this flag should be true. If the course section is configured as various days/times with no scheduled periods and the flag is set to true in the message, an exception occurs. With this configuration, the in-message value of this flag should be false. |
| IsMakeup | No | True/False. Set this flag to true to post makeup hours. The default value is false. A valid value greater than zero must be provided for MinutesAttended and all other required fields. |
| MakeUpMaxType | No | Makeup Maximum Type. Valid values:
When H is selected, the value in the MakeupMaxNum field represents makeup hours. When P is selected, the value in the MakeupMaxNum field represents a percentage of class time. This field is available only if "Allow Makeup Hours?" is configured for the campus (Setup > Campus Location > Campus Academic Records > Others > Attendance Configuration). |
| MakeupMaxNum | No | Makeup Maximum Number. The value in this field is represents hours or percentage depending on the selection (H or P) in the MakeUpMaxType field. This field is available only if "Allow Makeup Hours?" is configured for the campus (Setup > Campus Location > Campus Academic Records > Others > Attendance Configuration). |
| PostOutsideOfScheduledPeriods | No | True/False. Set this flag to true to bypass any validations that are performed while posting attendance for scheduled periods. The class section must be configured with scheduled periods and a valid ScheduledMeetingId must be passed. If this flag is true, the StartTime for the attendance posted will be the start time of the corresponding AdClassAttend record (retrieved based on ScheduledMeetingId provided). |
PostAttendanceTransactionResponse
PostAttendanceOutMsg
| Name | Description |
|---|---|
| Status | OK or ERROR |
| Result | Details of Error Condition |