Skip to main content

InterconnectInfo

Returns detailed information about a single trading partner interconnect by its numeric identifier.

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

Method Signature

InterconnectIDInfo InterconnectInfo(string SessionID, int InterconnectID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token obtained from Login()
InterconnectIDintYesNumeric identifier for the interconnect record

Response Object — InterconnectIDInfo

FieldTypeDescription
InterconnectIDintUnique numeric identifier for this interconnect
ECGridIDFromintECGrid ID of the sending trading partner
ECGridIDTointECGrid ID of the receiving trading partner
StatusStatusCurrent lifecycle status of the interconnect
CreateddatetimeTimestamp when the interconnect was established
ModifieddatetimeTimestamp of the last modification
<!-- Example response XML -->
<InterconnectInfoResult>
<InterconnectID>5001</InterconnectID>
<ECGridIDFrom>123456</ECGridIDFrom>
<ECGridIDTo>234567</ECGridIDTo>
<Status>Active</Status>
<Created>2024-01-15T10:30:00</Created>
<Modified>2024-06-01T08:00:00</Modified>
</InterconnectInfoResult>

ENUMs

Status

ValueDescription
DevelopmentInterconnect is being configured
ActiveInterconnect is live; EDI traffic can flow
PreproductionInterconnect is staged for production
SuspendedInterconnect is temporarily halted
TerminatedInterconnect has been permanently closed

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
using var client = new ECGridOSPortTypeClient();

InterconnectIDInfo info = await client.InterconnectInfoAsync(sessionID, 5001);

Console.WriteLine($"Interconnect {info.InterconnectID}: {info.ECGridIDFrom}{info.ECGridIDTo}");
Console.WriteLine($"Status: {info.Status} Created: {info.Created:yyyy-MM-dd}");

REST Equivalent

See Get PartnerGET /v2/partners/{id}.