POST api/EmployeeAttendance/GetStudentAttandanceList

Request Information

URI Parameters

None.

Body Parameters

EmployeeAttendanceModel
NameDescriptionTypeAdditional information
AdmissionNo

string

None.

StaffID

integer

None.

UserID

string

None.

ClassID

integer

None.

SectionID

integer

None.

strAbsentDate

string

None.

AbsentDate

date

None.

AttendanceInOut

string

None.

SearchTxt

string

None.

PageNo

integer

None.

RowNo

integer

None.

TotalRow

integer

None.

SelectedStudents

Collection of string

None.

ClassList

Collection of ClassModel

None.

SectionList

Collection of SectionModel

None.

AttendanceList

Collection of EmployeeAttendance

None.

Status

integer

None.

Message

string

None.

Domain

string

None.

Request Formats

application/json

Sample:
{
  "AdmissionNo": "sample string 1",
  "StaffID": 2,
  "UserID": "sample string 3",
  "ClassID": 4,
  "SectionID": 5,
  "strAbsentDate": "sample string 6",
  "AbsentDate": "2021-01-25T06:26:04.9974001-07:00",
  "AttendanceInOut": "sample string 8",
  "SearchTxt": "sample string 9",
  "PageNo": 10,
  "RowNo": 11,
  "TotalRow": 12,
  "SelectedStudents": [
    "sample string 1",
    "sample string 2"
  ],
  "ClassList": [
    {
      "ID": 1,
      "ClassName": "sample string 2",
      "ClassStatus": true,
      "CreateDate": "2021-01-25T06:26:05.0133368-07:00",
      "Status": 3,
      "Message": "sample string 4",
      "Domain": "sample string 5"
    },
    {
      "ID": 1,
      "ClassName": "sample string 2",
      "ClassStatus": true,
      "CreateDate": "2021-01-25T06:26:05.0133368-07:00",
      "Status": 3,
      "Message": "sample string 4",
      "Domain": "sample string 5"
    }
  ],
  "SectionList": [
    {
      "ID": 1,
      "SectionName": "sample string 2",
      "SectionStatus": true,
      "CreateDate": "2021-01-25T06:26:05.0133368-07:00",
      "Status": 3,
      "Message": "sample string 4",
      "Domain": "sample string 5"
    },
    {
      "ID": 1,
      "SectionName": "sample string 2",
      "SectionStatus": true,
      "CreateDate": "2021-01-25T06:26:05.0133368-07:00",
      "Status": 3,
      "Message": "sample string 4",
      "Domain": "sample string 5"
    }
  ],
  "AttendanceList": [
    {
      "AdmissionNo": "sample string 1",
      "SessionFk": 2,
      "StudentFk": 3,
      "FullName": "sample string 4",
      "Gender": "sample string 5",
      "IsAbsent": true,
      "strAbsentDate": "sample string 6",
      "AbsentDate": "2021-01-25T06:26:05.0133368-07:00",
      "AttendanceInOut": "sample string 8",
      "Domain": "sample string 9"
    },
    {
      "AdmissionNo": "sample string 1",
      "SessionFk": 2,
      "StudentFk": 3,
      "FullName": "sample string 4",
      "Gender": "sample string 5",
      "IsAbsent": true,
      "strAbsentDate": "sample string 6",
      "AbsentDate": "2021-01-25T06:26:05.0133368-07:00",
      "AttendanceInOut": "sample string 8",
      "Domain": "sample string 9"
    }
  ],
  "Status": 13,
  "Message": "sample string 14",
  "Domain": "sample string 15"
}

text/json

Sample:
{
  "AdmissionNo": "sample string 1",
  "StaffID": 2,
  "UserID": "sample string 3",
  "ClassID": 4,
  "SectionID": 5,
  "strAbsentDate": "sample string 6",
  "AbsentDate": "2021-01-25T06:26:04.9974001-07:00",
  "AttendanceInOut": "sample string 8",
  "SearchTxt": "sample string 9",
  "PageNo": 10,
  "RowNo": 11,
  "TotalRow": 12,
  "SelectedStudents": [
    "sample string 1",
    "sample string 2"
  ],
  "ClassList": [
    {
      "ID": 1,
      "ClassName": "sample string 2",
      "ClassStatus": true,
      "CreateDate": "2021-01-25T06:26:05.0286503-07:00",
      "Status": 3,
      "Message": "sample string 4",
      "Domain": "sample string 5"
    },
    {
      "ID": 1,
      "ClassName": "sample string 2",
      "ClassStatus": true,
      "CreateDate": "2021-01-25T06:26:05.0286503-07:00",
      "Status": 3,
      "Message": "sample string 4",
      "Domain": "sample string 5"
    }
  ],
  "SectionList": [
    {
      "ID": 1,
      "SectionName": "sample string 2",
      "SectionStatus": true,
      "CreateDate": "2021-01-25T06:26:05.0286503-07:00",
      "Status": 3,
      "Message": "sample string 4",
      "Domain": "sample string 5"
    },
    {
      "ID": 1,
      "SectionName": "sample string 2",
      "SectionStatus": true,
      "CreateDate": "2021-01-25T06:26:05.0286503-07:00",
      "Status": 3,
      "Message": "sample string 4",
      "Domain": "sample string 5"
    }
  ],
  "AttendanceList": [
    {
      "AdmissionNo": "sample string 1",
      "SessionFk": 2,
      "StudentFk": 3,
      "FullName": "sample string 4",
      "Gender": "sample string 5",
      "IsAbsent": true,
      "strAbsentDate": "sample string 6",
      "AbsentDate": "2021-01-25T06:26:05.0133368-07:00",
      "AttendanceInOut": "sample string 8",
      "Domain": "sample string 9"
    },
    {
      "AdmissionNo": "sample string 1",
      "SessionFk": 2,
      "StudentFk": 3,
      "FullName": "sample string 4",
      "Gender": "sample string 5",
      "IsAbsent": true,
      "strAbsentDate": "sample string 6",
      "AbsentDate": "2021-01-25T06:26:05.0133368-07:00",
      "AttendanceInOut": "sample string 8",
      "Domain": "sample string 9"
    }
  ],
  "Status": 13,
  "Message": "sample string 14",
  "Domain": "sample string 15"
}

application/xml, text/xml

Sample:
<EmployeeAttendanceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.Employee">
  <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 15</Domain>
  <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 14</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">13</Status>
  <AbsentDate>2021-01-25T06:26:04.9974001-07:00</AbsentDate>
  <AdmissionNo>sample string 1</AdmissionNo>
  <AttendanceInOut>sample string 8</AttendanceInOut>
  <AttendanceList>
    <EmployeeAttendance>
      <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 9</Domain>
      <AbsentDate>2021-01-25T06:26:05.0133368-07:00</AbsentDate>
      <AdmissionNo>sample string 1</AdmissionNo>
      <AttendanceInOut>sample string 8</AttendanceInOut>
      <FullName>sample string 4</FullName>
      <Gender>sample string 5</Gender>
      <IsAbsent>true</IsAbsent>
      <SessionFk>2</SessionFk>
      <StudentFk>3</StudentFk>
      <strAbsentDate>sample string 6</strAbsentDate>
    </EmployeeAttendance>
    <EmployeeAttendance>
      <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 9</Domain>
      <AbsentDate>2021-01-25T06:26:05.0133368-07:00</AbsentDate>
      <AdmissionNo>sample string 1</AdmissionNo>
      <AttendanceInOut>sample string 8</AttendanceInOut>
      <FullName>sample string 4</FullName>
      <Gender>sample string 5</Gender>
      <IsAbsent>true</IsAbsent>
      <SessionFk>2</SessionFk>
      <StudentFk>3</StudentFk>
      <strAbsentDate>sample string 6</strAbsentDate>
    </EmployeeAttendance>
  </AttendanceList>
  <ClassID>4</ClassID>
  <ClassList xmlns:d2p1="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels">
    <d2p1:ClassModel>
      <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain>
      <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message>
      <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status>
      <d2p1:ClassName>sample string 2</d2p1:ClassName>
      <d2p1:ClassStatus>true</d2p1:ClassStatus>
      <d2p1:CreateDate>2021-01-25T06:26:05.4192815-07:00</d2p1:CreateDate>
      <d2p1:ID>1</d2p1:ID>
    </d2p1:ClassModel>
    <d2p1:ClassModel>
      <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain>
      <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message>
      <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status>
      <d2p1:ClassName>sample string 2</d2p1:ClassName>
      <d2p1:ClassStatus>true</d2p1:ClassStatus>
      <d2p1:CreateDate>2021-01-25T06:26:05.4192815-07:00</d2p1:CreateDate>
      <d2p1:ID>1</d2p1:ID>
    </d2p1:ClassModel>
  </ClassList>
  <PageNo>10</PageNo>
  <RowNo>11</RowNo>
  <SearchTxt>sample string 9</SearchTxt>
  <SectionID>5</SectionID>
  <SectionList xmlns:d2p1="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models.MasterModels">
    <d2p1:SectionModel>
      <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain>
      <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message>
      <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status>
      <d2p1:CreateDate>2021-01-25T06:26:05.4192815-07:00</d2p1:CreateDate>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:SectionName>sample string 2</d2p1:SectionName>
      <d2p1:SectionStatus>true</d2p1:SectionStatus>
    </d2p1:SectionModel>
    <d2p1:SectionModel>
      <Domain xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 5</Domain>
      <Message xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">sample string 4</Message>
      <Status xmlns="http://schemas.datacontract.org/2004/07/OnlineSchoolManagement.Models">3</Status>
      <d2p1:CreateDate>2021-01-25T06:26:05.4192815-07:00</d2p1:CreateDate>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:SectionName>sample string 2</d2p1:SectionName>
      <d2p1:SectionStatus>true</d2p1:SectionStatus>
    </d2p1:SectionModel>
  </SectionList>
  <SelectedStudents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SelectedStudents>
  <StaffID>2</StaffID>
  <TotalRow>12</TotalRow>
  <UserID>sample string 3</UserID>
  <strAbsentDate>sample string 6</strAbsentDate>
</EmployeeAttendanceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.