Support forum
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.
Regards, Henk
9:48 pm
I try using this command, but receive only answer
OK: Server command accepted and queued for execution
However, a configuration does not change,
Hello Cleber,
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.
Regards, Henk
8:51 pm
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,
Tks
Most Users Ever Online: 529
Currently Online:
5 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 671
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1140
Posts: 3897
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1487