GetProviders

Returns a list of active providers and their Apex provider IDs for the given client's username and password. For examples contact Apex EDI for documentation.

Resource URL

https://onetouch.apexedi.com/secure/apexeligibilityapi.asmx?WSDL

Code Samples

  • C#
  • Java
  • Delphi
  • SOAP 1.1
  • SOAP 1.2
  • GET
  • POST
public static void GetProviders(string methodCall)
    {
        string content = String.Format("username={0}&password={1}", encUserName, encPassword);
        Console.WriteLine(DoHttpPost(FormatApexEligibilityUrl(methodCall, ApexEligibilityUrl, content)));
    }
public static void GetProviders(String methodCall)
    {
        String content = String.format("username=%s&password=%s", encUserName, encPassword); System.out.println(HttpPost.DoHTTPPost(ApexEligibilityUrl + methodCall, content, errors));
    }
begin
    url := apexEligibilityUrl + '/' + 'GetProviders';
    param := TStringList.create;
    param.Add('username=[username]');
    param.Add('password=[password]');
    WriteLn(PostData(url,param));
end;
POST /secure/apexeligibilityapi.asmx HTTP/1.1
Host: onetouch.apexedi.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetProviders"

<?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>
    <GetProviders xmlns="http://tempuri.org/">
      <username>string</username>
      <password>string</password>
    </GetProviders>
  </soap:Body>
</soap:Envelope>
POST /secure/apexeligibilityapi.asmx HTTP/1.1
Host: onetouch.apexedi.com
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>
    <GetProviders xmlns="http://tempuri.org/">
      <username>string</username>
      <password>string</password>
    </GetProviders>
  </soap12:Body>
</soap12:Envelope>
GET /secure/apexeligibilityapi.asmx/GetProviders?username=string&password=string HTTP/1.1
Host: onetouch.apexedi.com
POST /secure/apexeligibilityapi.asmx/GetProviders HTTP/1.1
Host: onetouch.apexedi.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

username=string&password=string

Sample Response

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>
    <GetProvidersResponse xmlns="http://tempuri.org/">
      <GetProvidersResult>xml</GetProvidersResult>
    </GetProvidersResponse>
  </soap:Body>
</soap: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>
    <GetProvidersResponse xmlns="http://tempuri.org/">
      <GetProvidersResult>xml</GetProvidersResult>
    </GetProvidersResponse>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml