I wanna use REST api at Service Manager. My product version is 9.51. Service manager can use SOAP api. Unfortunately but i can use REST api. Can Service manager use rest api .
SM has Restful API since sm 9.41. Have a look here to find out how to use RESTful API in 9.51.
to consume a restful service, you can use the doHTTPRequest() method.
if your SMS Gateway has a RESTful API, dohttprequest function should be enough.
Is the dohttprequest parameter enough?
I don't think so
* the method (POST/GET/PUT)
* Header Informations (auth, encoding etc.)
* Request body (optional, only needed for PUT/POST)
* the api url which should be executed
The example inside the documentation is a good startpoint which explains every available argument for the dohttprequest function.
If you need an example for doHTTPRequest(), you can check the following thread: