POST Messages/Send
Sends a message to a user.
Request Information
URI Parameters
None.
Body Parameters
ObjectNone.
Request Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<anyType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A TransactionResult with the TransObject containing the SMM.DTO.Message that was saved
TransactionResult| Name | Description | Type | Additional 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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<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>