POST api/PostMessage

Request Information

URI Parameters

None.

Body Parameters

PostMessage
NameDescriptionTypeAdditional information
UserId

integer

None.

Msgtostudent

string

None.

Msgtoemployee

string

None.

MsgSubject

string

None.

MsgText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Msgtostudent": "sample string 2",
  "Msgtoemployee": "sample string 3",
  "MsgSubject": "sample string 4",
  "MsgText": "sample string 5"
}

application/xml, text/xml

Sample:
<PostMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiForAndroid.Models">
  <MsgSubject>sample string 4</MsgSubject>
  <MsgText>sample string 5</MsgText>
  <Msgtoemployee>sample string 3</Msgtoemployee>
  <Msgtostudent>sample string 2</Msgtostudent>
  <UserId>1</UserId>
</PostMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>