Skip to main content

CallBackQueueInfo

Returns the status and delivery details for a specific callback queue entry, identified by its queue ID.

:::caution Established API The SOAP API is in maintenance mode. For new integrations use the REST equivalent. :::

Method Signature

CallBackQueueIDInfo CallBackQueueInfo(string SessionID, long CallBackQueueID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
CallBackQueueIDlongYesUnique identifier of the callback queue entry to retrieve

Response Object — CallBackQueueIDInfo

FieldTypeDescription
CallBackQueueIDlongUnique identifier for this queue entry
CallBackIDintIdentifier of the parent callback configuration
NetworkIDintNetwork associated with this queue entry
MailboxIDintMailbox associated with this queue entry
URLstringCallback endpoint targeted for delivery
EventObjectsObject type that triggered the callback
StatusstringCurrent queue status (Pending, Delivered, Failed)
CreateDatedatetimeTimestamp when the event was first enqueued
LastAttemptDatedatetimeTimestamp of the most recent delivery attempt
AttemptCountintNumber of delivery attempts made
HTTPResponseintHTTP status code from the most recent delivery attempt; 0 for connection errors
ParcelIDlongRelated parcel ID if event type is Parcel; 0 otherwise
InterchangeIDlongRelated interchange ID if event type is Interchange; 0 otherwise
<!-- Example response XML -->
<CallBackQueueIDInfoResult>
<CallBackQueueID>98770</CallBackQueueID>
<CallBackID>42</CallBackID>
<NetworkID>1</NetworkID>
<MailboxID>100</MailboxID>
<URL>https://your-app.example.com/ecgrid/callback</URL>
<Event>Parcel</Event>
<Status>Delivered</Status>
<CreateDate>2026-05-07T10:15:00</CreateDate>
<LastAttemptDate>2026-05-07T10:15:03</LastAttemptDate>
<AttemptCount>1</AttemptCount>
<HTTPResponse>200</HTTPResponse>
<ParcelID>7890123</ParcelID>
<InterchangeID>0</InterchangeID>
</CallBackQueueIDInfoResult>

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Look up the status of a specific queued callback delivery
var queueEntry = await client.CallBackQueueInfoAsync(sessionID, callBackQueueID: 98770L);

Console.WriteLine($"Queue ID: {queueEntry.CallBackQueueID}");
Console.WriteLine($"Status: {queueEntry.Status}");
Console.WriteLine($"Attempts: {queueEntry.AttemptCount}");
Console.WriteLine($"HTTP Code: {queueEntry.HTTPResponse}");
Console.WriteLine($"Last Try: {queueEntry.LastAttemptDate:O}");

REST Equivalent

See Get Queue by IDGET /v2/callbacks/get-queue-by-id.