updateWebHook

put

/ccadmin/v1/webhooks/{id}

Update Web Hook. Update a single existing WebHook based on given ID and request parameters.

Request

Supported Media Types
Path Parameters
  • ID corresponding to the WebHook which is to be updated.
Body ()
Root Schema : updateWebHook_request
Type: object
Show Source
Example:
{
    "headers":{
        "header1":"value1"
    },
    "urls":[
        "https://localhost:8080/submitOrder"
    ],
    "displayName":"atg.service.webhook.Resources->webHookDisplayName_submitOrder",
    "serverType":"production",
    "name":"submitOrder",
    "id":"production-submitOrder",
    "basicAuthentication":{
        "admin":"admin123"
    }
}
Nested Schema : basicAuthentication
Type: object
Map of username and password
Show Source
Nested Schema : headers
Type: object
Map of header names and header values
Show Source
Nested Schema : urls
Type: array
An array of strings of the target URLs for the WebHook.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateWebHook_response
Type: object
Show Source
Nested Schema : basicAuthentication
Type: object
Map of username and password
Show Source
Nested Schema : headers
Type: object
Map of header names and header values
Show Source
Nested Schema : urls
Type: array
An array of strings of the target URLs for the WebHook.
Show Source
Example Response (application/json)
{
    "headers":{
        "header1":"value1"
    },
    "urls":[
        "https://localhost:8080/submitOrder"
    ],
    "displayName":"atg.service.webhook.Resources->webHookDisplayName_submitOrder",
    "serverType":"production",
    "name":"submitOrder",
    "id":"production-submitOrder",
    "basicAuthentication":{
        "admin":"admin123"
    }
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top