GetApplicationData

Description

The GetApplicationData retrieves the ApplicationData object from the EBizCharge platform.

Syntax

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

Arguments

TypeNameReq.Description
stringapplicationIdRID of the application to retrieve the data for.
stringlookupKeyRKey associated with the applicationId.
stringapplicationDataInternalIdOInternal ID of the application to retrieve the data for.

Return Value

TypeDescription
ApplicationDataIf successful, the ApplicationData object will be retrieved. Otherwise, an empty object or a fault will be returned.

Example 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>********a28b-b884*******</ebiz:applicationId>
         <ebiz:lookupKey>******</ebiz:lookupKey>
         <ebiz:applicationDataInternalId/>
      </ebiz:GetApplicationData>
   </soapenv:Body>
</soapenv:Envelope>
public void GetApplicationData()
{
  eBizService apiClient = new eBizService();
  var applicationId = "********-c2d7-4c37-80c7-********";
  var lookupKey = "Country";
  var response = apiClient.GetApplicationData(applicationId, lookupKey,"");
  Console.WriteLine(response.ApplicationDataInternalId);
  Console.WriteLine(response.Base64ParametersString);
  Console.ReadLine();
}
public function GetApplicationData()
{
  $client = new SoapClient('End point URL');
  $response = $this->soapClient->GetApplicationData(array(
    'applicationId' => '****-4354-********',
    'lookupKey' => 'dfdfde45********',
    'applicationDataInternalId' => '********-34324-********',
  ));
  $result = $response->GetApplicationDataResult;
}

Example Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GetApplicationDataResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <GetApplicationDataResult>
            <ApplicationId>********a28b-b884*******</ApplicationId>
            <LookupKey>*******</LookupKey>
            <Base64ParametersString>************</Base64ParametersString>
            <securityToken>
               <SecurityId>************621-b899-33************</SecurityId>
               <UserId>******</UserId>
               <Password>******</Password>
            </securityToken>
            <ApplicationDataInternalId>**********349-bce3-3242893***********</ApplicationDataInternalId>
         </GetApplicationDataResult>
      </GetApplicationDataResponse>
   </s:Body>
</s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GetApplicationDataResponse xmlns="http://eBizCharge.ServiceModel.SOAP">
         <GetApplicationDataResult/>
      </GetApplicationDataResponse>
   </s:Body>
</s:Envelope>