Updating an Integration Service
The update API uses the PUT method to update an Integration Service. You must provide authentication credentials by using the login API before updating the Integration Service. For information about the authentication process, see Authentication-for-the-Infrastructure-Management-REST-API.
URL to access the update API
The generic format of a URL for the update API is as follows:
https://<TSPShostname>:<port>/tsws/10.0/api/unifiedadmin/IntegrationService/
<identifier>/update
Input parameters in the JSON format to update an Integration Service
You can provide the following parameters in the JSON format along with the URL.
When you provide input parameters for any web service request, you must specify the content-type parameter in the header of the web service request as follows:
The sample input parameters in the JSON format are as follows:
"integrationService":
{
"name": "IS01",
"owner": "admin",
"port": 12124,
"eventDestination":
{
"destination":"CURRENT_INTEGRATION_SERVICE"
},
"connectionModeToServer":"TCP_IP_DIRECT",
"bppmserver":"comp-dv48",
"hostname": "IS01",
"isClusterName": "",
"serviceType": null
}
}
Attributes | Description |
---|---|
eventDestination | Destination where you want to send the events |
destinationDetails | Details of the cell name where you want to send the events |
cellName | Name of the cell where you want to send the events |
destination | Type of destination where you want to send the events. The supported values are as follows:
|
Response information for the update API
A sample JSON response is as follows:
"responseTimeStamp":"2016-05-18T22:11:09",
"statusCode": "200",
"statusMsg": "OK",
"response": [
{
"resourceId": null,
"resourceName":"IS2",
"resourceURI":"comp-dv48|IS2~12124",
"statusCode":"200",
"statusMsg":"OK"
}
]
}