POST Api/SendSMS/sendSMStoAbsentStudent

Request Information

URI Parameters

None.

Body Parameters

SendSMS
NameDescriptionTypeAdditional information
courseId

integer

None.

sessionId

integer

None.

groupId

integer

None.

timetableId

string

None.

mob

string

None.

smstext

string

None.

punchingId

string

None.

date

string

None.

attendanceList

string

None.

time

string

None.

subject

string

None.

studentName

string

None.

subjectId

integer

None.

fromdate

string

None.

todate

string

None.

semesterId

integer

None.

opCode

integer

None.

isException

boolean

None.

exceptionMessage

string

None.

DS

DataSet

None.

id

string

None.

strId

string

None.

userId

integer

None.

status

integer

None.

message

string

None.

PageSize

string

None.

PageIndex

string

None.

responseValue

DataSet

None.

Request Formats

application/json, text/json

Sample:
{
  "courseId": 1,
  "sessionId": 2,
  "groupId": 3,
  "timetableId": "sample string 4",
  "mob": "sample string 5",
  "smstext": "sample string 6",
  "punchingId": "sample string 7",
  "date": "sample string 8",
  "attendanceList": "sample string 9",
  "time": "sample string 10",
  "subject": "sample string 11",
  "studentName": "sample string 12",
  "subjectId": 13,
  "fromdate": "sample string 14",
  "todate": "sample string 15",
  "semesterId": 16,
  "opCode": 17,
  "isException": true,
  "exceptionMessage": "sample string 19",
  "ds": null,
  "id": "sample string 20",
  "strId": "sample string 21",
  "userId": 22,
  "status": 23,
  "message": "sample string 24",
  "pageSize": "sample string 25",
  "pageIndex": "sample string 26",
  "responseValue": {}
}

application/xml, text/xml

Sample:
<SendSMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSWebAPI.Models">
  <DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 26</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 25</PageSize>
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 19</exceptionMessage>
  <id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 20</id>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 24</message>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">17</opCode>
  <responseValue xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">
    <xs:schema id="sample_x0020_string_x0020_3" targetNamespace="sample string 4" xmlns:mstns="sample string 4" xmlns="sample string 4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
      <xs:element name="sample_x0020_string_x0020_3" msdata:IsDataSet="true" msdata:CaseSensitive="true" msdata:UseCurrentLocale="true">
        <xs:complexType>
          <xs:choice minOccurs="0" maxOccurs="unbounded" />
        </xs:complexType>
      </xs:element>
    </xs:schema>
    <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
  </responseValue>
  <status xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">23</status>
  <strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 21</strId>
  <userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">22</userId>
  <attendanceList>sample string 9</attendanceList>
  <courseId>1</courseId>
  <date>sample string 8</date>
  <fromdate>sample string 14</fromdate>
  <groupId>3</groupId>
  <mob>sample string 5</mob>
  <punchingId>sample string 7</punchingId>
  <semesterId>16</semesterId>
  <sessionId>2</sessionId>
  <smstext>sample string 6</smstext>
  <studentName>sample string 12</studentName>
  <subject>sample string 11</subject>
  <subjectId>13</subjectId>
  <time>sample string 10</time>
  <timetableId>sample string 4</timetableId>
  <todate>sample string 15</todate>
</SendSMS>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.