Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Page Tree
rootResource - sbaconfig

This action starts the network daemons for the services indicated.

Tip

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)

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


Response:

Code Block
languagehtml/xml
<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
 </status>
</root>