POST api/Teacher/SendNotifyFromTeacherPortal

Request Information

URI Parameters

None.

Body Parameters

SendNotificationModel
NameDescriptionTypeAdditional information
Content

string

None.

Title

string

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Content": "sample string 1",
  "Title": "sample string 2",
  "Type": "sample string 3"
}

application/xml, text/xml

Sample:
<SendNotificationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <Content>sample string 1</Content>
  <Title>sample string 2</Title>
  <Type>sample string 3</Type>
</SendNotificationModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />