C# Class CoverMyMeds.Claims.Utilities

Basic utility class for sending claims to CoverMyMeds
Exibir arquivo Open project: covermymeds/pharmacy-claim-api-csharp-ref

Public Methods

Method Description
ConstructClaimPostData ( string username, string password, string api_key, string claim, string>.List optional_post_variables ) : byte[]

Function to generate a URL encoded byte array to send over an HTTP Post to the CoverMyMeds Claim API Server

RequestClaim ( string api_endpoint, byte claim_data ) : WebResponse

Function to send URL encoded parameters over an HTTP Post to the CoverMyMeds Claims Service

Method Details

ConstructClaimPostData() public static method

Function to generate a URL encoded byte array to send over an HTTP Post to the CoverMyMeds Claim API Server
public static ConstructClaimPostData ( string username, string password, string api_key, string claim, string>.List optional_post_variables ) : byte[]
username string CoverMyMeds Account
password string Password for CoverMyMedsAccount
api_key string API Key for submitting claims. This is provided upon request from CoverMyMeds
claim string NCPDP Claim D0
optional_post_variables string>.List Optional data that can be submitted with a claim that does not have a defined place in the NCPDP claim
return byte[]

RequestClaim() public static method

Function to send URL encoded parameters over an HTTP Post to the CoverMyMeds Claims Service
public static RequestClaim ( string api_endpoint, byte claim_data ) : WebResponse
api_endpoint string URI for submitting HTTP Posts to CoverMyMeds Claims Service
claim_data byte URL Encoded byte stream containing parameters for claim
return System.Net.WebResponse