The 'send-server-command' HTTP call does not give any feedback whether the action is valid, just an indication that the query parameters are correct.
If one of the properties of the HTTP call is invalid, for instance if the property name does not exist in a gateway, the action will not be completed but no error will be returned. And, as stated in the manual, a wrong property name or value can leave a gateway in an unstable state so you have to be very careful with this HTTP command.
I try using this command, but receive only answer
OK: Server command accepted and queued for execution
However, a configuration does not change,
It is possible to change the configuration of Diafaan SMS Server with the HTTP API in the Web Connector using the 'send-server-command' HTTP request. For more information you can look at the 'HTTP commands, basic- and full edition only' section of the HTTP API specifications in the online manual.
The 'send-server-command' HTTP call can be used to change a configuration property of one of the gateways or connectors but also of all the gateways or connectors at the same time. For instance, to change the 'SendLimit' property of all gateways to '250D' you can use the following HTTP request:
Note of caution from the manual: The 'send-server-command' HTTP API command can leave Diafaan SMS Server in an unstable state if one of the server setting, gateway settings, connector settings or routing settings is set to an unsupported value.
I was seeing some information about Diafaan
And I have a question. Example, suppose you are using the diafaan with 30 Gsm Gateways, there is some possibility of changing a 30's configuration at a single time.
Example, change the daily limit, from 300D to 250D, without having to change one at a time, change everything at one time,
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 460
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 822