POST api/Message/Reply
Add a reply to a message. The msgFromID and msgToID must be filled in
Request Information
URI Parameters
None.
Body Parameters
MessageDTOName | Description | Type | Additional information |
---|---|---|---|
businessID | integer |
None. |
|
applicationID | integer |
None. |
|
subject | string |
None. |
|
body | string |
None. |
|
insertBy | integer |
None. |
|
msgFromID | integer |
None. |
|
msgToID | integer |
None. |
|
iswdtf | boolean |
None. |
|
isSystemMsg | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "businessID": 1, "applicationID": 2, "subject": "sample string 3", "body": "sample string 4", "insertBy": 5, "msgFromID": 6, "msgToID": 7, "iswdtf": true, "isSystemMsg": true }
text/html
Sample:
{"businessID":1,"applicationID":2,"subject":"sample string 3","body":"sample string 4","insertBy":5,"msgFromID":6,"msgToID":7,"iswdtf":true,"isSystemMsg":true}
application/xml, text/xml
Sample:
<MessageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._BOL"> <applicationID>2</applicationID> <body>sample string 4</body> <businessID>1</businessID> <insertBy>5</insertBy> <isSystemMsg>true</isSystemMsg> <iswdtf>true</iswdtf> <msgFromID>6</msgFromID> <msgToID>7</msgToID> <subject>sample string 3</subject> </MessageDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StatusDTOName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "msg": "sample string 1" }
text/html
Sample:
{"id":1,"msg":"sample string 1"}
application/xml, text/xml
Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._DAL"> <id>1</id> <msg>sample string 1</msg> </StatusDTO>