POST Messages/Send

Sends a message to a user.

Request Information

URI Parameters

None.

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<anyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />

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

Response Information

Resource Description

A TransactionResult with the TransObject containing the SMM.DTO.Message that was saved

TransactionResult
NameDescriptionTypeAdditional information
Log

Collection of string

None.

Status

TransactionStatus

None.

Code

string

None.

ReturnID

string

None.

TransObject

Object

None.

LogString

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Log": [
    "sample string 1",
    "sample string 2"
  ],
  "Status": 0,
  "Code": "sample string 1",
  "ReturnID": "sample string 2",
  "TransObject": {},
  "LogString": "sample string 1\r\nsample string 2\r\n"
}

application/xml, text/xml

Sample:
<TransactionResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Log>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Log>
  <Status>Not Yet Run</Status>
  <Code>sample string 1</Code>
  <ReturnID>sample string 2</ReturnID>
  <TransObject />
</TransactionResult>