SAP Sailing Analytics Webservices API Version 1.0

URL: /api/v1/remoteserverreference/add

Description:

Adds a remote server reference to the target server.


The service requires the requesting user to have permission SERVER:CONFIGURE_REMOTE_INSTANCES:{SERVER_NAME} for the server to which the request is sent.
Webservice Type: POST
Output format: json
Mandatory parameters:
remoteServerUrl, the URL for the remote server.
remoteServerName, the name for the reference.
Optional parameters:
include, a Boolean value that tells whether event IDs that can be set for the new remote server reference with the /sailingserver/api/v1/remoteserverreference/update PUT request will include or exclude the events listed. This parameter defaults to "false" which means that by default no events from the remote server will be excluded and that setting event IDs with the update call will exclude them.
Request method: POST
Example: curl -X POST http://127.0.0.1:8889/sailingserver/api/v1/remoteserverreference/add -d "remoteServerUrl=127.0.0.1:8888" -d "remoteServerName=1" -H "Authorization: Basic YWRtaW46YWRtaW4="
produces output:
        {
          "remoteServerName": "1",
          "remoteServerUrl": "http://127.0.0.1:8888",
          "include": "true",
          "eventIds": [
            "0f4a825a-837f-4ea6-a2b6-acb861b410af",
            "1fc9069a-0ee8-4ca9-ba62-4ab6c410c909"
          ]
        }
        
which describes the server reference that was added by the request.
Back to Web Service Overview