Skip to main content

ParcelResend

Requeue a previously sent parcel for outbound re-delivery.

:::caution Established API The SOAP API is in maintenance mode. For inbound re-processing in the REST API, see Reset to Inbox. There is no direct REST equivalent for outbound resend. :::

Method Signature

bool ParcelResend(string SessionID, long ParcelID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
ParcelIDlongYesUnique identifier of the parcel to resend

Response Object — bool

Returns true if the parcel was successfully requeued for delivery. Returns false or a SOAP fault if the parcel is not in a resendable state, has already been confirmed by the recipient, or the session lacks permission.

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

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Resend an outbound parcel that failed to deliver
using var client = new ECGridOSPortTypeClient();

bool requeued = await client.ParcelResendAsync(sessionID, parcelId: 9876545L);

if (requeued)
{
Console.WriteLine($"Parcel {parcelId} requeued for delivery.");
}
else
{
Console.Error.WriteLine($"Resend failed — check parcel status with ParcelInfo before retrying.");
}

REST Equivalent

There is no direct REST equivalent for outbound parcel resend. For inbound parcels, see Reset to Inbox.