apiPartnerservicesCancelrequestPost
/api/partnerservices/cancelrequest
Usage and SDK Samples
curl -X POST "https://api.apieco.ir/iranzamin-bank/api/partnerservices/cancelrequest"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CancelRequestApi;
import java.io.File;
import java.util.*;
public class CancelRequestApiExample {
public static void main(String[] args) {
CancelRequestApi apiInstance = new CancelRequestApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
Data_2 data = ; // Data_2 |
try {
inline_response_200_2 result = apiInstance.apiPartnerservicesCancelrequestPost(apiecoKey, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CancelRequestApi#apiPartnerservicesCancelrequestPost");
e.printStackTrace();
}
}
}
import io.swagger.client.api.CancelRequestApi;
public class CancelRequestApiExample {
public static void main(String[] args) {
CancelRequestApi apiInstance = new CancelRequestApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
Data_2 data = ; // Data_2 |
try {
inline_response_200_2 result = apiInstance.apiPartnerservicesCancelrequestPost(apiecoKey, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CancelRequestApi#apiPartnerservicesCancelrequestPost");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Data_2 *data = ; // (optional)
CancelRequestApi *apiInstance = [[CancelRequestApi alloc] init];
[apiInstance apiPartnerservicesCancelrequestPostWith:apiecoKey
data:data
completionHandler: ^(inline_response_200_2 output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var _ = require('__');
var api = new _.CancelRequestApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var opts = {
'data': // {Data_2}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.apiPartnerservicesCancelrequestPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class apiPartnerservicesCancelrequestPostExample
{
public void main()
{
var apiInstance = new CancelRequestApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
var data = new Data_2(); // Data_2 | (optional)
try
{
inline_response_200_2 result = apiInstance.apiPartnerservicesCancelrequestPost(apiecoKey, data);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CancelRequestApi.apiPartnerservicesCancelrequestPost: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\CancelRequestApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$data = ; // Data_2 |
try {
$result = $api_instance->apiPartnerservicesCancelrequestPost($apiecoKey, $data);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CancelRequestApi->apiPartnerservicesCancelrequestPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CancelRequestApi;
my $api_instance = WWW::SwaggerClient::CancelRequestApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $data = WWW::SwaggerClient::Object::Data_2->new(); # Data_2 |
eval {
my $result = $api_instance->apiPartnerservicesCancelrequestPost(apiecoKey => $apiecoKey, data => $data);
print Dumper($result);
};
if ($@) {
warn "Exception when calling CancelRequestApi->apiPartnerservicesCancelrequestPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CancelRequestApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
data = # Data_2 | (optional)
try:
api_response = api_instance.api_partnerservices_cancelrequest_post(apiecoKey, data=data)
pprint(api_response)
except ApiException as e:
print("Exception when calling CancelRequestApi->apiPartnerservicesCancelrequestPost: %s\n" % e)
Parameters
Header parameters
Name | Description |
---|---|
apieco-key* |
String
apikey for use API
Required
|
Body parameters
Name | Description |
---|---|
data |