GetApplicationData
Description
The GetApplicationData retrieves the ApplicationData object from the EBizCharge platform.
Syntax
ApplicationData GetApplicationData(string applicationId, string lookupKey, string applicationDataInternalId)
Arguments
| Type | Name | Req. | Description |
|---|---|---|---|
| string | applicationId | R | ID of the application to retrieve the data for. |
| string | lookupKey | R | Key associated with the applicationId. |
| string | applicationDataInternalId | O | Internal ID of the application to retrieve the data for. |
Return Value
| Type | Description |
|---|---|
| ApplicationData | If 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>Updated 5 months ago
