Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
https://primary.smartmessagingservices.net/gateway/services/SMSService?method=getBalanceaddCredits
&username=admin.username&password=youradmin.password&groupname=your.customersgroupname&credits=amountofcreditstoadd

...

original character

url encoded

(space)

+

+

%2B

...

method

parameters

return

addCredits

(String username, String password, String groupNamegroupname, int credits);

int creditsAdded int newBalance, int statusCode, string groupName

The response contains the group name, status of the transaction and the new balance after the credits have been applied.

Attributes

Description

credits

can only be a position whole number

groupName groupname

must be a subgroup of the group belonging to the username and password - is case sensitive and must be an exact match

...