POST api/PostMOne/AddMessage

Request Information

URI Parameters

None.

Body Parameters

E1MessagesDO
NameDescriptionTypeAdditional information
MessageId

integer

None.

Senderconnectionid

string

None.

Senderuserid

string

None.

Senderusername

string

None.

Msgdate

string

None.

Messagetext

string

None.

Toreceiveruserid

string

None.

Isactive

integer

None.

Isdisplayed

integer

None.

Isauthorised

integer

None.

ImageFile

HttpPostedFileBase

None.

Request Formats

application/json, text/json

Sample:
{
  "MessageId": 1,
  "Senderconnectionid": "sample string 2",
  "Senderuserid": "sample string 3",
  "Senderusername": "sample string 4",
  "Msgdate": "sample string 5",
  "Messagetext": "sample string 6",
  "Toreceiveruserid": "sample string 7",
  "Isactive": 8,
  "Isdisplayed": 9,
  "Isauthorised": 10,
  "ImageFile": null
}

application/xml, text/xml

Sample:
<E1MessagesDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheJuryDO">
  <ImageFile xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
  <Isactive>8</Isactive>
  <Isauthorised>10</Isauthorised>
  <Isdisplayed>9</Isdisplayed>
  <MessageId>1</MessageId>
  <Messagetext>sample string 6</Messagetext>
  <Msgdate>sample string 5</Msgdate>
  <Senderconnectionid>sample string 2</Senderconnectionid>
  <Senderuserid>sample string 3</Senderuserid>
  <Senderusername>sample string 4</Senderusername>
  <Toreceiveruserid>sample string 7</Toreceiveruserid>
</E1MessagesDO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.