POST api/StudentAttendance/insertRecord

Request Information

URI Parameters

None.

Body Parameters

StudentAttendance
NameDescriptionTypeAdditional information
EnquiryId

decimal number

None.

StudentAttendanceId

decimal number

None.

AttendanceDate

date

None.

BranchId

decimal number

None.

TimeTableId

decimal number

None.

StartTime

time interval

None.

EndTime

time interval

None.

YearId

decimal number

None.

DayId

integer

None.

BatchId

decimal number

None.

GradeId

decimal number

None.

SectionId

decimal number

None.

SubjectId

decimal number

None.

EmployeeId

decimal number

None.

ClassRoomId

decimal number

None.

LectureTakenBy

decimal number

None.

TopicId

decimal number

None.

LectureTimeMin

decimal number

None.

LecturerRemark

string

None.

EditReason

string

None.

CreatedBy

decimal number

None.

CreatedDate

date

None.

UpdatedBy

decimal number

None.

UpdatedDate

date

None.

Status

string

None.

StudentAttendanceDetails

string

None.

StudentAttendanceDetailDeleteIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EnquiryId": 1.0,
  "StudentAttendanceId": 1.0,
  "AttendanceDate": "2022-08-16T12:16:07.20924+05:30",
  "BranchId": 3.0,
  "TimeTableId": 4.0,
  "StartTime": "00:00:00.1234567",
  "EndTime": "00:00:00.1234567",
  "YearId": 7.0,
  "DayId": 8,
  "BatchId": 9.0,
  "GradeId": 10.0,
  "SectionId": 11.0,
  "SubjectId": 12.0,
  "EmployeeId": 13.0,
  "ClassRoomId": 14.0,
  "LectureTakenBy": 15.0,
  "TopicId": 16.0,
  "LectureTimeMin": 17.0,
  "LecturerRemark": "sample string 18",
  "EditReason": "sample string 19",
  "CreatedBy": 20.0,
  "CreatedDate": "2022-08-16T12:16:07.2102378+05:30",
  "UpdatedBy": 22.0,
  "UpdatedDate": "2022-08-16T12:16:07.2102378+05:30",
  "Status": "sample string 24",
  "StudentAttendanceDetails": "sample string 25",
  "StudentAttendanceDetailDeleteIds": "sample string 26"
}

application/xml, text/xml

Sample:
<StudentAttendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <AttendanceDate>2022-08-16T12:16:07.20924+05:30</AttendanceDate>
  <BatchId>9</BatchId>
  <BranchId>3</BranchId>
  <ClassRoomId>14</ClassRoomId>
  <CreatedBy>20</CreatedBy>
  <CreatedDate>2022-08-16T12:16:07.2102378+05:30</CreatedDate>
  <DayId>8</DayId>
  <EditReason>sample string 19</EditReason>
  <EmployeeId>13</EmployeeId>
  <EndTime>PT0.1234567S</EndTime>
  <EnquiryId>1</EnquiryId>
  <GradeId>10</GradeId>
  <LectureTakenBy>15</LectureTakenBy>
  <LectureTimeMin>17</LectureTimeMin>
  <LecturerRemark>sample string 18</LecturerRemark>
  <SectionId>11</SectionId>
  <StartTime>PT0.1234567S</StartTime>
  <Status>sample string 24</Status>
  <StudentAttendanceDetailDeleteIds>sample string 26</StudentAttendanceDetailDeleteIds>
  <StudentAttendanceDetails>sample string 25</StudentAttendanceDetails>
  <StudentAttendanceId>1</StudentAttendanceId>
  <SubjectId>12</SubjectId>
  <TimeTableId>4</TimeTableId>
  <TopicId>16</TopicId>
  <UpdatedBy>22</UpdatedBy>
  <UpdatedDate>2022-08-16T12:16:07.2102378+05:30</UpdatedDate>
  <YearId>7</YearId>
</StudentAttendance>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StudentAttendance'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>