POST api/sendMessage

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,
  "StudentID": 9,
  "EnrollmentNo": "sample string 10",
  "FirstName": "sample string 11",
  "LastName": "sample string 12",
  "MobileNumber": "sample string 13",
  "StreamID": 14,
  "CourseID": 15,
  "BatchID": 16,
  "StreamName": "sample string 17",
  "CourseName": "sample string 18",
  "BatchName": "sample string 19",
  "FatherName": "sample string 20",
  "FatherMobile": "sample string 21",
  "DeviceToken": "sample string 22",
  "FatherDeviceToken": "sample string 23"
}

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,"StudentID":9,"EnrollmentNo":"sample string 10","FirstName":"sample string 11","LastName":"sample string 12","MobileNumber":"sample string 13","StreamID":14,"CourseID":15,"BatchID":16,"StreamName":"sample string 17","CourseName":"sample string 18","BatchName":"sample string 19","FatherName":"sample string 20","FatherMobile":"sample string 21","DeviceToken":"sample string 22","FatherDeviceToken":"sample string 23"}

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>16</BatchID>
  <BatchName>sample string 19</BatchName>
  <CourseID>15</CourseID>
  <CourseName>sample string 18</CourseName>
  <DeviceToken>sample string 22</DeviceToken>
  <EnrollmentNo>sample string 10</EnrollmentNo>
  <FatherDeviceToken>sample string 23</FatherDeviceToken>
  <FatherMobile>sample string 21</FatherMobile>
  <FatherName>sample string 20</FatherName>
  <FirstName>sample string 11</FirstName>
  <IsArrivalSMS>true</IsArrivalSMS>
  <IsDepartureSMS>true</IsDepartureSMS>
  <LastName>sample string 12</LastName>
  <MobileNumber>sample string 13</MobileNumber>
  <PunchDate>sample string 2</PunchDate>
  <PunchIn>sample string 3</PunchIn>
  <PunchOut>sample string 4</PunchOut>
  <Status>sample string 6</Status>
  <StreamID>14</StreamID>
  <StreamName>sample string 17</StreamName>
  <StudentID>9</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'.