GetApexPayerIDs

Returns an XML string of ApexPayerID's and payer names. A professionID = 1 will pass back the medical the payers and their corresponding Apex Payer IDs. A professionID = 2 will pass back the dental payers and their corresponding Apex Payer IDs.

Resource URL

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

Code Samples

  • C#
  • Java
  • Delphi
  • SOAP 1.1
  • SOAP 1.2
  • GET
  • POST
public static void GetApexPayerIDs(string methodCall)
    {
        string content = String.Format("username={0}&password={1}&clientID={2}&professionID={3}",
        encUserName, encPassword, encClientID, encMedProfessionID);
        Console.WriteLine(DoHttpPost(FormatApexUrl(methodCall, ApexUrl, content)));
    }
public static void GetApexPayerIDs(String methodCall)
    {
        This document contains information confidential and proprietary to Apex EDI, Inc. The information
        contained herein may not be used, disclosed or reproduced without the prior written authorization of
        Apex EDI, Inc.
        String content = String.format("username=%s&password=%s&clientID=%s&professionID=%s",
        encUserName, encPassword, encClientID, encMedProfessionID);
        System.out.println(HttpPost.DoHTTPPost(ApexUrl + methodCall, content, errors));
    }
begin
    url := apexUrl + '/' + 'GetApexPayerIDs';
    param := TStringList.create;
    param.Add('username=[username]');
    param.Add('password=[password]');
    param.Add('clientID=[ClientID]');
    param.Add('professionID=1');
    WriteLn(PostData(url,param));
end;
POST /secure/onetouchapi.asmx HTTP/1.1
Host: onetouch.apexedi.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetApexPayerIDs"

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

username=string&password=string&professionID=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>
    <GetApexPayerIDsResponse xmlns="http://tempuri.org/">
      <GetApexPayerIDsResult>string</GetApexPayerIDsResult>
    </GetApexPayerIDsResponse>
  </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>
    <GetApexPayerIDsResponse xmlns="http://tempuri.org/">
      <GetApexPayerIDsResult>string</GetApexPayerIDsResult>
    </GetApexPayerIDsResponse>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>