POST api/SMSMessage/createNotificationAndMessage

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "classList": [
    {
      "classId": "e2cd8c48-5c90-43b1-ab9b-7a63c303544c",
      "classCode": "sample string 2"
    },
    {
      "classId": "e2cd8c48-5c90-43b1-ab9b-7a63c303544c",
      "classCode": "sample string 2"
    },
    {
      "classId": "e2cd8c48-5c90-43b1-ab9b-7a63c303544c",
      "classCode": "sample string 2"
    }
  ],
  "schoolMessageId": "995d4924-eb32-4c65-92ef-8114c5dd4ad8",
  "message": "sample string 2",
  "messageAttachmentType": "sample string 3",
  "isNotification": true,
  "schoolId": 5,
  "closed": true,
  "staffOnly": true,
  "createdOn": "2021-10-27T22:28:34.8603905+05:30",
  "userId": "ba097aa5-7203-4a0b-a767-03f1168b9526",
  "staffId": "7b9531c9-8cf6-4e44-8b16-68ce3982d603",
  "closedOn": "2021-10-27T22:28:34.8603905+05:30",
  "attachment": "00cf67e0-7537-43ac-97d2-fa1a9d86f18b",
  "title": "sample string 10",
  "classSectionId": "833d8ae3-10ac-4233-8639-e606eed6351e",
  "documentName": "sample string 11",
  "newdocumentName": "sample string 12",
  "document": "sample string 13",
  "StaffName": "sample string 14",
  "PrimeryPhone": "sample string 15",
  "phonesmsSection": true,
  "Name": "sample string 17",
  "StudentId": "7db0b83d-8c51-4bff-b9d8-4983558c7454",
  "documentId": "89b582d5-7f19-4737-801d-831eabf7cc1c",
  "isWeb": true,
  "totalFaildNotificationCount": 19,
  "totalSendNotificationCount": 20,
  "studentsSentSMSCount": 21,
  "studentsSentNotificationCount": 22,
  "studentsFaildSMSCount": 23,
  "staffsSentSMSCount": 24,
  "staffsSentNotificationCount": 25,
  "staffsFaildSMSCount": 26,
  "totalNotificationCount": 27,
  "returnMessage": "sample string 28",
  "SuccessMessage": "sample string 29"
}

application/xml, text/xml

Sample:
<SchoolMessagesForMobileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaviSchoolsService.Utility.PresenterModel">
  <Name>sample string 17</Name>
  <PrimeryPhone>sample string 15</PrimeryPhone>
  <StaffName>sample string 14</StaffName>
  <StudentId>7db0b83d-8c51-4bff-b9d8-4983558c7454</StudentId>
  <SuccessMessage>sample string 29</SuccessMessage>
  <attachment>00cf67e0-7537-43ac-97d2-fa1a9d86f18b</attachment>
  <classList>
    <classListModelForSMS>
      <classCode>sample string 2</classCode>
      <classId>e2cd8c48-5c90-43b1-ab9b-7a63c303544c</classId>
    </classListModelForSMS>
    <classListModelForSMS>
      <classCode>sample string 2</classCode>
      <classId>e2cd8c48-5c90-43b1-ab9b-7a63c303544c</classId>
    </classListModelForSMS>
    <classListModelForSMS>
      <classCode>sample string 2</classCode>
      <classId>e2cd8c48-5c90-43b1-ab9b-7a63c303544c</classId>
    </classListModelForSMS>
  </classList>
  <classSectionId>833d8ae3-10ac-4233-8639-e606eed6351e</classSectionId>
  <closed>true</closed>
  <closedOn>2021-10-27T22:28:34.8603905+05:30</closedOn>
  <createdOn>2021-10-27T22:28:34.8603905+05:30</createdOn>
  <document>sample string 13</document>
  <documentId>89b582d5-7f19-4737-801d-831eabf7cc1c</documentId>
  <documentName>sample string 11</documentName>
  <isNotification>true</isNotification>
  <isWeb>true</isWeb>
  <message>sample string 2</message>
  <messageAttachmentType>sample string 3</messageAttachmentType>
  <newdocumentName>sample string 12</newdocumentName>
  <phonesmsSection>true</phonesmsSection>
  <returnMessage>sample string 28</returnMessage>
  <schoolId>5</schoolId>
  <schoolMessageId>995d4924-eb32-4c65-92ef-8114c5dd4ad8</schoolMessageId>
  <staffId>7b9531c9-8cf6-4e44-8b16-68ce3982d603</staffId>
  <staffOnly>true</staffOnly>
  <staffsFaildSMSCount>26</staffsFaildSMSCount>
  <staffsSentNotificationCount>25</staffsSentNotificationCount>
  <staffsSentSMSCount>24</staffsSentSMSCount>
  <studentsFaildSMSCount>23</studentsFaildSMSCount>
  <studentsSentNotificationCount>22</studentsSentNotificationCount>
  <studentsSentSMSCount>21</studentsSentSMSCount>
  <title>sample string 10</title>
  <totalFaildNotificationCount>19</totalFaildNotificationCount>
  <totalNotificationCount>27</totalNotificationCount>
  <totalSendNotificationCount>20</totalSendNotificationCount>
  <userId>ba097aa5-7203-4a0b-a767-03f1168b9526</userId>
</SchoolMessagesForMobileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.