Skip to main content

NetworkList

Returns a paginated list of networks, optionally filtered by status.

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

Method Signature

ArrayOfNetworkIDInfo NetworkList(string SessionID, int NetworkID, Status Status, short PageNo, short RecordsPerPage)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
NetworkIDintYesScope the list to this network (0 for all accessible networks)
StatusStatusYesFilter by network status; use Active for live networks
PageNoshortYes1-based page number for pagination
RecordsPerPageshortYesNumber of records per page (max 500)

Response Object — ArrayOfNetworkIDInfo

Returns an array of NetworkIDInfo objects.

FieldTypeDescription
NetworkIDintUnique numeric identifier for the network
UniqueIDstringUnique string identifier (slug) for the network
CompanyNamestringDisplay name of the network company
StatusStatusCurrent status of the network
CreateddateTimeUTC timestamp when the network record was created
ModifieddateTimeUTC timestamp of the most recent modification
<!-- Example response XML -->
<ArrayOfNetworkIDInfo>
<NetworkIDInfo>
<NetworkID>1</NetworkID>
<UniqueID>MYNETWORK</UniqueID>
<CompanyName>My Network Company</CompanyName>
<Status>Active</Status>
<Created>2020-01-15T00:00:00</Created>
<Modified>2024-03-10T12:34:56</Modified>
</NetworkIDInfo>
<NetworkIDInfo>
<NetworkID>2</NetworkID>
<UniqueID>PARTNERNETWORK</UniqueID>
<CompanyName>Partner Network Inc.</CompanyName>
<Status>Active</Status>
<Created>2021-06-01T00:00:00</Created>
<Modified>2024-01-20T08:00:00</Modified>
</NetworkIDInfo>
</ArrayOfNetworkIDInfo>

Variants

NetworkListEx

Returns the same list but scoped to a specific mailbox within the network, enabling finer-grained filtering.

ArrayOfNetworkIDInfo NetworkListEx(string SessionID, int NetworkID, int MailboxID, Status Status, short PageNo, short RecordsPerPage)
Additional ParameterTypeDescription
MailboxIDintScope results to networks visible from this mailbox

ENUMs

Status

See Status enum for all possible values.

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Page through all active networks
short pageNo = 1;
const short pageSize = 100;

NetworkIDInfo[] page;
do
{
page = await client.NetworkListAsync(sessionID, networkId, Status.Active, pageNo, pageSize);
foreach (var network in page)
{
Console.WriteLine($"{network.NetworkID}: {network.CompanyName}");
}
pageNo++;
} while (page.Length == pageSize);

// Extended variant — scope to a specific mailbox
var mailboxNetworks = await client.NetworkListExAsync(
sessionID, networkId, mailboxId, Status.Active, 1, 100);

REST Equivalent

See List NetworksPOST /v2/networks/list.