POST api/AddUpdateAttendance

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objAttendance
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AttendanceId": 1,
  "PunchDate": "sample string 2",
  "PunchIn": "sample string 3",
  "PunchOut": "sample string 4",
  "ArrivalDeparture": "sample string 5",
  "Status": "sample string 6",
  "IsArrivalSMS": true,
  "IsDepartureSMS": true,
  "CenterName": "sample string 9",
  "StudentID": 10,
  "EnrollmentNo": "sample string 11",
  "FirstName": "sample string 12",
  "LastName": "sample string 13",
  "MobileNumber": "sample string 14",
  "StreamID": 15,
  "CourseID": 16,
  "BatchID": 17,
  "StreamName": "sample string 18",
  "CourseName": "sample string 19",
  "BatchName": "sample string 20",
  "FatherName": "sample string 21",
  "FatherMobile": "sample string 22",
  "DeviceToken": "sample string 23",
  "FatherDeviceToken": "sample string 24"
}

text/html

Sample:
{"AttendanceId":1,"PunchDate":"sample string 2","PunchIn":"sample string 3","PunchOut":"sample string 4","ArrivalDeparture":"sample string 5","Status":"sample string 6","IsArrivalSMS":true,"IsDepartureSMS":true,"CenterName":"sample string 9","StudentID":10,"EnrollmentNo":"sample string 11","FirstName":"sample string 12","LastName":"sample string 13","MobileNumber":"sample string 14","StreamID":15,"CourseID":16,"BatchID":17,"StreamName":"sample string 18","CourseName":"sample string 19","BatchName":"sample string 20","FatherName":"sample string 21","FatherMobile":"sample string 22","DeviceToken":"sample string 23","FatherDeviceToken":"sample string 24"}

application/xml, text/xml

Sample:
<Attendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels">
  <ArrivalDeparture>sample string 5</ArrivalDeparture>
  <AttendanceId>1</AttendanceId>
  <BatchID>17</BatchID>
  <BatchName>sample string 20</BatchName>
  <CenterName>sample string 9</CenterName>
  <CourseID>16</CourseID>
  <CourseName>sample string 19</CourseName>
  <DeviceToken>sample string 23</DeviceToken>
  <EnrollmentNo>sample string 11</EnrollmentNo>
  <FatherDeviceToken>sample string 24</FatherDeviceToken>
  <FatherMobile>sample string 22</FatherMobile>
  <FatherName>sample string 21</FatherName>
  <FirstName>sample string 12</FirstName>
  <IsArrivalSMS>true</IsArrivalSMS>
  <IsDepartureSMS>true</IsDepartureSMS>
  <LastName>sample string 13</LastName>
  <MobileNumber>sample string 14</MobileNumber>
  <PunchDate>sample string 2</PunchDate>
  <PunchIn>sample string 3</PunchIn>
  <PunchOut>sample string 4</PunchOut>
  <Status>sample string 6</Status>
  <StreamID>15</StreamID>
  <StreamName>sample string 18</StreamName>
  <StudentID>10</StudentID>
</Attendance>

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 'Attendance'.