POST api/Admin/SendMessages?SMS={SMS}&NOTIFICATION={NOTIFICATION}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SMS | boolean |
Required |
|
| NOTIFICATION | boolean |
Required |
Body Parameters
notification| Name | Description | Type | Additional information |
|---|---|---|---|
| MobileNo | string |
None. |
|
| MemberId | string |
None. |
|
| message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MobileNo": "sample string 1",
"MemberId": "sample string 2",
"message": "sample string 3"
}
application/xml, text/xml
Sample:
<notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <MemberId>sample string 2</MemberId> <MobileNo>sample string 1</MobileNo> <message>sample string 3</message> </notification>
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.