test
/oauthExtensionTestMethod
Usage and SDK Samples
curl -X POST "https://localhost/oauthExtensionTestMethod"
import .*;
import .auth.*;
import .model.*;
import .api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
Scope_details_in scopeDetails = ; // Scope_details_in |
try {
scope_details_out result = apiInstance.test(scopeDetails);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#test");
e.printStackTrace();
}
}
}
import .api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
Scope_details_in scopeDetails = ; // Scope_details_in |
try {
scope_details_out result = apiInstance.test(scopeDetails);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#test");
e.printStackTrace();
}
}
}
Scope_details_in *scopeDetails = ; // (optional)
DefaultApi *apiInstance = [[DefaultApi alloc] init];
[apiInstance testWith:scopeDetails
completionHandler: ^(scope_details_out output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var OAuthAspspEndpoints = require('o_auth___aspsp_endpoints');
var api = new OAuthAspspEndpoints.DefaultApi()
var opts = {
'scopeDetails': // {Scope_details_in}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.test(opts, callback);
using System;
using System.Diagnostics;
using .Api;
using .Client;
using .Model;
namespace Example
{
public class testExample
{
public void main()
{
var apiInstance = new DefaultApi();
var scopeDetails = new Scope_details_in(); // Scope_details_in | (optional)
try
{
scope_details_out result = apiInstance.test(scopeDetails);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DefaultApi.test: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DefaultApi();
$scopeDetails = ; // Scope_details_in |
try {
$result = $api_instance->test($scopeDetails);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->test: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use ::Configuration;
use ::DefaultApi;
my $api_instance = ::DefaultApi->new();
my $scopeDetails = ::Object::Scope_details_in->new(); # Scope_details_in |
eval {
my $result = $api_instance->test(scopeDetails => $scopeDetails);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DefaultApi->test: $@\n";
}
from __future__ import print_statement
import time
import
from .rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = .DefaultApi()
scopeDetails = # Scope_details_in | (optional)
try:
api_response = api_instance.test(scopeDetails=scopeDetails)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->test: %s\n" % e)
Parameters
Body parameters
Name | Description |
---|---|
scopeDetails |