updateExternalServiceData

put

/ccadmin/v1/merchant/{id}

Update External Service Data. Update data for a single external service.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
ID of the external application data. In the form "{serverType}-{applicationName}".
Body Parameter
Root Schema : updateExternalServiceData_request
Nested Schema : serviceData
Type: object
Actual external service data.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : updateExternalServiceData_response
Nested Schema : serviceData
Type: object
The actual data being stored.
Example application/json

{
    "serverType":"production",
    "serviceData":{
        "port":123,
        "displayName":"Oracle Recommendations",
        "host":"myHost",
        "name":"Recommendations",
        "tenantId":"foo"
    },
    "id":"production-Recommendations"
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "serverType": "production",
  "serviceData": {
    "port": 123,
    "displayName": "Oracle Recommendations",
    "host": "myHost",
    "name": "Recommendations",
    "tenantId": "foo"
  },
  "id": "production-Recommendations"
}