Retrieve Count of Dead-Letter Records

Teradata® Listener™ User Guide

brand
Analytical Ecosystem
prodname
Teradata Listener
vrm_release
2.05
category
User Guide
featnum
B035-2910-039K

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.