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