Skip to main content

InterconnectUpdate

Updates the lifecycle status of an existing trading partner interconnect.

:::caution Established API The SOAP API is in maintenance mode. There is no direct REST equivalent for this operation; use the REST Partners section for related management. :::

Method Signature

InterconnectIDInfo InterconnectUpdate(string SessionID, int InterconnectID, Status Status)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token obtained from Login()
InterconnectIDintYesNumeric identifier for the interconnect to update
StatusStatusYesNew lifecycle status to assign to this interconnect

Response Object — InterconnectIDInfo

Returns the updated InterconnectIDInfo object reflecting the new status.

FieldTypeDescription
InterconnectIDintUnique numeric identifier (unchanged)
ECGridIDFromintECGrid ID of the sending trading partner (unchanged)
ECGridIDTointECGrid ID of the receiving trading partner (unchanged)
StatusStatusUpdated lifecycle status
CreateddatetimeOriginal creation timestamp (unchanged)
ModifieddatetimeUpdated to reflect when the status change was made
<!-- Example response XML after status update -->
<InterconnectUpdateResult>
<InterconnectID>5001</InterconnectID>
<ECGridIDFrom>123456</ECGridIDFrom>
<ECGridIDTo>234567</ECGridIDTo>
<Status>Suspended</Status>
<Created>2024-01-15T10:30:00</Created>
<Modified>2026-05-07T12:00:00</Modified>
</InterconnectUpdateResult>

ENUMs

Status

ValueDescription
DevelopmentSet interconnect back to development/configuration state
ActiveReactivate — allows EDI traffic to flow
PreproductionStage for production testing
SuspendedTemporarily halt EDI traffic on this interconnect
TerminatedPermanently close the interconnect
caution

Setting status to Terminated is irreversible. Use Suspended if you need to temporarily stop traffic with the option to resume later. To permanently close an interconnect, consider using InterconnectCancel instead.

Code Examples

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

// Suspend an interconnect temporarily
InterconnectIDInfo updated = await client.InterconnectUpdateAsync(
sessionID,
interconnectID: 5001,
status: Status.Suspended);

Console.WriteLine($"InterconnectID {updated.InterconnectID} status: {updated.Status}");

// Reactivate it later
InterconnectIDInfo reactivated = await client.InterconnectUpdateAsync(
sessionID,
interconnectID: 5001,
status: Status.Active);

REST Equivalent

There is no direct REST equivalent for status-only updates. See Get Partner for partner management options in the REST API.