getFailedMessages

get

/ccadmin/v1/webhookFailedMessages

Get Failed Messages. The failed messages.

Request

Supported Media Types
Query Parameters
  • Specifies the bean filter id to be used. Supported values are detailed and short. When not specified or in case of invalid value, default filter, detailed will be used.
  • The number of items to return.
  • Index of the first element to return.
  • The query in RQL syntax. Common query strings might limit by serverType or messageType.
  • The format of the query. Specify "SCIM" to use SCIM rather than the default of RQL.
  • Sorting criteria. Following are the fields supported by this param: |Field|Type|Description| |------------------|------------------|------------------| |property|string|The property the listing is sorted by.| |order|string|Sort order: asc or desc.|
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getFailedMessages_response
Type: object
Show Source
Nested Schema : items
Type: array
The array of failed message items.
Show Source
Nested Schema : sort
Type: array
The sorting criteria.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : forwardMessage
Type: object
The message being forwarded. Note that specific message types will have additional properties.
Show Source
Nested Schema : remainingTargetUrls
Type: array
The remaining target URLs to which this message has not successfully been sent.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "total":1,
    "totalResults":1,
    "offset":0,
    "limit":250,
    "sort":[
        {
            "property":"id",
            "order":"asc"
        }
    ],
    "items":[
        {
            "remainingTargetUrls":[
                "http://localhost:8080/ccstore/v1/logging/logInfoPostWithHeaders",
                "http://localhost:9080/ccstore/v1/logging/logInfoPostWithHeaders"
            ],
            "messageType":"atg.commerce.fulfillment.SubmitOrder",
            "lastErrorMessage":"atg.service.webhook.WebHookException: java.net.ConnectException: Connection refused (Connection refused)",
            "savedTime":"2015-01-20T17:37:13.000Z",
            "resend":false,
            "serverType":"publishing",
            "id":"100001",
            "serviceName":"submitOrder",
            "forwardMessage":{
                "orderId":"o10007",
                "parentSessionId":"2AA367F8A3B9BBC645E5F161A5891122",
                "sessionId":"2AA367F8A3B9BBC645E5F161A5891122",
                "source":"CheckoutProcess",
                "type":"atg.commerce.fulfillment.SubmitOrder",
                "userId":null,
                "profileId":"se-570031",
                "originalUserId":null,
                "siteId":null,
                "id":"10001",
                "originalId":"10001",
                "order":{
                    "priceInfo":{
                        "amount":29.97,
                        "total":54.97,
                        "shipping":25,
                        "discountAmount":0,
                        "tax":0,
                        "rawSubtotal":29.97,
                        "currencyCode":"USD"
                    },
                    "totalCommerceItemCount":3,
                    "id":"o10007",
                    "commerceItems":[
                        {
                            "priceInfo":{
                                "amount":29.97,
                                "currencyCode":"USD"
                            },
                            "quantity":3,
                            "productId":"Product_3Dii",
                            "productDisplayName":"He's Just Not that Into You",
                            "id":"ci1000008",
                            "catalogRefId":"Sku_3Eii"
                        }
                    ]
                },
                "originalSource":"CheckoutProcess"
            }
        }
    ]
}

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