Skip to main content

CommInfo

Retrieves detailed information about a single communication channel by its unique CommID.

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

Method Signature

CommIDInfo CommInfo(string SessionID, int CommID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
CommIDintYesUnique identifier of the communication channel to retrieve

Response Object — CommIDInfo

FieldTypeDescription
CommIDintUnique identifier of the comm channel
MailboxIDintMailbox associated with this comm channel
CommTypeNetworkGatewayCommChannelProtocol type (FTP, SFTP, AS2, etc.)
IdentifierstringProtocol-specific identifier (URL, hostname, AS2 ID, etc.)
StatusStatusCurrent status of the comm channel
UseTypeUseTypeWhether the channel is used for test, production, or both
PrivateKeyRequiredboolWhether a private key is required for authentication
WithCertsboolWhether certificate information is included in the response
<!-- Example response XML -->
<CommIDInfo>
<CommID>4521</CommID>
<MailboxID>100</MailboxID>
<CommType>sftp</CommType>
<Identifier>sftp.tradingpartner.com</Identifier>
<Status>Active</Status>
<UseType>Production</UseType>
<PrivateKeyRequired>false</PrivateKeyRequired>
<WithCerts>false</WithCerts>
</CommIDInfo>

ENUMs

NetworkGatewayCommChannel

ValueDescription
noneNo channel configured
ftpFTP
sftpSFTP
as2AS2
httpHTTP
oftpOFTP
x400X.400
gisbGISB
rnifRosettaNet
cxmlcXML
ftpsslimplicitFTP over SSL (implicit)
peppolPEPPOL
as4AS4
undefinedUndefined

Status

ValueDescription
DevelopmentIn development
ActiveActive and operational
PreproductionStaging / pre-production
SuspendedTemporarily suspended
TerminatedPermanently terminated

UseType

ValueDescription
UndefinedNot specified
TestTest traffic only
ProductionProduction traffic only
TestAndProductionBoth test and production traffic

Code Examples

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

var client = new ECGridOSPortTypeClient();

// Retrieve comm channel details by CommID
CommIDInfo commInfo = await client.CommInfoAsync(sessionID, commID: 4521);

Console.WriteLine($"CommID: {commInfo.CommID}");
Console.WriteLine($"MailboxID: {commInfo.MailboxID}");
Console.WriteLine($"Type: {commInfo.CommType}");
Console.WriteLine($"Identifier: {commInfo.Identifier}");
Console.WriteLine($"Status: {commInfo.Status}");
Console.WriteLine($"UseType: {commInfo.UseType}");

REST Equivalent

See Get CommGET /v2/comms/{id}.