Skip to main content

InterchangeOutBox

List outbound interchanges sent from a mailbox, with optional filtering by trading partner and date range.

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

Method Signature

ArrayOfInterchangeIDInfo InterchangeOutBox(string SessionID, int NetworkID, int MailboxID,
int ECGridIDFrom, int ECGridIDTo,
datetime BeginDate, datetime EndDate, short PageNo, short RecordsPerPage)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
NetworkIDintYesNetwork ID; use 0 for the session default
MailboxIDintYesMailbox ID; use 0 for the session default
ECGridIDFromintNoFilter by sender ECGrid ID; use 0 for all
ECGridIDTointNoFilter by recipient ECGrid ID; use 0 for all
BeginDatedatetimeYesStart of the date range (UTC)
EndDatedatetimeYesEnd of the date range (UTC)
PageNoshortYes1-based page number for paginated results
RecordsPerPageshortYesNumber of records per page (max 500)

Response Object — ArrayOfInterchangeIDInfo

Returns an array of InterchangeIDInfo objects.

FieldTypeDescription
InterchangeIDlongUnique interchange identifier
ParcelIDlongParent parcel that contained this interchange
SenderstringISA06 sender ID
ReceiverstringISA08 receiver ID
StandardEDIStandardEDI standard used (e.g., X12, EDIFACT)
DocumentTypestringFunctional identifier / transaction set type
StatusstringCurrent interchange status
CreateddatetimeTimestamp when the interchange was sent (UTC)
<!-- Example response XML -->
<ArrayOfInterchangeIDInfo>
<InterchangeIDInfo>
<InterchangeID>5551235</InterchangeID>
<ParcelID>9876544</ParcelID>
<Sender>BUYERID</Sender>
<Receiver>SUPPLIERID</Receiver>
<Standard>X12</Standard>
<DocumentType>850</DocumentType>
<Status>Delivered</Status>
<Created>2026-05-07T09:35:00Z</Created>
</InterchangeIDInfo>
</ArrayOfInterchangeIDInfo>

ENUMs

EDIStandard

ValueDescription
X12ANSI X12
EDIFACTUN/EDIFACT
TRADACOMSTRADACOMS
VDAVDA
XMLXML payload
TXTPlain text
PDFPDF document
BinaryBinary/proprietary format

See Appendix — ENUMs for the full EDIStandard list.

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Retrieve today's outbound interchanges
using var client = new ECGridOSPortTypeClient();

var begin = DateTime.UtcNow.Date;
var end = begin.AddDays(1).AddSeconds(-1);

var interchanges = await client.InterchangeOutBoxAsync(
sessionID,
networkID: 0,
mailboxID: 0,
eCGridIDFrom: 0,
eCGridIDTo: 0,
beginDate: begin,
endDate: end,
pageNo: 1,
recordsPerPage: 100);

foreach (var ix in interchanges)
{
Console.WriteLine($"InterchangeID={ix.InterchangeID} Type={ix.DocumentType} Status={ix.Status}");
}

REST Equivalent

See Interchange Outbox List.