POST api/Services/SendSms
Request Information
URI Parameters
None.
Body Parameters
SmsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ToUserId | integer |
None. |
|
| FromUserId | integer |
None. |
|
| number | string |
None. |
|
| text | string |
None. |
|
| status | string |
None. |
|
| exception | string |
None. |
|
| NotificationType | NotificationTypeEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"ToUserId": 1,
"FromUserId": 2,
"number": "sample string 3",
"text": "sample string 4",
"status": "sample string 5",
"exception": "sample string 6",
"NotificationType": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SmsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ToUserId | integer |
None. |
|
| FromUserId | integer |
None. |
|
| number | string |
None. |
|
| text | string |
None. |
|
| status | string |
None. |
|
| exception | string |
None. |
|
| NotificationType | NotificationTypeEnum |
None. |
Response Formats
application/json, text/json
Sample:
{
"ToUserId": 1,
"FromUserId": 2,
"number": "sample string 3",
"text": "sample string 4",
"status": "sample string 5",
"exception": "sample string 6",
"NotificationType": 1
}