getWebHook

get

/ccadmin/v1/webhooks/{id}

Get Web Hook. Gets an individual event WebHook by the provided ID.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
ID corresponding to the required WebHook.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getWebHook_response
Nested Schema : basicAuthentication
Type: object
Map of username and password
Nested Schema : headers
Type: object
Map of header names and header values
Nested Schema : urls
Type: array
An array of strings of the target URLs for the WebHook.
Example application/json

{
    "maxNumberOfResendAttempts":"5",
    "resendDelaySeconds":"3600",
    "headers":{
        "header1":"value1"
    },
    "urls":null,
    "secretKey":null,
    "displayName":"atg.service.webhook.Resources->webHookDisplayName_submitOrder",
    "serverType":"production",
    "name":"submitOrder",
    "id":"production-submitOrder",
    "applyResendDelayToFirstAttempt":"true",
    "basicAuthentication":{
        "admin":"admin"
    }
}
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:

{
  "maxNumberOfResendAttempts": "5",
  "resendDelaySeconds": "3600",
  "headers": {"header1": "value1"},
  "urls": null,
  "secretKey": null,
  "displayName": "atg.service.webhook.Resources->webHookDisplayName_submitOrder",
  "serverType": "production",
  "name": "submitOrder",
  "id": "production-submitOrder",
  "applyResendDelayToFirstAttempt": "true",
  "basicAuthentication": {"admin": "admin"}
}