Skip to main content

CommFind

Searches for communication channels matching a given identifier string and optional protocol type.

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

Method Signature

ArrayOfCommIDInfo CommFind(string SessionID, string Identifier, NetworkGatewayCommChannel CommType)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
IdentifierstringYesProtocol-specific identifier to search for (hostname, AS2 ID, URL, etc.)
CommTypeNetworkGatewayCommChannelYesProtocol type to filter by; use none to search across all types

Response Object — ArrayOfCommIDInfo

Returns an array of CommIDInfo objects that match the search criteria. Each element contains:

FieldTypeDescription
CommIDintUnique identifier of the comm channel
MailboxIDintMailbox associated with this comm channel
CommTypeNetworkGatewayCommChannelProtocol type
IdentifierstringProtocol-specific identifier
StatusStatusCurrent status of the comm channel
UseTypeUseTypeTest, production, or both
PrivateKeyRequiredboolWhether a private key is required
WithCertsboolWhether certificate details are included
<!-- Example response XML -->
<ArrayOfCommIDInfo>
<CommIDInfo>
<CommID>4523</CommID>
<MailboxID>102</MailboxID>
<CommType>as2</CommType>
<Identifier>PARTNER-AS2-ID</Identifier>
<Status>Active</Status>
<UseType>Production</UseType>
<PrivateKeyRequired>true</PrivateKeyRequired>
<WithCerts>false</WithCerts>
</CommIDInfo>
</ArrayOfCommIDInfo>

ENUMs

NetworkGatewayCommChannel

ValueDescription
noneNo filter — search all types
ftpFTP
sftpSFTP
as2AS2
httpHTTP
oftpOFTP
x400X.400
gisbGISB
rnifRosettaNet
cxmlcXML
ftpsslimplicitFTP over SSL (implicit)
peppolPEPPOL
as4AS4
undefinedUndefined

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
using ECGridOSClient;

var client = new ECGridOSPortTypeClient();

// Search for AS2 channels using a known AS2 identifier
CommIDInfo[] results = await client.CommFindAsync(
sessionID,
Identifier: "PARTNER-AS2-ID",
CommType: NetworkGatewayCommChannel.as2);

foreach (var ch in results)
{
Console.WriteLine($"CommID: {ch.CommID} | Mailbox: {ch.MailboxID} | Status: {ch.Status}");
}

REST Equivalent

See Find CommPOST /v2/comms/find.