NetworkInfo

Greg Kolinski edited this page Sep 20, 2017 · 1 revision

Back To Common API Calls


Details for a specific Network.

 public NetworkIDInfo NetworkInfo(string SessionID, int NetworkID)

Parameters:


Returns

NetworkIDInfo


Remarks

Used to get descriptive information about for a NetworkID when only the NetworkID is returned in other APIs.


Code Example

C#

using System.Xml;
using System.Web.Services.Protocols;
using ECGridService = <ProjectName>.net.ecgridos;

try
{
    using (ECGridService.ECGridOSAPIv3 ECGrid = new ECGridService.ECGridOSAPIv3())
    {
        try
        {
            string SessionID = "00000000-0000-0000-0000-000000000000";
            int NetworkID = 4161861;

            ECGridService.NetworkIDInfo NetworkInfoReturned = ECGrid.NetworkInfo(SessionID, NetworkID);

            Console.WriteLine(NetworkInfoReturned.Name);
            Console.WriteLine(NetworkInfoReturned.NetworkStatus);
            Console.WriteLine(NetworkInfoReturned.Type);

        }
        catch (SoapException SoapEx)
        {
            // See SOAP Exceptions in the Appendix
            var ECG_Ex = CatchException(SoapEx);
            Console.WriteLine($"ECGridOS Soap Exception: {ECG_Ex.ErrorCode} , Item: {ECG_Ex.ErrorItem}, Message: {ECG_Ex.ErrorMessage}, String: {ECG_Ex.ErrorString}");
        }
    } // END USING
}
catch (Exception ex){ Console.WriteLine("Unhandled Exception: " + ex.ToString()); }

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /v3.2/prod/ecgridos.asmx HTTP/1.1
Host: ecgridos.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ecgridos.net/NetworkInfo"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <NetworkInfo xmlns="http://ecgridos.net/">
      <SessionID>string</SessionID>
      <NetworkID>int</NetworkID>
    </NetworkInfo>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <NetworkInfoResponse xmlns="http://ecgridos.net/">
      <NetworkInfoResult>
        <NetworkID>int</NetworkID>
        <Name>string</Name>
        <Location>string</Location>
        <AdminContact>string</AdminContact>
        <AdminPhone>string</AdminPhone>
        <AdminEMail>string</AdminEMail>
        <LastContact>dateTime</LastContact>
        <Type>Network or Router</Type>
        <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
        <RunStatus>Restart or OffLine or Active or Sleeping or Alert</RunStatus>
        <NetworkStatus>Redirected or NormalOperation or ECGridScheduledOutage or ECGridUnscheduledOutage or NetworkScheduledOutage or NetworkUnscheduledOutage</NetworkStatus>
        <ECGridAccount>boolean</ECGridAccount>
        <OwnerUserID>int</OwnerUserID>
        <RoutingUserID>int</RoutingUserID>
        <ErrorsUserID>int</ErrorsUserID>
        <InterconnectsUserID>int</InterconnectsUserID>
        <NoticesUserID>int</NoticesUserID>
        <ReportsUserID>int</ReportsUserID>
        <AccountingUserID>int</AccountingUserID>
        <CustomerServiceUserID>int</CustomerServiceUserID>
        <HomeWebsite>string</HomeWebsite>
        <SupportWebsite>string</SupportWebsite>
        <LoginWebsite>string</LoginWebsite>
        <Created>dateTime</Created>
        <Modified>dateTime</Modified>
        <LastLog>
          <LogID>int</LogID>
          <LogDate>dateTime</LogDate>
          <UserID>int</UserID>
          <Type>SystemResponse or SystemAutomated or User</Type>
          <Status>Start or CheckIn or Access or Pause or Restart or Shutdown or StatusChange</Status>
          <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
          <Description>string</Description>
        </LastLog>
        <OwnerInfo>
          <Type>string</Type>
          <RoutingType>string</RoutingType>
          <Routing>Open or OpenWithSenderValidation or TradingPartnerPairs or MultiNetwork or ECGridOpen or ECGridTradingPartnerPairs</Routing>
          <LegacyPassword>string</LegacyPassword>
          <InterconnectContact>string</InterconnectContact>
          <InterconnectEMail>string</InterconnectEMail>
          <ErrorContact>string</ErrorContact>
          <ErrorEMail>string</ErrorEMail>
          <Config>
            <InBoxTimeout>short</InBoxTimeout>
            <SegTerm>unsignedByte</SegTerm>
            <ElmSep>unsignedByte</ElmSep>
            <SubElmSep>unsignedByte</SubElmSep>
            <EBCDICFilter>boolean</EBCDICFilter>
            <FTPasciiFilter>boolean</FTPasciiFilter>
            <LowPassFilter>boolean</LowPassFilter>
            <MailbagPassThrough>boolean</MailbagPassThrough>
            <DeleteOnDownload>boolean</DeleteOnDownload>
            <StripDirectedEnvelope>boolean</StripDirectedEnvelope>
          </Config>
          <PricelistID>int</PricelistID>
          <ContractID>int</ContractID>
        </OwnerInfo>
        <NetOpsInfo>
          <BillingUserID>int</BillingUserID>
          <BillingContact>string</BillingContact>
          <BillingEMail>string</BillingEMail>
          <BillingType>short</BillingType>
          <InvoiceContact>string</InvoiceContact>
          <InvoiceEMail>string</InvoiceEMail>
          <SoftwareVersion>string</SoftwareVersion>
          <Created>dateTime</Created>
          <Commissioned>dateTime</Commissioned>
          <Decommissioned>dateTime</Decommissioned>
          <Modified>dateTime</Modified>
          <RunDir>string</RunDir>
          <InternalDirectory>string</InternalDirectory>
          <ExternalDirectoryRoot>string</ExternalDirectoryRoot>
          <ExternalDirectoryIn>string</ExternalDirectoryIn>
          <ExternalDirectoryOut>string</ExternalDirectoryOut>
          <ArchiveDays>short</ArchiveDays>
          <SupportURL>string</SupportURL>
          <BlockSize>short</BlockSize>
          <EnvPerMB>short</EnvPerMB>
          <OutBoxTimeOut>short</OutBoxTimeOut>
          <MasterAccount>string</MasterAccount>
          <ProcessID>int</ProcessID>
          <UserName>string</UserName>
          <UserDomain>string</UserDomain>
          <Server>string</Server>
          <AliasNetworkID>int</AliasNetworkID>
          <AliasMailboxID>int</AliasMailboxID>
          <InBoxPattern>string</InBoxPattern>
          <OutBoxPattern>string</OutBoxPattern>
          <X1256>boolean</X1256>
          <ArchiveDaysInternal>short</ArchiveDaysInternal>
          <ArchiveDaysExternal>short</ArchiveDaysExternal>
          <MaxBatch>short</MaxBatch>
          <dbOpenMaxCycles>short</dbOpenMaxCycles>
          <dbOpenMaxSeconds>short</dbOpenMaxSeconds>
          <Gateway>
            <Application>string</Application>
            <ApplicationTimeOut>short</ApplicationTimeOut>
            <ApplicationLogFile>string</ApplicationLogFile>
            <Frequency>short</Frequency>
            <MinimumPolling>short</MinimumPolling>
            <Handshake>Push or Pull or PushPull</Handshake>
            <CommChannel>none or ftp or sftp or as2 or http or oftp or x400 or gisb or rnif or undefined</CommChannel>
            <Connection>Internet or VPN or Dial or Other</Connection>
          </Gateway>
          <VPN>
            <LocalTunnel>string</LocalTunnel>
            <RemoteTunnel>string</RemoteTunnel>
            <EncryptionDomain xsi:nil="true" />
            <SharedSecret>string</SharedSecret>
            <EncryptionMethod>_3DES_SHA1 or _DES_SHA1 or _3DES_MD5 or _DES_MD5</EncryptionMethod>
          </VPN>
          <FTPServer>
            <IP xsi:nil="true" />
            <UserID>string</UserID>
            <Password>string</Password>
            <Account>string</Account>
            <VirtualDirectoryIn>string</VirtualDirectoryIn>
            <VirtualDirectoryOut>string</VirtualDirectoryOut>
            <LogicalDirectory>string</LogicalDirectory>
            <MaxThreads>short</MaxThreads>
          </FTPServer>
          <FTPClient>
            <IP xsi:nil="true" />
            <UserID>string</UserID>
            <Password>string</Password>
            <Account>string</Account>
            <VirtualDirectoryIn>string</VirtualDirectoryIn>
            <VirtualDirectoryOut>string</VirtualDirectoryOut>
            <LogicalDirectory>string</LogicalDirectory>
            <MaxThreads>short</MaxThreads>
          </FTPClient>
        </NetOpsInfo>
      </NetworkInfoResult>
    </NetworkInfoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /v3.2/prod/ecgridos.asmx HTTP/1.1
Host: ecgridos.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <NetworkInfo xmlns="http://ecgridos.net/">
      <SessionID>string</SessionID>
      <NetworkID>int</NetworkID>
    </NetworkInfo>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <NetworkInfoResponse xmlns="http://ecgridos.net/">
      <NetworkInfoResult>
        <NetworkID>int</NetworkID>
        <Name>string</Name>
        <Location>string</Location>
        <AdminContact>string</AdminContact>
        <AdminPhone>string</AdminPhone>
        <AdminEMail>string</AdminEMail>
        <LastContact>dateTime</LastContact>
        <Type>Network or Router</Type>
        <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
        <RunStatus>Restart or OffLine or Active or Sleeping or Alert</RunStatus>
        <NetworkStatus>Redirected or NormalOperation or ECGridScheduledOutage or ECGridUnscheduledOutage or NetworkScheduledOutage or NetworkUnscheduledOutage</NetworkStatus>
        <ECGridAccount>boolean</ECGridAccount>
        <OwnerUserID>int</OwnerUserID>
        <RoutingUserID>int</RoutingUserID>
        <ErrorsUserID>int</ErrorsUserID>
        <InterconnectsUserID>int</InterconnectsUserID>
        <NoticesUserID>int</NoticesUserID>
        <ReportsUserID>int</ReportsUserID>
        <AccountingUserID>int</AccountingUserID>
        <CustomerServiceUserID>int</CustomerServiceUserID>
        <HomeWebsite>string</HomeWebsite>
        <SupportWebsite>string</SupportWebsite>
        <LoginWebsite>string</LoginWebsite>
        <Created>dateTime</Created>
        <Modified>dateTime</Modified>
        <LastLog>
          <LogID>int</LogID>
          <LogDate>dateTime</LogDate>
          <UserID>int</UserID>
          <Type>SystemResponse or SystemAutomated or User</Type>
          <Status>Start or CheckIn or Access or Pause or Restart or Shutdown or StatusChange</Status>
          <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
          <Description>string</Description>
        </LastLog>
        <OwnerInfo>
          <Type>string</Type>
          <RoutingType>string</RoutingType>
          <Routing>Open or OpenWithSenderValidation or TradingPartnerPairs or MultiNetwork or ECGridOpen or ECGridTradingPartnerPairs</Routing>
          <LegacyPassword>string</LegacyPassword>
          <InterconnectContact>string</InterconnectContact>
          <InterconnectEMail>string</InterconnectEMail>
          <ErrorContact>string</ErrorContact>
          <ErrorEMail>string</ErrorEMail>
          <Config>
            <InBoxTimeout>short</InBoxTimeout>
            <SegTerm>unsignedByte</SegTerm>
            <ElmSep>unsignedByte</ElmSep>
            <SubElmSep>unsignedByte</SubElmSep>
            <EBCDICFilter>boolean</EBCDICFilter>
            <FTPasciiFilter>boolean</FTPasciiFilter>
            <LowPassFilter>boolean</LowPassFilter>
            <MailbagPassThrough>boolean</MailbagPassThrough>
            <DeleteOnDownload>boolean</DeleteOnDownload>
            <StripDirectedEnvelope>boolean</StripDirectedEnvelope>
          </Config>
          <PricelistID>int</PricelistID>
          <ContractID>int</ContractID>
        </OwnerInfo>
        <NetOpsInfo>
          <BillingUserID>int</BillingUserID>
          <BillingContact>string</BillingContact>
          <BillingEMail>string</BillingEMail>
          <BillingType>short</BillingType>
          <InvoiceContact>string</InvoiceContact>
          <InvoiceEMail>string</InvoiceEMail>
          <SoftwareVersion>string</SoftwareVersion>
          <Created>dateTime</Created>
          <Commissioned>dateTime</Commissioned>
          <Decommissioned>dateTime</Decommissioned>
          <Modified>dateTime</Modified>
          <RunDir>string</RunDir>
          <InternalDirectory>string</InternalDirectory>
          <ExternalDirectoryRoot>string</ExternalDirectoryRoot>
          <ExternalDirectoryIn>string</ExternalDirectoryIn>
          <ExternalDirectoryOut>string</ExternalDirectoryOut>
          <ArchiveDays>short</ArchiveDays>
          <SupportURL>string</SupportURL>
          <BlockSize>short</BlockSize>
          <EnvPerMB>short</EnvPerMB>
          <OutBoxTimeOut>short</OutBoxTimeOut>
          <MasterAccount>string</MasterAccount>
          <ProcessID>int</ProcessID>
          <UserName>string</UserName>
          <UserDomain>string</UserDomain>
          <Server>string</Server>
          <AliasNetworkID>int</AliasNetworkID>
          <AliasMailboxID>int</AliasMailboxID>
          <InBoxPattern>string</InBoxPattern>
          <OutBoxPattern>string</OutBoxPattern>
          <X1256>boolean</X1256>
          <ArchiveDaysInternal>short</ArchiveDaysInternal>
          <ArchiveDaysExternal>short</ArchiveDaysExternal>
          <MaxBatch>short</MaxBatch>
          <dbOpenMaxCycles>short</dbOpenMaxCycles>
          <dbOpenMaxSeconds>short</dbOpenMaxSeconds>
          <Gateway>
            <Application>string</Application>
            <ApplicationTimeOut>short</ApplicationTimeOut>
            <ApplicationLogFile>string</ApplicationLogFile>
            <Frequency>short</Frequency>
            <MinimumPolling>short</MinimumPolling>
            <Handshake>Push or Pull or PushPull</Handshake>
            <CommChannel>none or ftp or sftp or as2 or http or oftp or x400 or gisb or rnif or undefined</CommChannel>
            <Connection>Internet or VPN or Dial or Other</Connection>
          </Gateway>
          <VPN>
            <LocalTunnel>string</LocalTunnel>
            <RemoteTunnel>string</RemoteTunnel>
            <EncryptionDomain xsi:nil="true" />
            <SharedSecret>string</SharedSecret>
            <EncryptionMethod>_3DES_SHA1 or _DES_SHA1 or _3DES_MD5 or _DES_MD5</EncryptionMethod>
          </VPN>
          <FTPServer>
            <IP xsi:nil="true" />
            <UserID>string</UserID>
            <Password>string</Password>
            <Account>string</Account>
            <VirtualDirectoryIn>string</VirtualDirectoryIn>
            <VirtualDirectoryOut>string</VirtualDirectoryOut>
            <LogicalDirectory>string</LogicalDirectory>
            <MaxThreads>short</MaxThreads>
          </FTPServer>
          <FTPClient>
            <IP xsi:nil="true" />
            <UserID>string</UserID>
            <Password>string</Password>
            <Account>string</Account>
            <VirtualDirectoryIn>string</VirtualDirectoryIn>
            <VirtualDirectoryOut>string</VirtualDirectoryOut>
            <LogicalDirectory>string</LogicalDirectory>
            <MaxThreads>short</MaxThreads>
          </FTPClient>
        </NetOpsInfo>
      </NetworkInfoResult>
    </NetworkInfoResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /v3.2/prod/ecgridos.asmx/NetworkInfo?SessionID=string&NetworkID=string HTTP/1.1
Host: ecgridos.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<NetworkIDInfo xmlns="http://ecgridos.net/">
  <NetworkID>int</NetworkID>
  <Name>string</Name>
  <Location>string</Location>
  <AdminContact>string</AdminContact>
  <AdminPhone>string</AdminPhone>
  <AdminEMail>string</AdminEMail>
  <LastContact>dateTime</LastContact>
  <Type>Network or Router</Type>
  <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
  <RunStatus>Restart or OffLine or Active or Sleeping or Alert</RunStatus>
  <NetworkStatus>Redirected or NormalOperation or ECGridScheduledOutage or ECGridUnscheduledOutage or NetworkScheduledOutage or NetworkUnscheduledOutage</NetworkStatus>
  <ECGridAccount>boolean</ECGridAccount>
  <OwnerUserID>int</OwnerUserID>
  <RoutingUserID>int</RoutingUserID>
  <ErrorsUserID>int</ErrorsUserID>
  <InterconnectsUserID>int</InterconnectsUserID>
  <NoticesUserID>int</NoticesUserID>
  <ReportsUserID>int</ReportsUserID>
  <AccountingUserID>int</AccountingUserID>
  <CustomerServiceUserID>int</CustomerServiceUserID>
  <HomeWebsite>string</HomeWebsite>
  <SupportWebsite>string</SupportWebsite>
  <LoginWebsite>string</LoginWebsite>
  <Created>dateTime</Created>
  <Modified>dateTime</Modified>
  <LastLog>
    <LogID>int</LogID>
    <LogDate>dateTime</LogDate>
    <UserID>int</UserID>
    <Type>SystemResponse or SystemAutomated or User</Type>
    <Status>Start or CheckIn or Access or Pause or Restart or Shutdown or StatusChange</Status>
    <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
    <Description>string</Description>
  </LastLog>
  <OwnerInfo>
    <Type>string</Type>
    <RoutingType>string</RoutingType>
    <Routing>Open or OpenWithSenderValidation or TradingPartnerPairs or MultiNetwork or ECGridOpen or ECGridTradingPartnerPairs</Routing>
    <LegacyPassword>string</LegacyPassword>
    <InterconnectContact>string</InterconnectContact>
    <InterconnectEMail>string</InterconnectEMail>
    <ErrorContact>string</ErrorContact>
    <ErrorEMail>string</ErrorEMail>
    <Config>
      <InBoxTimeout>short</InBoxTimeout>
      <SegTerm>unsignedByte</SegTerm>
      <ElmSep>unsignedByte</ElmSep>
      <SubElmSep>unsignedByte</SubElmSep>
      <EBCDICFilter>boolean</EBCDICFilter>
      <FTPasciiFilter>boolean</FTPasciiFilter>
      <LowPassFilter>boolean</LowPassFilter>
      <MailbagPassThrough>boolean</MailbagPassThrough>
      <DeleteOnDownload>boolean</DeleteOnDownload>
      <StripDirectedEnvelope>boolean</StripDirectedEnvelope>
    </Config>
    <PricelistID>int</PricelistID>
    <ContractID>int</ContractID>
  </OwnerInfo>
  <NetOpsInfo>
    <BillingUserID>int</BillingUserID>
    <BillingContact>string</BillingContact>
    <BillingEMail>string</BillingEMail>
    <BillingType>short</BillingType>
    <InvoiceContact>string</InvoiceContact>
    <InvoiceEMail>string</InvoiceEMail>
    <SoftwareVersion>string</SoftwareVersion>
    <Created>dateTime</Created>
    <Commissioned>dateTime</Commissioned>
    <Decommissioned>dateTime</Decommissioned>
    <Modified>dateTime</Modified>
    <RunDir>string</RunDir>
    <InternalDirectory>string</InternalDirectory>
    <ExternalDirectoryRoot>string</ExternalDirectoryRoot>
    <ExternalDirectoryIn>string</ExternalDirectoryIn>
    <ExternalDirectoryOut>string</ExternalDirectoryOut>
    <ArchiveDays>short</ArchiveDays>
    <SupportURL>string</SupportURL>
    <BlockSize>short</BlockSize>
    <EnvPerMB>short</EnvPerMB>
    <OutBoxTimeOut>short</OutBoxTimeOut>
    <MasterAccount>string</MasterAccount>
    <ProcessID>int</ProcessID>
    <UserName>string</UserName>
    <UserDomain>string</UserDomain>
    <Server>string</Server>
    <AliasNetworkID>int</AliasNetworkID>
    <AliasMailboxID>int</AliasMailboxID>
    <InBoxPattern>string</InBoxPattern>
    <OutBoxPattern>string</OutBoxPattern>
    <X1256>boolean</X1256>
    <ArchiveDaysInternal>short</ArchiveDaysInternal>
    <ArchiveDaysExternal>short</ArchiveDaysExternal>
    <MaxBatch>short</MaxBatch>
    <dbOpenMaxCycles>short</dbOpenMaxCycles>
    <dbOpenMaxSeconds>short</dbOpenMaxSeconds>
    <Gateway>
      <Application>string</Application>
      <ApplicationTimeOut>short</ApplicationTimeOut>
      <ApplicationLogFile>string</ApplicationLogFile>
      <Frequency>short</Frequency>
      <MinimumPolling>short</MinimumPolling>
      <Handshake>Push or Pull or PushPull</Handshake>
      <CommChannel>none or ftp or sftp or as2 or http or oftp or x400 or gisb or rnif or undefined</CommChannel>
      <Connection>Internet or VPN or Dial or Other</Connection>
    </Gateway>
    <VPN>
      <LocalTunnel>string</LocalTunnel>
      <RemoteTunnel>string</RemoteTunnel>
      <EncryptionDomain>
        <string>string</string>
        <string>string</string>
      </EncryptionDomain>
      <SharedSecret>string</SharedSecret>
      <EncryptionMethod>_3DES_SHA1 or _DES_SHA1 or _3DES_MD5 or _DES_MD5</EncryptionMethod>
    </VPN>
    <FTPServer>
      <IP>
        <string>string</string>
        <string>string</string>
      </IP>
      <UserID>string</UserID>
      <Password>string</Password>
      <Account>string</Account>
      <VirtualDirectoryIn>string</VirtualDirectoryIn>
      <VirtualDirectoryOut>string</VirtualDirectoryOut>
      <LogicalDirectory>string</LogicalDirectory>
      <MaxThreads>short</MaxThreads>
    </FTPServer>
    <FTPClient>
      <IP>
        <string>string</string>
        <string>string</string>
      </IP>
      <UserID>string</UserID>
      <Password>string</Password>
      <Account>string</Account>
      <VirtualDirectoryIn>string</VirtualDirectoryIn>
      <VirtualDirectoryOut>string</VirtualDirectoryOut>
      <LogicalDirectory>string</LogicalDirectory>
      <MaxThreads>short</MaxThreads>
    </FTPClient>
  </NetOpsInfo>
</NetworkIDInfo>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /v3.2/prod/ecgridos.asmx/NetworkInfo HTTP/1.1
Host: ecgridos.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

SessionID=string&NetworkID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<NetworkIDInfo xmlns="http://ecgridos.net/">
  <NetworkID>int</NetworkID>
  <Name>string</Name>
  <Location>string</Location>
  <AdminContact>string</AdminContact>
  <AdminPhone>string</AdminPhone>
  <AdminEMail>string</AdminEMail>
  <LastContact>dateTime</LastContact>
  <Type>Network or Router</Type>
  <Status>Development or Active or Preproduction or Suspended or Terminated</Status>
  <RunStatus>Restart or OffLine or Active or Sleeping or Alert</RunStatus>
  <NetworkStatus>Redirected or NormalOperation or ECGridScheduledOutage or ECGridUnscheduledOutage or NetworkScheduledOutage or NetworkUnscheduledOutage</NetworkStatus>
  <ECGridAccount>boolean</ECGridAccount>
  <OwnerUserID>int</OwnerUserID>
  <RoutingUserID>int</RoutingUserID>
  <ErrorsUserID>int</ErrorsUserID>
  <InterconnectsUserID>int</InterconnectsUserID>
  <NoticesUserID>int</NoticesUserID>
  <ReportsUserID>int</ReportsUserID>
  <AccountingUserID>int</AccountingUserID>
  <CustomerServiceUserID>int</CustomerServiceUserID>
  <HomeWebsite>string</HomeWebsite>
  <SupportWebsite>string</SupportWebsite>
  <LoginWebsite>string</LoginWebsite>
  <Created>dateTime</Created>
  <Modified>dateTime</Modified>
  <LastLog>
    <LogID>int</LogID>
    <LogDate>dateTime</LogDate>
    <UserID>int</UserID>
    <Type>SystemResponse or SystemAutomated or User</Type>
    <Status>Start or CheckIn or Access or Pause or Restart or Shutdown or StatusChange</Status>
    <AuthLevel>NoChange or Root or TechOps or NetOps or NetworkAdmin or NetworkUser or MailboxAdmin or MailboxUser or TPUser or General</AuthLevel>
    <Description>string</Description>
  </LastLog>
  <OwnerInfo>
    <Type>string</Type>
    <RoutingType>string</RoutingType>
    <Routing>Open or OpenWithSenderValidation or TradingPartnerPairs or MultiNetwork or ECGridOpen or ECGridTradingPartnerPairs</Routing>
    <LegacyPassword>string</LegacyPassword>
    <InterconnectContact>string</InterconnectContact>
    <InterconnectEMail>string</InterconnectEMail>
    <ErrorContact>string</ErrorContact>
    <ErrorEMail>string</ErrorEMail>
    <Config>
      <InBoxTimeout>short</InBoxTimeout>
      <SegTerm>unsignedByte</SegTerm>
      <ElmSep>unsignedByte</ElmSep>
      <SubElmSep>unsignedByte</SubElmSep>
      <EBCDICFilter>boolean</EBCDICFilter>
      <FTPasciiFilter>boolean</FTPasciiFilter>
      <LowPassFilter>boolean</LowPassFilter>
      <MailbagPassThrough>boolean</MailbagPassThrough>
      <DeleteOnDownload>boolean</DeleteOnDownload>
      <StripDirectedEnvelope>boolean</StripDirectedEnvelope>
    </Config>
    <PricelistID>int</PricelistID>
    <ContractID>int</ContractID>
  </OwnerInfo>
  <NetOpsInfo>
    <BillingUserID>int</BillingUserID>
    <BillingContact>string</BillingContact>
    <BillingEMail>string</BillingEMail>
    <BillingType>short</BillingType>
    <InvoiceContact>string</InvoiceContact>
    <InvoiceEMail>string</InvoiceEMail>
    <SoftwareVersion>string</SoftwareVersion>
    <Created>dateTime</Created>
    <Commissioned>dateTime</Commissioned>
    <Decommissioned>dateTime</Decommissioned>
    <Modified>dateTime</Modified>
    <RunDir>string</RunDir>
    <InternalDirectory>string</InternalDirectory>
    <ExternalDirectoryRoot>string</ExternalDirectoryRoot>
    <ExternalDirectoryIn>string</ExternalDirectoryIn>
    <ExternalDirectoryOut>string</ExternalDirectoryOut>
    <ArchiveDays>short</ArchiveDays>
    <SupportURL>string</SupportURL>
    <BlockSize>short</BlockSize>
    <EnvPerMB>short</EnvPerMB>
    <OutBoxTimeOut>short</OutBoxTimeOut>
    <MasterAccount>string</MasterAccount>
    <ProcessID>int</ProcessID>
    <UserName>string</UserName>
    <UserDomain>string</UserDomain>
    <Server>string</Server>
    <AliasNetworkID>int</AliasNetworkID>
    <AliasMailboxID>int</AliasMailboxID>
    <InBoxPattern>string</InBoxPattern>
    <OutBoxPattern>string</OutBoxPattern>
    <X1256>boolean</X1256>
    <ArchiveDaysInternal>short</ArchiveDaysInternal>
    <ArchiveDaysExternal>short</ArchiveDaysExternal>
    <MaxBatch>short</MaxBatch>
    <dbOpenMaxCycles>short</dbOpenMaxCycles>
    <dbOpenMaxSeconds>short</dbOpenMaxSeconds>
    <Gateway>
      <Application>string</Application>
      <ApplicationTimeOut>short</ApplicationTimeOut>
      <ApplicationLogFile>string</ApplicationLogFile>
      <Frequency>short</Frequency>
      <MinimumPolling>short</MinimumPolling>
      <Handshake>Push or Pull or PushPull</Handshake>
      <CommChannel>none or ftp or sftp or as2 or http or oftp or x400 or gisb or rnif or undefined</CommChannel>
      <Connection>Internet or VPN or Dial or Other</Connection>
    </Gateway>
    <VPN>
      <LocalTunnel>string</LocalTunnel>
      <RemoteTunnel>string</RemoteTunnel>
      <EncryptionDomain>
        <string>string</string>
        <string>string</string>
      </EncryptionDomain>
      <SharedSecret>string</SharedSecret>
      <EncryptionMethod>_3DES_SHA1 or _DES_SHA1 or _3DES_MD5 or _DES_MD5</EncryptionMethod>
    </VPN>
    <FTPServer>
      <IP>
        <string>string</string>
        <string>string</string>
      </IP>
      <UserID>string</UserID>
      <Password>string</Password>
      <Account>string</Account>
      <VirtualDirectoryIn>string</VirtualDirectoryIn>
      <VirtualDirectoryOut>string</VirtualDirectoryOut>
      <LogicalDirectory>string</LogicalDirectory>
      <MaxThreads>short</MaxThreads>
    </FTPServer>
    <FTPClient>
      <IP>
        <string>string</string>
        <string>string</string>
      </IP>
      <UserID>string</UserID>
      <Password>string</Password>
      <Account>string</Account>
      <VirtualDirectoryIn>string</VirtualDirectoryIn>
      <VirtualDirectoryOut>string</VirtualDirectoryOut>
      <LogicalDirectory>string</LogicalDirectory>
      <MaxThreads>short</MaxThreads>
    </FTPClient>
  </NetOpsInfo>
</NetworkIDInfo>

Back To Common API Calls

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.