POST api/SMSMessage/savenotificationandmessage

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": "f79e5c6e-13c7-409d-8652-79b38a3bee83",
      "classCode": "sample string 2"
    },
    {
      "classId": "f79e5c6e-13c7-409d-8652-79b38a3bee83",
      "classCode": "sample string 2"
    },
    {
      "classId": "f79e5c6e-13c7-409d-8652-79b38a3bee83",
      "classCode": "sample string 2"
    }
  ],
  "schoolMessageId": "9c04a68a-580b-4647-9c69-3de5863cbd1d",
  "message": "sample string 2",
  "messageAttachmentType": "sample string 3",
  "isNotification": true,
  "schoolId": 5,
  "closed": true,
  "staffOnly": true,
  "createdOn": "2021-10-26T14:00:51.9382314+05:30",
  "userId": "676369e7-f95f-4cc2-9d87-0f2d890df355",
  "staffId": "35f7b484-1709-4253-a025-fa08e2123fa2",
  "closedOn": "2021-10-26T14:00:51.940718+05:30",
  "attachment": "928a8f3c-11f5-421a-9318-be48021ba716",
  "title": "sample string 10",
  "classSectionId": "39f9301c-dddf-4ea8-a9a0-f0035ef13a92",
  "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": "008f2927-3aae-4fc8-bace-0d2a5860a20f",
  "documentId": "eb911b0b-addb-457a-8d2d-98b934c78051",
  "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>008f2927-3aae-4fc8-bace-0d2a5860a20f</StudentId>
  <SuccessMessage>sample string 29</SuccessMessage>
  <attachment>928a8f3c-11f5-421a-9318-be48021ba716</attachment>
  <classList>
    <classListModelForSMS>
      <classCode>sample string 2</classCode>
      <classId>f79e5c6e-13c7-409d-8652-79b38a3bee83</classId>
    </classListModelForSMS>
    <classListModelForSMS>
      <classCode>sample string 2</classCode>
      <classId>f79e5c6e-13c7-409d-8652-79b38a3bee83</classId>
    </classListModelForSMS>
    <classListModelForSMS>
      <classCode>sample string 2</classCode>
      <classId>f79e5c6e-13c7-409d-8652-79b38a3bee83</classId>
    </classListModelForSMS>
  </classList>
  <classSectionId>39f9301c-dddf-4ea8-a9a0-f0035ef13a92</classSectionId>
  <closed>true</closed>
  <closedOn>2021-10-26T14:00:51.940718+05:30</closedOn>
  <createdOn>2021-10-26T14:00:51.9382314+05:30</createdOn>
  <document>sample string 13</document>
  <documentId>eb911b0b-addb-457a-8d2d-98b934c78051</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>9c04a68a-580b-4647-9c69-3de5863cbd1d</schoolMessageId>
  <staffId>35f7b484-1709-4253-a025-fa08e2123fa2</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>676369e7-f95f-4cc2-9d87-0f2d890df355</userId>
</SchoolMessagesForMobileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.