SOAP RESTful – Message – Create
Create a new message by calling the CreateMessage method.
CreateMessage (AccountPhoneNumber, AccountPassword, Message)
Input parameter:
AccountName | Your account name | String |
AccountPassword | Your password | String |
Message | The message you want to send. | Message |
Return value:
Result | Any given result of the operation | Result |
Result values can be:
SOAP RESTful message Create
ResponseCode | ResponseText |
---|---|
10110 | Could not validate the user. Wrong username or password. |
10199 | Exception in validateUser. |
10210 | Phonenumber is too short. Should be at least 4 digits. |
10220 | Phonenumber is too long. Should be max 20 digits. |
10230 | Phonenumber is not a number. Phonenumber should only hold digits. |
10299 | Exception in validatePhonenumberlist. |
10310 | Message is too long. It should not be more than 4000 chars. |
10320 | Message is too short. Actually its not there at all. You have got to say something. |
10399 | Exception in validateMessageText. |
10410 | SenderID is too long. It should not be a maximum of 16 digits. |
10420 | SenderID is too long. It should not be a maximum of 11 chars. |
10430 | SenderID is too short. It should be at least 3 chars. |
10499 | Exception in validateSenderID. |
10599 | Exception in validateMessageID. |