POST api/App/Message/AddMessage
Request Information
URI Parameters
None.
Body Parameters
AddMessageRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | MessageEntryModel |
None. |
|
| ExcludeWarnings | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Message": {
"ConversationId": 1,
"Message": "sample string 2",
"SentDate": "2026-05-24T19:59:39.007085+02:00",
"AttachmentsGuids": [
"sample string 1",
"sample string 2"
]
},
"ExcludeWarnings": true
}
application/xml, text/xml
Sample:
<AddMessageRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pass.WebApi.Areas.Models">
<ExcludeWarnings>true</ExcludeWarnings>
<Message>
<AttachmentsGuids xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</AttachmentsGuids>
<ConversationId>1</ConversationId>
<Message>sample string 2</Message>
<SentDate>2026-05-24T19:59:39.007085+02:00</SentDate>
</Message>
</AddMessageRequestModel>
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.