GetEligibilityPayers

Returns a list of active eligibility payers, their eligibility payer IDs, and their transmission method (real-time or batch). 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 GetEligibilityPayers(string methodCall)
    {
        string content = String.Format("username={0}&password={1}", encUserName, encPassword);
        Console.WriteLine(DoHttpPost(FormatApexEligibilityUrl(methodCall, ApexEligibilityUrl, content)));
    }
public static void GetEligibilityPayers(String methodCall) 
    {
        String content = String.format("username=%s&password=%s", encUserName, encPassword);
        System.out.println(HttpPost.DoHTTPPost(ApexEligibilityUrl + methodCall, content, errors)); 
    }
begin
    url := apexEligibilityUrl + '/' + 'GetEligibilityPayers';
    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/GetEligibilityPayers"

<?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>
    <GetEligibilityPayers xmlns="http://tempuri.org/">
      <username>string</username>
      <password>string</password>
    </GetEligibilityPayers>
  </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>
    <GetEligibilityPayers xmlns="http://tempuri.org/">
      <username>string</username>
      <password>string</password>
    </GetEligibilityPayers>
  </soap12:Body>
</soap12:Envelope>
GET /secure/apexeligibilityapi.asmx/GetEligibilityPayers?username=string&password=string HTTP/1.1
Host: onetouch.apexedi.com
POST /secure/apexeligibilityapi.asmx/GetEligibilityPayers 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>
    <GetEligibilityPayersResponse xmlns="http://tempuri.org/">
      <GetEligibilityPayersResult>xml</GetEligibilityPayersResult>
    </GetEligibilityPayersResponse>
  </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>
    <GetEligibilityPayersResponse xmlns="http://tempuri.org/">
      <GetEligibilityPayersResult>xml</GetEligibilityPayersResult>
    </GetEligibilityPayersResponse>
  </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