10.11.2013 Views

Sendega API documentation.pdf - GetACoder

Sendega API documentation.pdf - GetACoder

Sendega API documentation.pdf - GetACoder

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

chapter<br />

ReplySender String ‐ OIE 16 Can be either a valid msisdn (max<br />

length=16) or alphanumeric (max<br />

length=11).<br />

ReplyFlash Bit 0 OIE 1 Sends the message directly to the<br />

recipients display. Behavior may<br />

vary with Operator integrations and<br />

recipients equipment.<br />

FwUrlActivated Bit ‐ O 1 0=Disabled, 1=Enabled<br />

FwUrl String ‐ OIE 1000 Full URL (http://yourdomain.com/)<br />

FwUrlBase64 Bit ‐ OIE 1 If enabled, the mmsdata will be<br />

posted as base64 encoded string.<br />

FwEmailActivated Bit ‐ O 1 0=Disabled, 1=Enabled<br />

FwEmail String ‐ OIE Valid email address.<br />

FwMobileActivated Bit ‐ O 1 0=Disabled, 1=Enabled<br />

FwMobile Integer ‐ OIE 16 Valid MSISDN.<br />

FwGroupActivated Bit ‐ O 1 0=Disabled, 1=Enabled<br />

FwGroupSender String ‐ OIE 16 Can be either a valid msisdn (max<br />

length=16) or alphanumeric (max<br />

length=11).<br />

FwGroupPrice Integer 0 OIE 5 Tariff class for sending premium<br />

messaging (premium rate). Valid<br />

tariff classes is documented in own<br />

chapter<br />

FwGroupID Integer ‐ OIE 5 Valid goupID to forward incoming<br />

message.<br />

AddToContacts Bit ‐ O 1 Add sender to contactlist<br />

AddToGroup Bit ‐ O 1 0=Disabled, 1=Enabled<br />

AddToGroupID Integer ‐ OIE 5 Valid groupID<br />

RemoveFromGroup Bit ‐ O 1 0=Disabled, 1=Enabled<br />

* M = Mandatory, O = Optional, OIE = Only if rule enabled<br />

EXAMPLE – ACTIVATE FORWARDING TO URL<br />

http://api.sendega.com/updatePrefixRules.asp<br />

?cid=xxx<br />

&password=xxxx<br />

&fwUrlActivated=1<br />

&fwUrl=http://www.mywebserver.com/incoming.asp<br />

&fwUrlBase64=0<br />

EXAMPLE – ACTIVATE AUTOMATIC RESPONSE<br />

http://api.sendega.com/updatePrefixRules.asp<br />

?cid=xxx<br />

&password=xxxx<br />

&replyMsgActivated=1<br />

&replyMsg=Thank you for your order.<br />

&replyPrice=5000<br />

&replySender=2440<br />

&replyFlash=0<br />

20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!