© 2018 Capita Business Services Ltd. All rights reserved.

Capita Education Software Solutions is a trading name of Capita Business Services Ltd. Our Registered office is 30 Berners Street, London, W1T 3LR and our registered number is 02299747. Further information about Capita plc can be found in our legal statement.

SIMS 7 - New Attendance Code Read API

Purpose: To provide a simplified API that shows the attendance codes available in SIMS and the statutory reporting codes linked to that code.

SIMS Version Required

Summer 2020 or later

Usage

Requires only a reference to ThirdPartyCommands.Dll

namespace SIMSInterface
{
    public class NewAttendance
    {
        public System.Xml.XmlDocument GetNewAttendanceCodes()
        {
            ThirdPartyCommands.GetAttendanceCodesCommand gac = 
                new ThirdPartyCommands.GetAttendanceCodesCommand(".","engga",false,"blacka","abcd");
            return gac.Execute();
        }
    }
}

Return

<AttendanceCodes_V2_load>
  <Version>1.0</Version>
  <AttenanceCodes>
    <AttendanceCode>
      <Attendance_Code_ID>27</Attendance_Code_ID>
      <SIMS_Display_Code>-</SIMS_Display_Code>
      <SIMS_Display_Description>All should attend / No mark recorded</SIMS_Display_Description>
      <Physical_Mapping_Description>No mark for session</Physical_Mapping_Description>
      <Statistical_Mapping_Description>No mark</Statistical_Mapping_Description>
      <Is_Restricted>1</Is_Restricted>
      <Is_Active>1</Is_Active>
      <Statutory_Return_Code>-</Statutory_Return_Code>
      <Statutory_Return_Description>All should attend / No mark recorded</Statutory_Return_Description>
    </AttendanceCode>
    <AttendanceCode>
      <Attendance_Code_ID>33</Attendance_Code_ID>
      <SIMS_Display_Code>9</SIMS_Display_Code>
      <SIMS_Display_Description>Shielding due to Covid 19</SIMS_Display_Description>
      <Physical_Mapping_Description>Out for whole session</Physical_Mapping_Description>
      <Statistical_Mapping_Description>Attendance not required</Statistical_Mapping_Description>
      <Is_Restricted>1</Is_Restricted>
      <Is_Active>1</Is_Active>
      <Statutory_Return_Code>Y</Statutory_Return_Code>
      <Statutory_Return_Description>Unable to attend due to exceptional circumstances</Statutory_Return_Description>
    </AttendanceCode>