getWebHooks
get
                    /ccadmin/v1/webhooks
Get Web Hooks. Gets an array of webhooks.Response can be narrowed by a "serverType parameter". Each element of the returned array follows the format of that returned by getWebHook.
                Request
Supported Media Types
                - application/json
Query Parameters
                - 
                        includeSecretKeys(optional): boolean
                        
                        Whether to include the secret key.
- 
                        serverType(optional): string
                        
                        Only return WebHooks of the specified filter type.
Response
Supported Media Types
                - application/json
200 Response
Following model is returned when operation succeeds.
                
                
                    Root Schema : getWebHooks_response
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            applyResendDelayToFirstAttempt(optional): 
            boolean
            Apply resend delay in first attempt
- 
            basicAuthentication(optional): 
            object  basicAuthentication
            
            Map of username and password
- 
            displayName(optional): 
            string
            The display name of the WebHook.
- 
            headers(optional): 
            object  headers
            
            Map of header names and header values
- 
            id(optional): 
            string
            WebHook identifier.
- 
            includeChangesOnly(optional): 
            boolean
            The webhook payload will include only the changes for list and map properties when this value is set as true
- 
            maxNumberOfResendAttempts(optional): 
            integer
            Max number of resend attempts
- 
            name(optional): 
            string
            The simple name of the WebHook.
- 
            resendDelaySeconds(optional): 
            integer
            Resend delay in seconds
- 
            secretKey(optional): 
            string
            The base64 encoded secret key of the WebHook. Will be null unless includeSecretKeys query parameter is true. A secret key is currently shared between WebHooks of the same name (like "submitOrder").
- 
            serverType(optional): 
            string
            The server type of the WebHook.
- 
            subEntityTruncationSize(optional): 
            integer
            Threshold at which some of the sub-entities in Webhook payload, like cart items, return items and addresses get truncated when number of records exceeds configured threshold size (allowed range is 100-50000). For more details on which sub-entities get truncated for a Webhook, refer to individual Webhook payload document
- 
            urlApplicationSuppressionList(optional): 
            array  urlApplicationSuppressionList
            
            Array of URL - Applications suppression. Each object contains a URL to be suppressed and an array of application Ids (using /ccadmin/v1/applicationIds endpoint) for which the URL needs to be suppressed when the application calls OCC endpoint to create or update an entity.
- 
            urls(optional): 
            array  urls
            
            An array of strings of the target URLs for the WebHook.
Nested Schema : basicAuthentication
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectMap of username and password
    
    
    
    
        Show Source
        - 
            password(optional): 
            string
            The password.
- 
            username(optional): 
            string
            The user name.
Nested Schema : headers
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectMap of header names and header values
    
    
    
    
        Show Source
        - 
            headerName(optional): 
            string
            The header name.
- 
            headerValue(optional): 
            string
            The header value.
Nested Schema : urlApplicationSuppressionList
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of URL - Applications suppression. Each object contains a URL to be suppressed and an array of application Ids (using /ccadmin/v1/applicationIds endpoint) for which the URL needs to be suppressed when the application calls OCC endpoint to create or update an entity.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : urls
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn array of strings of the target URLs for the WebHook.
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            applications(optional): 
            array  applications
            
            Array of strings representing application Ids, events triggered by which should suppress the URL.
- 
            url(optional): 
            string
            The URL to be suppressed.
Nested Schema : applications
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayArray of strings representing application Ids, events triggered by which should suppress the URL.
    
    
    
    
    
        Show Source
        - 
            Array of: 
                string
            
            Id of the registered application. Refer to /ccadmin/v1/applicationIds for more details.
Example Response (application/json)
                    [
    {
        "resendDelaySeconds":"3600",
        "headers":{
            "header1":"value1"
        },
        "includeChangesOnly":false,
        "secretKey":null,
        "urlApplicationSuppressionList":[
            {
                "url":"https://example.com",
                "applications":[
                    "applicationId1"
                ]
            }
        ],
        "displayName":"atg.service.webhook.Resources->webHookDisplayName_submitOrder",
        "basicAuthentication":{
            "admin":"admin"
        },
        "maxNumberOfResendAttempts":"5",
        "subEntityTruncationSize":null,
        "urls":null,
        "serverType":"production",
        "name":"submitOrder",
        "id":"production-submitOrder",
        "applyResendDelayToFirstAttempt":"true"
    },
    {
        "resendDelaySeconds":"3600",
        "headers":null,
        "includeChangesOnly":false,
        "secretKey":null,
        "urlApplicationSuppressionList":[
            {
                "url":"https://example.com",
                "applications":[
                    "applicationId1"
                ]
            }
        ],
        "displayName":"atg.service.webhook.Resources->webHookDisplayName_publishEvent",
        "basicAuthentication":null,
        "maxNumberOfResendAttempts":"5",
        "subEntityTruncationSize":null,
        "urls":null,
        "serverType":"production",
        "name":"publishEvent",
        "id":"production-publishEvent",
        "applyResendDelayToFirstAttempt":"true"
    },
    {
        "resendDelaySeconds":"3600",
        "headers":null,
        "includeChangesOnly":false,
        "secretKey":null,
        "urlApplicationSuppressionList":[
            {
                "url":"https://example.com",
                "applications":[
                    "applicationId1"
                ]
            }
        ],
        "displayName":"atg.service.webhook.Resources->webHookDisplayName_submitOrder",
        "basicAuthentication":null,
        "maxNumberOfResendAttempts":"5",
        "subEntityTruncationSize":null,
        "urls":null,
        "serverType":"publishing",
        "name":"submitOrder",
        "id":"publishing-submitOrder",
        "applyResendDelayToFirstAttempt":"true"
    },
    {
        "resendDelaySeconds":"3600",
        "headers":null,
        "includeChangesOnly":false,
        "secretKey":null,
        "urlApplicationSuppressionList":[
            {
                "url":"https://example.com",
                "applications":[
                    "applicationId1"
                ]
            }
        ],
        "displayName":"atg.service.webhook.Resources->webHookDisplayName_publishEvent",
        "basicAuthentication":null,
        "maxNumberOfResendAttempts":"5",
        "subEntityTruncationSize":null,
        "urls":null,
        "serverType":"publishing",
        "name":"publishEvent",
        "id":"publishing-publishEvent",
        "applyResendDelayToFirstAttempt":"true"
    }
]Default Response
The error response
                
                
                    Root Schema : errorModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            errors(optional): 
            array  errors
            
            An optional list of errors if multiple errors were encountered
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code
- 
            type(optional): 
            string
            The URI to the HTTP state code definition
Nested Schema : errors
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayAn optional list of errors if multiple errors were encountered
    
    
    
    
    
        Show Source
        
        
    
    
    
    
    
    
Nested Schema : items
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            devMessage(optional): 
            string
            An optional non-localized message containing technical information for developers
- 
            errorCode(optional): 
            string
            The numerical code identifying the error
- 
            message(optional): 
            string
            The localized message describing the error
- 
            moreInfo(optional): 
            string
            An optional non-localized message with more information
- 
            o:errorPath(optional): 
            string
            An optional machine readable description of where the error occurred
- 
            status(optional): 
            string
            The HTTP status code