POST api/Message/Save
Request Information
URI Parameters
None.
Body Parameters
Systemic.Model.Student.MessageNotification.mlMessage+MessageList| Name | description | Type | Additional information |
|---|---|---|---|
| MessageSysID | integer |
None. |
|
| date | string |
None. |
|
| MessageType | string |
None. |
|
| Title | string |
None. |
|
| Message | string |
None. |
|
| ClassSysID | integer |
None. |
|
| SectionSysID | integer |
None. |
|
| StudentSysID | integer |
None. |
|
| CategorySysID | integer |
None. |
|
| ApprovedDate | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"MessageSysID": 1,
"date": "sample string 2",
"MessageType": "sample string 3",
"Title": "sample string 4",
"Message": "sample string 5",
"ClassSysID": 6,
"SectionSysID": 7,
"StudentSysID": 8,
"CategorySysID": 9,
"ApprovedDate": "sample string 10"
}
text/xml
Sample:
<mlMessage.MessageList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Student.MessageNotification"> <ApprovedDate>sample string 10</ApprovedDate> <CategorySysID>9</CategorySysID> <ClassSysID>6</ClassSysID> <Message>sample string 5</Message> <MessageSysID>1</MessageSysID> <MessageType>sample string 3</MessageType> <SectionSysID>7</SectionSysID> <StudentSysID>8</StudentSysID> <Title>sample string 4</Title> <date>sample string 2</date> </mlMessage.MessageList>
response Information
Resource description
Api.Server.ServerResponse| Name | description | Type | Additional information |
|---|---|---|---|
| response | string |
None. |
|
| success | Api.Server.MlSuccess |
None. |
|
| failure | Api.Server.MlError |
None. |
response Formats
application/json, text/json, text/html
Sample:
{
"response": "sample string 1",
"success": null,
"failure": null
}
text/xml
Sample:
<ServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Server"> <failure i:nil="true" /> <response>sample string 1</response> <success i:nil="true" /> </ServerResponse>