Skip to main content

ReportInterchangeStats

Returns interchange volume statistics for a specified date range and direction.

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

Method Signature​

DataSet ReportInterchangeStats(string SessionID, DateTime StartTime, DateTime EndTime, Direction Direction)

Parameters​

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
StartTimedatetimeYesStart of the reporting period (inclusive)
EndTimedatetimeYesEnd of the reporting period (inclusive)
DirectionDirectionYesFilter by inbound, outbound, or both

Response Object — DataSet​

Returns an ADO.NET DataSet with interchange volume rows for the requested period. Access results via DataTable rows.

ColumnTypeDescription
InterchangeDatedatetimeDate of the interchange activity
DirectionstringDirection of interchange flow (InBox / OutBox)
CountintNumber of interchanges for this date and direction
ISAsintNumber of ISA envelopes processed
GSSTsintNumber of GS/ST groups/transactions processed
<!-- Example response XML -->
<DataSet>
<Table>
<InterchangeDate>2026-05-01T00:00:00</InterchangeDate>
<Direction>InBox</Direction>
<Count>142</Count>
<ISAs>142</ISAs>
<GSSTs>874</GSSTs>
</Table>
<Table>
<InterchangeDate>2026-05-01T00:00:00</InterchangeDate>
<Direction>OutBox</Direction>
<Count>98</Count>
<ISAs>98</ISAs>
<GSSTs>521</GSSTs>
</Table>
</DataSet>

:::note DataSet Access Pattern The SOAP DataSet return type is an ADO.NET dataset. Iterate Tables[0].Rows to access each data row. :::

ENUMs​

Direction​

ValueDescription
NoDirNo direction filter — returns both inbound and outbound
OutBoxOutbound interchanges only
InBoxInbound interchanges only

Code Examples​

// .NET 10 — dotnet-svcutil generated proxy
// Get interchange statistics for a specific date range
var startTime = new DateTime(2026, 5, 1, 0, 0, 0);
var endTime = new DateTime(2026, 5, 7, 23, 59, 59);

var result = await client.ReportInterchangeStatsAsync(
sessionID,
startTime,
endTime,
Direction.NoDir);

// DataSet returned — iterate rows for each date/direction combination
var table = result.Tables[0];
foreach (DataRow row in table.Rows)
{
Console.WriteLine(
$"{row["InterchangeDate"]:yyyy-MM-dd} | {row["Direction"],6} | " +
$"Count: {row["Count"],5} | ISAs: {row["ISAs"],5} | GSSTs: {row["GSSTs"],6}");
}

REST Equivalent​

See Interchange Stats — POST /v2/reports/interchange-stats.