Message-ID: <721482160.15889.1614958614946.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15888_1482583486.1614958614946" ------=_Part_15888_1482583486.1614958614946 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Get a list of available 'send' groups, including 'merge' groups - pre-de=
fined groups containing a list of mobile numbers to send a message to.
Also lists 'stop' groups - numbers in these groups will never be sent mess=
ages. Every account has at least one stop group, so that your recipients ca=
n always opt out of receiving messages from you. This is a legal requiremen=
t.
Hashtable[] result =3D tmClient.getGroups(); foreach (Hashtable group in result) { =09Console.WriteLine("Group ID: {0}", group["id"]); =09Console.WriteLine("Group numbers: {0}", group[""]); =09Console.WriteLine("Group name: {0}", group["name"]); =09Console.WriteLine("Group IS STOP: {0}", group["is_stop&qu= ot;]); }=20
Arguments:
String name:
Name of the delivery report to retrieve or 'all' to retrieve all campaig= n/API report data.
Returns:
An array of Hashtable, each group represented by a Hashtable. Each Hasht= able has 4 keys: 'is_stop', 'id', 'numbers' and 'name' e.g. name of th= e first returned group is group["name"]
Each Hashtable has 4 keys:
Hashtable key | Value |
---|---|
name | String. The name of the group. |
quantity | Integer. The quantity of numbers in the group.= td> |
id | Integer. The unique ID of the group, unique f= or this account. |
is_stop | Boolean. Whether the group is a stop group, norm= ally false. |
Specific error codes:
None.