POST api/App/SendNotificationToTeacher
Request Information
URI Parameters
None.
Body Parameters
SendNotificationToTeacherRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SchoolId | integer |
None. |
|
| Message | string |
None. |
|
| UserId | integer |
None. |
|
| Data | string |
None. |
|
| IsAttachment | integer |
None. |
|
| NotiId | integer |
None. |
|
| IsForward | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SchoolId": 1,
"Message": "sample string 2",
"UserId": 3,
"Data": "sample string 4",
"IsAttachment": 5,
"NotiId": 6,
"IsForward": 7
}
application/xml, text/xml
Sample:
<SendNotificationToTeacherRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Data>sample string 4</Data> <IsAttachment>5</IsAttachment> <IsForward>7</IsForward> <Message>sample string 2</Message> <NotiId>6</NotiId> <SchoolId>1</SchoolId> <UserId>3</UserId> </SendNotificationToTeacherRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.