POST api/Message/SendUserMsgData
Request Information
URI Parameters
None.
Body Parameters
SendMessageViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| phoneno | string |
None. |
|
| methodcode | string |
None. |
|
| type | string |
None. |
|
| text | string |
None. |
|
| logininfoid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"phoneno": "sample string 1",
"methodcode": "sample string 2",
"type": "sample string 3",
"text": "sample string 4",
"logininfoid": 5
}
application/xml, text/xml
Sample:
<SendMessageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfhatch.Models"> <logininfoid>5</logininfoid> <methodcode>sample string 2</methodcode> <phoneno>sample string 1</phoneno> <text>sample string 4</text> <type>sample string 3</type> </SendMessageViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResultViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
|
| errorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": {},
"errorCode": 4
}
application/xml, text/xml
Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfhatch.Models"> <data /> <errorCode>4</errorCode> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>