You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

REST API Method: POST /rest/sbaconfig?action=enablesvc

This action starts the network daemons for the services indicated.

Ensure that the CSR is successfully generated and submitted to the CA prior to enabling the Lync service using the export action . Failure to follow the correct order of steps may result in undesirable behavior.

A HTTP Status 200 return for this action only means that the request was successfully received by the system. Status of the action must be retrieved using the SBA Action Status Resource .

URL:

https://134.56.227.163/rest/sbaconfig?action=enablesvc

HTTP Method

POST

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
serviceNameYesNoEnum0Possible values:
  • 0 - rNone
  • 1 - rRDP
  • 16 - rLync
Identifies the service to be started on the SBA. If a value other than 0 is passed, the operation will not affect any service.

Usage Example: (about cURL | requires a session token)

curl --cookie PHPSESSID=8tgs4fp1508f4vrabq1ob27ku2 --cacert 1kCAcert.pem --data -i https://134.56.227.163/rest/sbaconfig?action=enablesvc --data "serviceName=16"


Response:

<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
 </status>
</root>
  • No labels