Retrieve Count of Dead-Letter Records - Teradata Listener

Teradata® Listener™ User Guide

Product
Teradata Listener
Release Number
2.05
Published
March 2019
Language
English (United States)
Last Update
2019-04-25
dita:mapPath
vlj1546974296436.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2910
lifecycle
previous
Product Category
Analytical Ecosystem

If a target is configured to store bad records in a dead-letter queue, you can retrieve the number of records in the queue through the API. Only an owner or administrator can perform this function.

Definition

GET https://CLUSTER.DOMAIN/listener/appservices/targets/{target_id}/dead-letter-queue/count HTTP/1.1

Example Response

HTTP/1.1 200 OK
{
  "count" : 42
}

Response Codes

Code Description
200 Successfully retrieved record count.
403 User does not have permission.