getFailedMessages
get
/ccadmin/v1/webhookFailedMessages
Get Failed Messages. The failed messages.
Request
Supported Media Types
- application/json
Query Parameters
- limit
-
Type:
integer
The number of items to return.- offset
Type:integer
Index of the first element to return.- q
Type:string
The query in RQL syntax. Common query strings might limit by serverType or messageType.- sort
Type:string
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.|Response
Supported Media Types- application/json
200 ResponseFollowing model is returned when operation succeeds.BodyRoot Schema : getFailedMessages_response- items
-
Type:
array
itemsAdditional Properties Allowed:The array of failed message items. - limit
-
Type:
integer
The maximum number of items to return. - offset
-
Type:
integer
The starting offset of the first tiem returned. - sort
-
Type:
array
sortAdditional Properties Allowed:The sorting criteria. - total
-
Type:
integer
The total number of items. Deprecated. - totalResults
-
Type:
integer
The total number of items
Nested Schema : itemsNested Schema : sortNested Schema : itemsType:object
- asRaw
-
Type:
string
The raw byte stream of the failed message rendered as a String that may be in useful cases where deserialization fails. - forwardMessage
-
Type:
object
forwardMessageAdditional Properties Allowed:The message being forwarded. Note that specific message types will have additional properties. - id
-
Type:
string
The repository ID of this failed message. - lastErrorMessage
-
Type:
string
The error from the last send attempt. - messageType
-
Type:
string
The message type of this message. - remainingTargetUrls
-
Type:
array
remainingTargetUrlsAdditional Properties Allowed:The remaining target URLs to which this message has not successfully been sent. - resend
-
Type:
boolean
Whether this message is marked to be requeued for WebHook send. - savedTime
-
Type:
string
The last time with message was saved. - serverType
-
Type:
string
The server type of the server that failed to send this message.
Nested Schema : forwardMessageType:object
The message being forwarded. Note that specific message types will have additional properties.- id
-
Type:
string
The ID for the forward message. - originalId
-
Type:
string
The ID of the original message. - originalSource
-
Type:
string
The original source of the message. - originalUserId
-
Type:
string
The original user ID. - parentSessionId
-
Type:
string
The parent sesison ID of the session from which the message was sent. - sessionId
-
Type:
string
the Session ID - siteId
-
Type:
string
The site ID. - source
-
Type:
string
The source of the message. - type
-
Type:
string
The type of the message. - userId
-
Type:
string
The ID of the end user who last acted on this message.
Nested Schema : remainingTargetUrlsType:array
The remaining target URLs to which this message has not successfully been sent.-
Type:
string
Nested Schema : itemsType:object
- order
-
Type:
string
Sort order: asc or desc. - property
-
Type:
string
The property the listing is sorted by.
Example 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", "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 ResponseThe error responseBodyRoot Schema : errorModelType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errorsNested Schema : itemsType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code
Examples
Sample Response Payload returned by endpoint:
{ "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", "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" } }] }