Skip to main content

InterconnectAdd

Creates a new trading partner interconnect that permits EDI traffic to flow between two ECGrid IDs.

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

Method Signature

InterconnectIDInfo InterconnectAdd(string SessionID, int ECGridIDFrom, int ECGridIDTo)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token obtained from Login()
ECGridIDFromintYesECGrid ID of the initiating (sending) trading partner
ECGridIDTointYesECGrid ID of the receiving trading partner

Response Object — InterconnectIDInfo

Returns the newly created InterconnectIDInfo object.

FieldTypeDescription
InterconnectIDintSystem-assigned numeric identifier for the new interconnect
ECGridIDFromintECGrid ID of the sending trading partner
ECGridIDTointECGrid ID of the receiving trading partner
StatusStatusInitial status — typically Active
CreateddatetimeTimestamp when the interconnect was created
ModifieddatetimeTimestamp of last modification (same as Created on creation)
<!-- Example response XML -->
<InterconnectAddResult>
<InterconnectID>5002</InterconnectID>
<ECGridIDFrom>123456</ECGridIDFrom>
<ECGridIDTo>345678</ECGridIDTo>
<Status>Active</Status>
<Created>2026-05-07T12:00:00</Created>
<Modified>2026-05-07T12:00:00</Modified>
</InterconnectAddResult>
note

An interconnect represents a bilateral permission: traffic is permitted from ECGridIDFrom to ECGridIDTo. To allow traffic in both directions, create two interconnects — one for each direction.

Code Examples

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

InterconnectIDInfo newInterconnect = await client.InterconnectAddAsync(
sessionID,
ecGridIDFrom: 123456,
ecGridIDTo: 345678);

Console.WriteLine($"Created InterconnectID: {newInterconnect.InterconnectID}");
Console.WriteLine($"Status: {newInterconnect.Status}");

REST Equivalent

See Create PartnerPOST /v2/partners.