Skip to main content

CallBackPendingList

Returns all callback queue entries currently in a pending state — events that have been raised but not yet successfully delivered to the registered endpoint.

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

Method Signature

ArrayOfCallBackQueueIDInfo CallBackPendingList(string SessionID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()

Response Object — ArrayOfCallBackQueueIDInfo

Returns a collection of CallBackQueueIDInfo objects. Each element contains:

FieldTypeDescription
CallBackQueueIDlongUnique identifier for the queued delivery attempt
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 this queue entry
StatusstringCurrent queue status (always Pending in this list)
CreateDatedatetimeTimestamp when the event was enqueued
LastAttemptDatedatetimeTimestamp of the most recent delivery attempt
AttemptCountintNumber of delivery attempts made so far
<!-- Example response XML -->
<ArrayOfCallBackQueueIDInfoResult>
<CallBackQueueIDInfo>
<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>Pending</Status>
<CreateDate>2026-05-07T10:15:00</CreateDate>
<LastAttemptDate>2026-05-07T10:16:00</LastAttemptDate>
<AttemptCount>1</AttemptCount>
</CallBackQueueIDInfo>
</ArrayOfCallBackQueueIDInfoResult>

Variants

CallBackPendingListEx

Returns pending callbacks scoped to a specific network and mailbox.

ArrayOfCallBackQueueIDInfo CallBackPendingListEx(string SessionID, int NetworkID, int MailboxID)
Additional ParameterTypeDescription
NetworkIDintFilter results to a specific network; 0 for all accessible networks
MailboxIDintFilter results to a specific mailbox; 0 for all mailboxes under the network
// Scoped variant — filter to a specific mailbox
var pending = await client.CallBackPendingListExAsync(sessionID, networkID: 1, mailboxID: 100);

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Retrieve all pending callbacks across all networks and mailboxes
var pendingItems = await client.CallBackPendingListAsync(sessionID);

Console.WriteLine($"Pending callback deliveries: {pendingItems.Length}");

foreach (var item in pendingItems)
{
Console.WriteLine(
$"QueueID={item.CallBackQueueID} Event={item.Event} " +
$"Attempts={item.AttemptCount} Last={item.LastAttemptDate:O}");
}

REST Equivalent

See Queue ListPOST /v2/callbacks/queue-list with status=Pending.