GetApplicationData

Description

This method allows users to view an application’s data and requires the use of the applicationId or applicationDataInternalId.

Syntax

ApplicationData ApplicationData GetApplicationData(string applicationId, string lookupKey, string applicationDataInternalId).

Arguments

TypeNameDescription
StringapplicationIdApplication ID. (required)
StringlookupKeyLook up key. (required)
StringapplicationDataInternalIdUnique internal application ID assigned by EBizCharge. (optional)

Return Value

TypeDescription
ApplicationData ApplicationDataReturns result of ApplicationData request.

Example

public function GetApplicationData()
{
    $client = new SoapClient('End point URL');
    $response = $this->soapClient->GetApplicationData(array(
        'applicationId' => '****-4354-********',
        'lookupKey' => 'dfdfde45********',
        'applicationDataInternalId' => '********-34324-********',
    ));
    $result = $response->GetApplicationDataResult;
}
Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ebiz="http://eBizCharge.ServiceModel.SOAP">
   <soapenv:Header />
   <soapenv:Body>
      <ebiz:GetApplicationData>
         <ebiz:applicationId>*********-4114-ac7b-********</ebiz:applicationId>
         <ebiz:lookupKey>*****563</ebiz:lookupKey>
         <ebiz:applicationDataInternalId>********-4c69-8260-********</ebiz:applicationDataInternalId>
      </ebiz:GetApplicationData>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <GetApplicationDataResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <GetApplicationDataResult>
            <ApplicationId>********-4114-ac7b-********</ApplicationId>
            <LookupKey>****563</LookupKey>
            <Base64ParametersString>OTg3NDU2My1VU0E=</Base64ParametersString>
            <securityToken>
               <SecurityId>********-23f6-4466-a993-********</SecurityId>
               <UserId>axportal</UserId>
               <Password>axportal</Password>
            </securityToken>
            <ApplicationDataInternalId>********-4c69-8260-********</ApplicationDataInternalId>
         </GetApplicationDataResult>
      </GetApplicationDataResponse>
   </s:Body>
</s:Envelope>
public void GetApplicationData()
        {
            eBizService apiClient = new eBizService();
            SecurityToken securityToken = new SecurityToken
            {
                SecurityId = "*******-c870-41b8-aa5c-********",
                UserId = "",
                Password = ""
            };
            var applicationId = "********-c2d7-4c37-80c7-********";
            var lookupKey = "Country";
            var response = apiClient.GetApplicationData(applicationId, lookupKey,"");
            Console.WriteLine(response.ApplicationDataInternalId);
            Console.WriteLine(response.Base64ParametersString);
            Console.ReadLine();
        }