merchantPortalKeyPerformanceIndicators
Get Merchant's Key Performance Indicators
Get Merchant's Key Performance Indicators
/Spenda/Statements/MerchantPortal/KeyPerformanceIndicators
Usage and SDK Samples
curl -X GET \
-H "Accept: application/json" \
"https://api.dev.spenda.co/api/Spenda/Statements/MerchantPortal/KeyPerformanceIndicators"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.MerchantPortalApi;
import java.io.File;
import java.util.*;
public class MerchantPortalApiExample {
public static void main(String[] args) {
// Create an instance of the API class
MerchantPortalApi apiInstance = new MerchantPortalApi();
try {
merchantPortalKPIs result = apiInstance.merchantPortalKeyPerformanceIndicators();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MerchantPortalApi#merchantPortalKeyPerformanceIndicators");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
try {
final result = await api_instance.merchantPortalKeyPerformanceIndicators();
print(result);
} catch (e) {
print('Exception when calling DefaultApi->merchantPortalKeyPerformanceIndicators: $e\n');
}
import org.openapitools.client.api.MerchantPortalApi;
public class MerchantPortalApiExample {
public static void main(String[] args) {
MerchantPortalApi apiInstance = new MerchantPortalApi();
try {
merchantPortalKPIs result = apiInstance.merchantPortalKeyPerformanceIndicators();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MerchantPortalApi#merchantPortalKeyPerformanceIndicators");
e.printStackTrace();
}
}
}
// Create an instance of the API class
MerchantPortalApi *apiInstance = [[MerchantPortalApi alloc] init];
// Get Merchant's Key Performance Indicators
[apiInstance merchantPortalKeyPerformanceIndicatorsWithCompletionHandler:
^(merchantPortalKPIs output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var SpendaServicesStatements = require('spenda_services_statements');
// Create an instance of the API class
var api = new SpendaServicesStatements.MerchantPortalApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.merchantPortalKeyPerformanceIndicators(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class merchantPortalKeyPerformanceIndicatorsExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new MerchantPortalApi();
try {
// Get Merchant's Key Performance Indicators
merchantPortalKPIs result = apiInstance.merchantPortalKeyPerformanceIndicators();
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling MerchantPortalApi.merchantPortalKeyPerformanceIndicators: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\MerchantPortalApi();
try {
$result = $api_instance->merchantPortalKeyPerformanceIndicators();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MerchantPortalApi->merchantPortalKeyPerformanceIndicators: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::MerchantPortalApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::MerchantPortalApi->new();
eval {
my $result = $api_instance->merchantPortalKeyPerformanceIndicators();
print Dumper($result);
};
if ($@) {
warn "Exception when calling MerchantPortalApi->merchantPortalKeyPerformanceIndicators: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = openapi_client.MerchantPortalApi()
try:
# Get Merchant's Key Performance Indicators
api_response = api_instance.merchant_portal_key_performance_indicators()
pprint(api_response)
except ApiException as e:
print("Exception when calling MerchantPortalApi->merchantPortalKeyPerformanceIndicators: %s\n" % e)
extern crate MerchantPortalApi;
pub fn main() {
let mut context = MerchantPortalApi::Context::default();
let result = client.merchantPortalKeyPerformanceIndicators(&context).wait();
println!("{:?}", result);
}