Skip to main content

NetworkStatusSummary

Returns a summary of activity and status statistics for a network, including counts of mailboxes, trading partners, and recent interchange activity.

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

Method Signature

DataSet NetworkStatusSummary(string SessionID, int NetworkID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
NetworkIDintYesNumeric identifier of the network to summarize

Response Object — DataSet

Returns an ADO.NET DataSet containing one or more tables with network-level status counts and statistics. The exact schema varies by network configuration; common fields include:

FieldTypeDescription
NetworkIDintThe queried network identifier
MailboxCountintTotal number of mailboxes in the network
ActiveMailboxCountintNumber of mailboxes with Active status
InterchangeInCountintTotal inbound interchanges in the reporting period
InterchangeOutCountintTotal outbound interchanges in the reporting period
PendingParcelCountintNumber of parcels awaiting download
LastActivitydateTimeUTC timestamp of the most recent interchange activity
<!-- Example response XML (DataSet table structure) -->
<DataSet>
<xs:schema><!-- schema omitted for brevity --></xs:schema>
<diffgr:diffgram>
<NetworkSummary>
<NetworkID>42</NetworkID>
<MailboxCount>15</MailboxCount>
<ActiveMailboxCount>14</ActiveMailboxCount>
<InterchangeInCount>342</InterchangeInCount>
<InterchangeOutCount>287</InterchangeOutCount>
<PendingParcelCount>3</PendingParcelCount>
<LastActivity>2026-05-07T13:45:00</LastActivity>
</NetworkSummary>
</diffgr:diffgram>
</DataSet>

:::note DataSet Deserialization The DataSet return type requires .NET's built-in XML deserialization. When using the dotnet-svcutil generated proxy, the result is strongly typed; if using manual HttpClient + raw SOAP, parse the diffgram XML directly. :::

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Retrieve network status summary for dashboard display
var summary = await client.NetworkStatusSummaryAsync(sessionID, networkId);

// Access the first table in the dataset
if (summary.Tables.Count > 0)
{
var row = summary.Tables[0].Rows[0];
Console.WriteLine($"Mailboxes: {row["MailboxCount"]}");
Console.WriteLine($"Active Mailboxes: {row["ActiveMailboxCount"]}");
Console.WriteLine($"Inbound Today: {row["InterchangeInCount"]}");
Console.WriteLine($"Outbound Today: {row["InterchangeOutCount"]}");
Console.WriteLine($"Pending Parcels: {row["PendingParcelCount"]}");
}

REST Equivalent

See Mailbox StatsPOST /v2/reports/mailbox-stats provides a partial equivalent for per-mailbox statistics. For full network-level summaries, combine with Instant Stats.