Skip to main content

InterchangeResend

Requeue a previously delivered interchange for re-transmission to its recipient.

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

Method Signature

bool InterchangeResend(string SessionID, long InterchangeID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
InterchangeIDlongYesUnique identifier of the interchange to resend

Response Object — bool

Returns true if the interchange was successfully requeued. Returns false or a SOAP fault if the interchange cannot be resent (e.g., it is in a cancelled state or the session lacks permission).

<!-- Example response XML -->
<InterchangeResendResult>true</InterchangeResendResult>

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Resend an interchange that was reported as missing by the trading partner
using var client = new ECGridOSPortTypeClient();

bool requeued = await client.InterchangeResendAsync(sessionID, interchangeId: 5551234L);

if (requeued)
{
Console.WriteLine($"Interchange {interchangeId} requeued for delivery.");
}
else
{
Console.Error.WriteLine("Resend failed — verify interchange status with InterchangeInfo.");
}

REST Equivalent

See Resend Interchange.