Skip to main content

TPInfo

Returns trading partner ID details — an alias for ECGridIDInfo that returns the same ECGridIDInfo object.

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

Method Signature

ECGridIDInfo TPInfo(string SessionID, int ECGridID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token obtained from Login()
ECGridIDintYesNumeric ECGrid identifier for the trading partner ID

Response Object — ECGridIDInfo

FieldTypeDescription
ECGridIDintUnique numeric identifier for this ECGrid ID record
MailboxIDintID of the mailbox that owns this ECGrid ID
NetworkIDintID of the network associated with this ECGrid ID
QualifierstringISA qualifier (e.g., 01, 08, ZZ)
IDstringISA sender/receiver ID value
DescriptionstringHuman-readable label for the trading partner
StatusStatusCurrent lifecycle status of the ECGrid ID
RoutingGroupRoutingGroupRouting group assignment for message delivery
EDIStandardEDIStandardEDI standard used by this trading partner
<!-- Example response XML -->
<TPInfoResult>
<ECGridID>123456</ECGridID>
<MailboxID>789</MailboxID>
<NetworkID>42</NetworkID>
<Qualifier>ZZ</Qualifier>
<ID>TRADEPARTNER01</ID>
<Description>Trade Partner One</Description>
<Status>Active</Status>
<RoutingGroup>ProductionA</RoutingGroup>
<EDIStandard>X12</EDIStandard>
</TPInfoResult>
note

TPInfo and ECGridIDInfo accept identical parameters and return the same ECGridIDInfo object. They are interchangeable; TPInfo exists for historical naming consistency with other TP* methods in the SOAP API.

Code Examples

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

// TPInfo and ECGridIDInfo return the same type
ECGridIDInfo idInfo = await client.TPInfoAsync(sessionID, 123456);

Console.WriteLine($"Qualifier: {idInfo.Qualifier} ID: {idInfo.ID}");
Console.WriteLine($"Status: {idInfo.Status}");

REST Equivalent

See Get IDGET /v2/ids/{id}.