פרוטוקול משימות
Send message
Send message to a single or multiple mobile numbers, @username or #groupcode
| פרמטרים | שם או תיאור |
|---|---|
| Operation | Pv |
| Mandatory | u h to msg |
| Optional | type unicode from footer nofooter format |
| Returns | return codes |
Parameter to can be international formatted mobile number. Separate by commas for multiple value.
Outgoing SMS and delivery status
List outgoing SMS and delivery status.
| פרמטרים | שם או תיאור |
|---|---|
| Operation | Ds |
| Mandatory | u h |
| Optional | queue src dst dt smslog_id c last format |
| Returns | data or return codes |
Parameter c will retrieve as many as c value, last will retrieves data from last SMS log ID.
Incoming SMS
List incoming SMS.
| פרמטרים | שם או תיאור |
|---|---|
| Operation | In |
| Mandatory | u h |
| Optional | queue src dst dt smslog_id c last format |
| Returns | data or return codes |
Parameter c will retrieve as many as c value, last will retrieves data from last SMS log ID.
User credit
Get user's credit information.
| פרמטרים | שם או תיאור |
|---|---|
| Operation | Cr |
| Mandatory | u h |
| Optional | Format |
| Returns | user's credit or return codes |
Get token
Get user's webservices token. This can be used as a login mechanism.
| פרמטרים | שם או תיאור |
|---|---|
| Operation | get_token |
| Mandatory | u p |
| Optional | Format |
| Returns | webservices token or return codes |
Set token
Set user's webservices token. This can be used as a change password mechanism.
| פרמטרים | שם או תיאור |
|---|---|
| Operation | set_token |
| Mandatory | u h |
| Optional | Format |
| Returns | new webservices token or return codes |
Webservices login
Authenticate user via webservices and redirect to index.php upon authentication, successful or failed or invalid
| פרמטרים | שם או תיאור |
|---|---|
| Operation | ws_login |
| Mandatory | u login_key |
| Optional | None |
| Returns | none, web redirect to index.php |
Parameter login_key is set by admin accounts through webservices call using operation loginkeyset