Message-ID: <106697717.15863.1614958497159.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15862_1740528023.1614958497159" ------=_Part_15862_1740528023.1614958497159 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html getKeyword - Java

getKeyword - Java

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

Get the availability of a given reply keyword.
A reply keyword allo= ws you receive incoming text messages to your account by providing people w= ith a keyword, which they text to the short code 88802, e.g. text 'INFO' to= 88802 to see this in action.

=20
=20
=20
=20
=20
=20
Example
=20
Hashtable<String, String> result =3D tmClient.getKeyword("=
gold");
System.out.println("The 'gold' keyword is available (" + result.g=
et("available") + "), recycled ("+ result.get("rec=
ycle") + ")");
=20
=20
=20
=20
=20
=20
=20

Arguments:

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

String keyword:

=20
=20
=20
=20

The keyword to check is availability

=20
=20
=20
=20
=20
=20

Returns:


an Hashtable with two keys: 'available' and 'recycle' e.g. result.get(&q= uot;available")


=20
=20
=20
=20
Hastable key Value
available Whether this keyword is currently available from= Text Marketer.
recycle Whether this keyword has been recycled (previous= ly used).
=20
=20
=20
=20
=20
=20

Specific error codes:

=20
=20
=20
=20

None. 

=20 =20

error code 400 is reported if the keyword name is not specified. See General error codes.

=20
=20
=20
=20
=20
=20
=20 =20
=20
=20
=20

 

=20
=20
=20
=20

 

=20
=20
=20
------=_Part_15862_1740528023.1614958497159--