POST api/group/{id}/sendsms
To send an adhoc sms to a group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Details of the sms to send
SendGroupSMSDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| ContactItemIds | Collection of integer |
None. |
|
| Message | string |
None. |
|
| PreferredProviderId | integer |
None. |
|
| BrandId | integer |
None. |
|
| FranchiseId | integer |
None. |
|
| GroupId | integer |
None. |
|
| GDPRTransactional | boolean |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"ContactItemIds": [
1,
2
],
"Message": "sample string 1",
"PreferredProviderId": 1,
"BrandId": 1,
"FranchiseId": 1,
"GroupId": 2,
"GDPRTransactional": true
}
Response Information
Resource Description
JobInvocationDetailsDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| SupportsCancellation | boolean |
None. |
|
| ReportsProgress | boolean |
None. |
|
| InitialStatusText | string |
None. |
|
| JobReference | globally unique identifier |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"SupportsCancellation": true,
"ReportsProgress": true,
"InitialStatusText": "sample string 3",
"JobReference": "a5720a01-4fd0-43e4-8a92-756ada1b4e01",
"Success": true
}