Sendega API documentation.pdf - GetACoder
Sendega API documentation.pdf - GetACoder
Sendega API documentation.pdf - GetACoder
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
RETURN VALUE<br />
Return value when code word is available.<br />
<br />
<br />
true<br />
<br />
Return value when code word is taken.<br />
<br />
<br />
false<br />
Prefix not available<br />
2009<br />
<br />
ERROR CODES<br />
Error no<br />
Error description<br />
2001 Wrong CID<br />
2002 Password not specified<br />
2003 Prefix not specified<br />
2004 Prefix must be between 3 and 12 characters<br />
2005 Short code not specified<br />
2006 CID and password does not match or no access<br />
2007 Server IP: xxx.xxx.xxx.xxx have no access to this account.<br />
2008 Not a valid short code<br />
2009 Prefix not available<br />
CREATE PREFIX (CODEWORD)<br />
Use this method to create new codeword. When created, each codeword is reserved for one year. Please see<br />
our webpage for current codeword prices.<br />
Parameter Type Default value M/O* Max length Description<br />
CID Integer ‐ M 5 Customer ID for identification<br />
Password String ‐ M 20 Customer password for<br />
identification<br />
Prefix String ‐ M 30 Prefix to create.<br />
Shortcode Integer ‐ M 16 Short code. Example 2440<br />
* M = Mandatory, O = Optional<br />
EXAMPLE<br />
http://api.sendega.com/createPrefix.asp<br />
?cid=xxx<br />
&password=xxxx<br />
&prefix=MYPREFIX<br />
&shortcode=2440<br />
RETURN VALUE<br />
Return value when code word is available.<br />
16