AS Server - API - ConnectedSuppliers

Default

connectedSuppliersDeleteMyPaymentOption

ConnectedSuppliers_DeleteMyPaymentOption


/ConnectedSuppliers/{supplierID}/mypaymentoptions/{supplierPaymentOptionId}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ConnectedSuppliers/{supplierID}/mypaymentoptions/{supplierPaymentOptionId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        Integer supplierPaymentOptionId = 56; // Integer | Format - int32.

        try {
            ActionResults result = apiInstance.connectedSuppliersDeleteMyPaymentOption(supplierID, supplierPaymentOptionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersDeleteMyPaymentOption");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer supplierID = new Integer(); // Integer | Format - int32.
final Integer supplierPaymentOptionId = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.connectedSuppliersDeleteMyPaymentOption(supplierID, supplierPaymentOptionId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->connectedSuppliersDeleteMyPaymentOption: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        Integer supplierPaymentOptionId = 56; // Integer | Format - int32.

        try {
            ActionResults result = apiInstance.connectedSuppliersDeleteMyPaymentOption(supplierID, supplierPaymentOptionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersDeleteMyPaymentOption");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *supplierID = 56; // Format - int32. (default to null)
Integer *supplierPaymentOptionId = 56; // Format - int32. (default to null)

// ConnectedSuppliers_DeleteMyPaymentOption
[apiInstance connectedSuppliersDeleteMyPaymentOptionWith:supplierID
    supplierPaymentOptionId:supplierPaymentOptionId
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConnectedSuppliers = require('as_server_api_connected_suppliers');

// Create an instance of the API class
var api = new AsServerApiConnectedSuppliers.DefaultApi()
var supplierID = 56; // {Integer} Format - int32.
var supplierPaymentOptionId = 56; // {Integer} Format - int32.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectedSuppliersDeleteMyPaymentOption(supplierID, supplierPaymentOptionId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class connectedSuppliersDeleteMyPaymentOptionExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierID = 56;  // Integer | Format - int32. (default to null)
            var supplierPaymentOptionId = 56;  // Integer | Format - int32. (default to null)

            try {
                // ConnectedSuppliers_DeleteMyPaymentOption
                ActionResults result = apiInstance.connectedSuppliersDeleteMyPaymentOption(supplierID, supplierPaymentOptionId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.connectedSuppliersDeleteMyPaymentOption: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierID = 56; // Integer | Format - int32.
$supplierPaymentOptionId = 56; // Integer | Format - int32.

try {
    $result = $api_instance->connectedSuppliersDeleteMyPaymentOption($supplierID, $supplierPaymentOptionId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectedSuppliersDeleteMyPaymentOption: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierID = 56; # Integer | Format - int32.
my $supplierPaymentOptionId = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->connectedSuppliersDeleteMyPaymentOption(supplierID => $supplierID, supplierPaymentOptionId => $supplierPaymentOptionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectedSuppliersDeleteMyPaymentOption: $@\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.DefaultApi()
supplierID = 56 # Integer | Format - int32. (default to null)
supplierPaymentOptionId = 56 # Integer | Format - int32. (default to null)

try:
    # ConnectedSuppliers_DeleteMyPaymentOption
    api_response = api_instance.connected_suppliers_delete_my_payment_option(supplierID, supplierPaymentOptionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectedSuppliersDeleteMyPaymentOption: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierID = 56; // Integer
    let supplierPaymentOptionId = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.connectedSuppliersDeleteMyPaymentOption(supplierID, supplierPaymentOptionId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
supplierID*
Integer (int32)
Format - int32.
Required
supplierPaymentOptionId*
Integer (int32)
Format - int32.
Required

Responses


connectedSuppliersGet

ConnectedSuppliers_Get


/ConnectedSuppliers/

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ConnectedSuppliers/?filter.statuses=&filter.statusStrings=&filter.status=&filter.searchString=filterPeriodsearchString_example&filter.searchNameOnly=true&filter.search=filterPeriodsearch_example&filter.startDate=2013-10-20T19:20:30+01:00&filter.endDate=2013-10-20T19:20:30+01:00&filter.datePeriod=filterPerioddatePeriod_example&filter.isExactMatch=true&filter.isGetBasicInfo=true&filter.includeDeleted=true&filter.includeLogs=true&filter.ignoreID=56&filter.parentID=56&filter.getCountOnly=true&filter.transactionTypeDatTypeID=56&filter.categoryID=56&filter.adaptorID=56&filter.categoryIDs=&filter.brandIDs=&filter.iDs=&filter.gUIDs=&filter.linkedSupplierID=56&filter.isApprovedForPOS=true&filter.isApprovedForWeb=true&filter.isApprovedForService=true&filter.iD=56&filter.isHierarchicalSort=true&filter.types=&filter.isShowFavourites=true&filter.isHidden=true&filter.includeSystemTasks=true&filter.isSystem=true&filter.batchStatus=filterPeriodbatchStatus_example&filter.sortField=filterPeriodsortField_example&filter.sortAsc=true&filter.groupBy=filterPeriodgroupBy_example&filter.lastRowNumber=789&filter.maxResults=56&filter.tenantID=56&filter.websiteID=56&filter.userID=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[Integer] filterPeriodstatuses = ; // array[Integer] | 
        array[String] filterPeriodstatusStrings = ; // array[String] | 
        array[String] filterPeriodstatus = ; // array[String] | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsearchNameOnly = true; // Boolean | 
        String filterPeriodsearch = filterPeriodsearch_example; // String | 
        Date filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        Date filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        String filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
        Boolean filterPeriodisExactMatch = true; // Boolean | 
        Boolean filterPeriodisGetBasicInfo = true; // Boolean | 
        Boolean filterPeriodincludeDeleted = true; // Boolean | 
        Boolean filterPeriodincludeLogs = true; // Boolean | 
        Integer filterPeriodignoreID = 56; // Integer | Format - int32.
        Integer filterPeriodparentID = 56; // Integer | Format - int32.
        Boolean filterPeriodgetCountOnly = true; // Boolean | 
        Integer filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
        Integer filterPeriodcategoryID = 56; // Integer | Format - int32.
        Integer filterPeriodadaptorID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodcategoryIDs = ; // array[Integer] | 
        array[Integer] filterPeriodbrandIDs = ; // array[Integer] | 
        array[Integer] filterPeriodiDs = ; // array[Integer] | 
        array[String] filterPeriodgUIDs = ; // array[String] | 
        Integer filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
        Boolean filterPeriodisApprovedForPOS = true; // Boolean | 
        Boolean filterPeriodisApprovedForWeb = true; // Boolean | 
        Boolean filterPeriodisApprovedForService = true; // Boolean | 
        Integer filterPeriodiD = 56; // Integer | Format - int32.
        Boolean filterPeriodisHierarchicalSort = true; // Boolean | 
        array[String] filterPeriodtypes = ; // array[String] | 
        Boolean filterPeriodisShowFavourites = true; // Boolean | 
        Boolean filterPeriodisHidden = true; // Boolean | 
        Boolean filterPeriodincludeSystemTasks = true; // Boolean | 
        Boolean filterPeriodisSystem = true; // Boolean | 
        String filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        String filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
        Long filterPeriodlastRowNumber = 789; // Long | Format - int64.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.
        Integer filterPeriodtenantID = 56; // Integer | Format - int32.
        Integer filterPeriodwebsiteID = 56; // Integer | Format - int32.
        Integer filterPerioduserID = 56; // Integer | Format - int32.

        try {
            PagedActionResults_ConnectedSuppliers_ result = apiInstance.connectedSuppliersGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[Integer] filterPeriodstatuses = new array[Integer](); // array[Integer] | 
final array[String] filterPeriodstatusStrings = new array[String](); // array[String] | 
final array[String] filterPeriodstatus = new array[String](); // array[String] | 
final String filterPeriodsearchString = new String(); // String | 
final Boolean filterPeriodsearchNameOnly = new Boolean(); // Boolean | 
final String filterPeriodsearch = new String(); // String | 
final Date filterPeriodstartDate = new Date(); // Date | Format - date-time (as date-time in RFC3339).
final Date filterPeriodendDate = new Date(); // Date | Format - date-time (as date-time in RFC3339).
final String filterPerioddatePeriod = new String(); // String | 
final Boolean filterPeriodisExactMatch = new Boolean(); // Boolean | 
final Boolean filterPeriodisGetBasicInfo = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeDeleted = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeLogs = new Boolean(); // Boolean | 
final Integer filterPeriodignoreID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodparentID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodgetCountOnly = new Boolean(); // Boolean | 
final Integer filterPeriodtransactionTypeDatTypeID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodcategoryID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodadaptorID = new Integer(); // Integer | Format - int32.
final array[Integer] filterPeriodcategoryIDs = new array[Integer](); // array[Integer] | 
final array[Integer] filterPeriodbrandIDs = new array[Integer](); // array[Integer] | 
final array[Integer] filterPeriodiDs = new array[Integer](); // array[Integer] | 
final array[String] filterPeriodgUIDs = new array[String](); // array[String] | 
final Integer filterPeriodlinkedSupplierID = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisApprovedForPOS = new Boolean(); // Boolean | 
final Boolean filterPeriodisApprovedForWeb = new Boolean(); // Boolean | 
final Boolean filterPeriodisApprovedForService = new Boolean(); // Boolean | 
final Integer filterPeriodiD = new Integer(); // Integer | Format - int32.
final Boolean filterPeriodisHierarchicalSort = new Boolean(); // Boolean | 
final array[String] filterPeriodtypes = new array[String](); // array[String] | 
final Boolean filterPeriodisShowFavourites = new Boolean(); // Boolean | 
final Boolean filterPeriodisHidden = new Boolean(); // Boolean | 
final Boolean filterPeriodincludeSystemTasks = new Boolean(); // Boolean | 
final Boolean filterPeriodisSystem = new Boolean(); // Boolean | 
final String filterPeriodbatchStatus = new String(); // String | 
final String filterPeriodsortField = new String(); // String | 
final Boolean filterPeriodsortAsc = new Boolean(); // Boolean | 
final String filterPeriodgroupBy = new String(); // String | 
final Long filterPeriodlastRowNumber = new Long(); // Long | Format - int64.
final Integer filterPeriodmaxResults = new Integer(); // Integer | Format - int32.
final Integer filterPeriodtenantID = new Integer(); // Integer | Format - int32.
final Integer filterPeriodwebsiteID = new Integer(); // Integer | Format - int32.
final Integer filterPerioduserID = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.connectedSuppliersGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->connectedSuppliersGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[Integer] filterPeriodstatuses = ; // array[Integer] | 
        array[String] filterPeriodstatusStrings = ; // array[String] | 
        array[String] filterPeriodstatus = ; // array[String] | 
        String filterPeriodsearchString = filterPeriodsearchString_example; // String | 
        Boolean filterPeriodsearchNameOnly = true; // Boolean | 
        String filterPeriodsearch = filterPeriodsearch_example; // String | 
        Date filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        Date filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
        String filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
        Boolean filterPeriodisExactMatch = true; // Boolean | 
        Boolean filterPeriodisGetBasicInfo = true; // Boolean | 
        Boolean filterPeriodincludeDeleted = true; // Boolean | 
        Boolean filterPeriodincludeLogs = true; // Boolean | 
        Integer filterPeriodignoreID = 56; // Integer | Format - int32.
        Integer filterPeriodparentID = 56; // Integer | Format - int32.
        Boolean filterPeriodgetCountOnly = true; // Boolean | 
        Integer filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
        Integer filterPeriodcategoryID = 56; // Integer | Format - int32.
        Integer filterPeriodadaptorID = 56; // Integer | Format - int32.
        array[Integer] filterPeriodcategoryIDs = ; // array[Integer] | 
        array[Integer] filterPeriodbrandIDs = ; // array[Integer] | 
        array[Integer] filterPeriodiDs = ; // array[Integer] | 
        array[String] filterPeriodgUIDs = ; // array[String] | 
        Integer filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
        Boolean filterPeriodisApprovedForPOS = true; // Boolean | 
        Boolean filterPeriodisApprovedForWeb = true; // Boolean | 
        Boolean filterPeriodisApprovedForService = true; // Boolean | 
        Integer filterPeriodiD = 56; // Integer | Format - int32.
        Boolean filterPeriodisHierarchicalSort = true; // Boolean | 
        array[String] filterPeriodtypes = ; // array[String] | 
        Boolean filterPeriodisShowFavourites = true; // Boolean | 
        Boolean filterPeriodisHidden = true; // Boolean | 
        Boolean filterPeriodincludeSystemTasks = true; // Boolean | 
        Boolean filterPeriodisSystem = true; // Boolean | 
        String filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
        String filterPeriodsortField = filterPeriodsortField_example; // String | 
        Boolean filterPeriodsortAsc = true; // Boolean | 
        String filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
        Long filterPeriodlastRowNumber = 789; // Long | Format - int64.
        Integer filterPeriodmaxResults = 56; // Integer | Format - int32.
        Integer filterPeriodtenantID = 56; // Integer | Format - int32.
        Integer filterPeriodwebsiteID = 56; // Integer | Format - int32.
        Integer filterPerioduserID = 56; // Integer | Format - int32.

        try {
            PagedActionResults_ConnectedSuppliers_ result = apiInstance.connectedSuppliersGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[Integer] *filterPeriodstatuses = ; //  (optional) (default to null)
array[String] *filterPeriodstatusStrings = ; //  (optional) (default to null)
array[String] *filterPeriodstatus = ; //  (optional) (default to null)
String *filterPeriodsearchString = filterPeriodsearchString_example; //  (optional) (default to null)
Boolean *filterPeriodsearchNameOnly = true; //  (optional) (default to null)
String *filterPeriodsearch = filterPeriodsearch_example; //  (optional) (default to null)
Date *filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Format - date-time (as date-time in RFC3339). (optional) (default to null)
Date *filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Format - date-time (as date-time in RFC3339). (optional) (default to null)
String *filterPerioddatePeriod = filterPerioddatePeriod_example; //  (optional) (default to null)
Boolean *filterPeriodisExactMatch = true; //  (optional) (default to null)
Boolean *filterPeriodisGetBasicInfo = true; //  (optional) (default to null)
Boolean *filterPeriodincludeDeleted = true; //  (optional) (default to null)
Boolean *filterPeriodincludeLogs = true; //  (optional) (default to null)
Integer *filterPeriodignoreID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodparentID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodgetCountOnly = true; //  (optional) (default to null)
Integer *filterPeriodtransactionTypeDatTypeID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodcategoryID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodadaptorID = 56; // Format - int32. (optional) (default to null)
array[Integer] *filterPeriodcategoryIDs = ; //  (optional) (default to null)
array[Integer] *filterPeriodbrandIDs = ; //  (optional) (default to null)
array[Integer] *filterPeriodiDs = ; //  (optional) (default to null)
array[String] *filterPeriodgUIDs = ; //  (optional) (default to null)
Integer *filterPeriodlinkedSupplierID = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisApprovedForPOS = true; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForWeb = true; //  (optional) (default to null)
Boolean *filterPeriodisApprovedForService = true; //  (optional) (default to null)
Integer *filterPeriodiD = 56; // Format - int32. (optional) (default to null)
Boolean *filterPeriodisHierarchicalSort = true; //  (optional) (default to null)
array[String] *filterPeriodtypes = ; //  (optional) (default to null)
Boolean *filterPeriodisShowFavourites = true; //  (optional) (default to null)
Boolean *filterPeriodisHidden = true; //  (optional) (default to null)
Boolean *filterPeriodincludeSystemTasks = true; //  (optional) (default to null)
Boolean *filterPeriodisSystem = true; //  (optional) (default to null)
String *filterPeriodbatchStatus = filterPeriodbatchStatus_example; //  (optional) (default to null)
String *filterPeriodsortField = filterPeriodsortField_example; //  (optional) (default to null)
Boolean *filterPeriodsortAsc = true; //  (optional) (default to null)
String *filterPeriodgroupBy = filterPeriodgroupBy_example; //  (optional) (default to null)
Long *filterPeriodlastRowNumber = 789; // Format - int64. (optional) (default to null)
Integer *filterPeriodmaxResults = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodtenantID = 56; // Format - int32. (optional) (default to null)
Integer *filterPeriodwebsiteID = 56; // Format - int32. (optional) (default to null)
Integer *filterPerioduserID = 56; // Format - int32. (optional) (default to null)

// ConnectedSuppliers_Get
[apiInstance connectedSuppliersGetWith:filterPeriodstatuses
    filterPeriodstatusStrings:filterPeriodstatusStrings
    filterPeriodstatus:filterPeriodstatus
    filterPeriodsearchString:filterPeriodsearchString
    filterPeriodsearchNameOnly:filterPeriodsearchNameOnly
    filterPeriodsearch:filterPeriodsearch
    filterPeriodstartDate:filterPeriodstartDate
    filterPeriodendDate:filterPeriodendDate
    filterPerioddatePeriod:filterPerioddatePeriod
    filterPeriodisExactMatch:filterPeriodisExactMatch
    filterPeriodisGetBasicInfo:filterPeriodisGetBasicInfo
    filterPeriodincludeDeleted:filterPeriodincludeDeleted
    filterPeriodincludeLogs:filterPeriodincludeLogs
    filterPeriodignoreID:filterPeriodignoreID
    filterPeriodparentID:filterPeriodparentID
    filterPeriodgetCountOnly:filterPeriodgetCountOnly
    filterPeriodtransactionTypeDatTypeID:filterPeriodtransactionTypeDatTypeID
    filterPeriodcategoryID:filterPeriodcategoryID
    filterPeriodadaptorID:filterPeriodadaptorID
    filterPeriodcategoryIDs:filterPeriodcategoryIDs
    filterPeriodbrandIDs:filterPeriodbrandIDs
    filterPeriodiDs:filterPeriodiDs
    filterPeriodgUIDs:filterPeriodgUIDs
    filterPeriodlinkedSupplierID:filterPeriodlinkedSupplierID
    filterPeriodisApprovedForPOS:filterPeriodisApprovedForPOS
    filterPeriodisApprovedForWeb:filterPeriodisApprovedForWeb
    filterPeriodisApprovedForService:filterPeriodisApprovedForService
    filterPeriodiD:filterPeriodiD
    filterPeriodisHierarchicalSort:filterPeriodisHierarchicalSort
    filterPeriodtypes:filterPeriodtypes
    filterPeriodisShowFavourites:filterPeriodisShowFavourites
    filterPeriodisHidden:filterPeriodisHidden
    filterPeriodincludeSystemTasks:filterPeriodincludeSystemTasks
    filterPeriodisSystem:filterPeriodisSystem
    filterPeriodbatchStatus:filterPeriodbatchStatus
    filterPeriodsortField:filterPeriodsortField
    filterPeriodsortAsc:filterPeriodsortAsc
    filterPeriodgroupBy:filterPeriodgroupBy
    filterPeriodlastRowNumber:filterPeriodlastRowNumber
    filterPeriodmaxResults:filterPeriodmaxResults
    filterPeriodtenantID:filterPeriodtenantID
    filterPeriodwebsiteID:filterPeriodwebsiteID
    filterPerioduserID:filterPerioduserID
              completionHandler: ^(PagedActionResults_ConnectedSuppliers_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConnectedSuppliers = require('as_server_api_connected_suppliers');

// Create an instance of the API class
var api = new AsServerApiConnectedSuppliers.DefaultApi()
var opts = {
  'filterPeriodstatuses': , // {array[Integer]} 
  'filterPeriodstatusStrings': , // {array[String]} 
  'filterPeriodstatus': , // {array[String]} 
  'filterPeriodsearchString': filterPeriodsearchString_example, // {String} 
  'filterPeriodsearchNameOnly': true, // {Boolean} 
  'filterPeriodsearch': filterPeriodsearch_example, // {String} 
  'filterPeriodstartDate': 2013-10-20T19:20:30+01:00, // {Date} Format - date-time (as date-time in RFC3339).
  'filterPeriodendDate': 2013-10-20T19:20:30+01:00, // {Date} Format - date-time (as date-time in RFC3339).
  'filterPerioddatePeriod': filterPerioddatePeriod_example, // {String} 
  'filterPeriodisExactMatch': true, // {Boolean} 
  'filterPeriodisGetBasicInfo': true, // {Boolean} 
  'filterPeriodincludeDeleted': true, // {Boolean} 
  'filterPeriodincludeLogs': true, // {Boolean} 
  'filterPeriodignoreID': 56, // {Integer} Format - int32.
  'filterPeriodparentID': 56, // {Integer} Format - int32.
  'filterPeriodgetCountOnly': true, // {Boolean} 
  'filterPeriodtransactionTypeDatTypeID': 56, // {Integer} Format - int32.
  'filterPeriodcategoryID': 56, // {Integer} Format - int32.
  'filterPeriodadaptorID': 56, // {Integer} Format - int32.
  'filterPeriodcategoryIDs': , // {array[Integer]} 
  'filterPeriodbrandIDs': , // {array[Integer]} 
  'filterPeriodiDs': , // {array[Integer]} 
  'filterPeriodgUIDs': , // {array[String]} 
  'filterPeriodlinkedSupplierID': 56, // {Integer} Format - int32.
  'filterPeriodisApprovedForPOS': true, // {Boolean} 
  'filterPeriodisApprovedForWeb': true, // {Boolean} 
  'filterPeriodisApprovedForService': true, // {Boolean} 
  'filterPeriodiD': 56, // {Integer} Format - int32.
  'filterPeriodisHierarchicalSort': true, // {Boolean} 
  'filterPeriodtypes': , // {array[String]} 
  'filterPeriodisShowFavourites': true, // {Boolean} 
  'filterPeriodisHidden': true, // {Boolean} 
  'filterPeriodincludeSystemTasks': true, // {Boolean} 
  'filterPeriodisSystem': true, // {Boolean} 
  'filterPeriodbatchStatus': filterPeriodbatchStatus_example, // {String} 
  'filterPeriodsortField': filterPeriodsortField_example, // {String} 
  'filterPeriodsortAsc': true, // {Boolean} 
  'filterPeriodgroupBy': filterPeriodgroupBy_example, // {String} 
  'filterPeriodlastRowNumber': 789, // {Long} Format - int64.
  'filterPeriodmaxResults': 56, // {Integer} Format - int32.
  'filterPeriodtenantID': 56, // {Integer} Format - int32.
  'filterPeriodwebsiteID': 56, // {Integer} Format - int32.
  'filterPerioduserID': 56 // {Integer} Format - int32.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectedSuppliersGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class connectedSuppliersGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var filterPeriodstatuses = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodstatusStrings = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodstatus = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodsearchString = filterPeriodsearchString_example;  // String |  (optional)  (default to null)
            var filterPeriodsearchNameOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodsearch = filterPeriodsearch_example;  // String |  (optional)  (default to null)
            var filterPeriodstartDate = 2013-10-20T19:20:30+01:00;  // Date | Format - date-time (as date-time in RFC3339). (optional)  (default to null)
            var filterPeriodendDate = 2013-10-20T19:20:30+01:00;  // Date | Format - date-time (as date-time in RFC3339). (optional)  (default to null)
            var filterPerioddatePeriod = filterPerioddatePeriod_example;  // String |  (optional)  (default to null)
            var filterPeriodisExactMatch = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisGetBasicInfo = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeDeleted = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeLogs = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodignoreID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodparentID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodgetCountOnly = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodtransactionTypeDatTypeID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodcategoryID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodadaptorID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodcategoryIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodbrandIDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodiDs = new array[Integer](); // array[Integer] |  (optional)  (default to null)
            var filterPeriodgUIDs = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodlinkedSupplierID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisApprovedForPOS = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisApprovedForWeb = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisApprovedForService = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodiD = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodisHierarchicalSort = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodtypes = new array[String](); // array[String] |  (optional)  (default to null)
            var filterPeriodisShowFavourites = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisHidden = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodincludeSystemTasks = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodisSystem = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodbatchStatus = filterPeriodbatchStatus_example;  // String |  (optional)  (default to null)
            var filterPeriodsortField = filterPeriodsortField_example;  // String |  (optional)  (default to null)
            var filterPeriodsortAsc = true;  // Boolean |  (optional)  (default to null)
            var filterPeriodgroupBy = filterPeriodgroupBy_example;  // String |  (optional)  (default to null)
            var filterPeriodlastRowNumber = 789;  // Long | Format - int64. (optional)  (default to null)
            var filterPeriodmaxResults = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodtenantID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPeriodwebsiteID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var filterPerioduserID = 56;  // Integer | Format - int32. (optional)  (default to null)

            try {
                // ConnectedSuppliers_Get
                PagedActionResults_ConnectedSuppliers_ result = apiInstance.connectedSuppliersGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.connectedSuppliersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$filterPeriodstatuses = ; // array[Integer] | 
$filterPeriodstatusStrings = ; // array[String] | 
$filterPeriodstatus = ; // array[String] | 
$filterPeriodsearchString = filterPeriodsearchString_example; // String | 
$filterPeriodsearchNameOnly = true; // Boolean | 
$filterPeriodsearch = filterPeriodsearch_example; // String | 
$filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
$filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
$filterPerioddatePeriod = filterPerioddatePeriod_example; // String | 
$filterPeriodisExactMatch = true; // Boolean | 
$filterPeriodisGetBasicInfo = true; // Boolean | 
$filterPeriodincludeDeleted = true; // Boolean | 
$filterPeriodincludeLogs = true; // Boolean | 
$filterPeriodignoreID = 56; // Integer | Format - int32.
$filterPeriodparentID = 56; // Integer | Format - int32.
$filterPeriodgetCountOnly = true; // Boolean | 
$filterPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
$filterPeriodcategoryID = 56; // Integer | Format - int32.
$filterPeriodadaptorID = 56; // Integer | Format - int32.
$filterPeriodcategoryIDs = ; // array[Integer] | 
$filterPeriodbrandIDs = ; // array[Integer] | 
$filterPeriodiDs = ; // array[Integer] | 
$filterPeriodgUIDs = ; // array[String] | 
$filterPeriodlinkedSupplierID = 56; // Integer | Format - int32.
$filterPeriodisApprovedForPOS = true; // Boolean | 
$filterPeriodisApprovedForWeb = true; // Boolean | 
$filterPeriodisApprovedForService = true; // Boolean | 
$filterPeriodiD = 56; // Integer | Format - int32.
$filterPeriodisHierarchicalSort = true; // Boolean | 
$filterPeriodtypes = ; // array[String] | 
$filterPeriodisShowFavourites = true; // Boolean | 
$filterPeriodisHidden = true; // Boolean | 
$filterPeriodincludeSystemTasks = true; // Boolean | 
$filterPeriodisSystem = true; // Boolean | 
$filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String | 
$filterPeriodsortField = filterPeriodsortField_example; // String | 
$filterPeriodsortAsc = true; // Boolean | 
$filterPeriodgroupBy = filterPeriodgroupBy_example; // String | 
$filterPeriodlastRowNumber = 789; // Long | Format - int64.
$filterPeriodmaxResults = 56; // Integer | Format - int32.
$filterPeriodtenantID = 56; // Integer | Format - int32.
$filterPeriodwebsiteID = 56; // Integer | Format - int32.
$filterPerioduserID = 56; // Integer | Format - int32.

try {
    $result = $api_instance->connectedSuppliersGet($filterPeriodstatuses, $filterPeriodstatusStrings, $filterPeriodstatus, $filterPeriodsearchString, $filterPeriodsearchNameOnly, $filterPeriodsearch, $filterPeriodstartDate, $filterPeriodendDate, $filterPerioddatePeriod, $filterPeriodisExactMatch, $filterPeriodisGetBasicInfo, $filterPeriodincludeDeleted, $filterPeriodincludeLogs, $filterPeriodignoreID, $filterPeriodparentID, $filterPeriodgetCountOnly, $filterPeriodtransactionTypeDatTypeID, $filterPeriodcategoryID, $filterPeriodadaptorID, $filterPeriodcategoryIDs, $filterPeriodbrandIDs, $filterPeriodiDs, $filterPeriodgUIDs, $filterPeriodlinkedSupplierID, $filterPeriodisApprovedForPOS, $filterPeriodisApprovedForWeb, $filterPeriodisApprovedForService, $filterPeriodiD, $filterPeriodisHierarchicalSort, $filterPeriodtypes, $filterPeriodisShowFavourites, $filterPeriodisHidden, $filterPeriodincludeSystemTasks, $filterPeriodisSystem, $filterPeriodbatchStatus, $filterPeriodsortField, $filterPeriodsortAsc, $filterPeriodgroupBy, $filterPeriodlastRowNumber, $filterPeriodmaxResults, $filterPeriodtenantID, $filterPeriodwebsiteID, $filterPerioduserID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectedSuppliersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $filterPeriodstatuses = []; # array[Integer] | 
my $filterPeriodstatusStrings = []; # array[String] | 
my $filterPeriodstatus = []; # array[String] | 
my $filterPeriodsearchString = filterPeriodsearchString_example; # String | 
my $filterPeriodsearchNameOnly = true; # Boolean | 
my $filterPeriodsearch = filterPeriodsearch_example; # String | 
my $filterPeriodstartDate = 2013-10-20T19:20:30+01:00; # Date | Format - date-time (as date-time in RFC3339).
my $filterPeriodendDate = 2013-10-20T19:20:30+01:00; # Date | Format - date-time (as date-time in RFC3339).
my $filterPerioddatePeriod = filterPerioddatePeriod_example; # String | 
my $filterPeriodisExactMatch = true; # Boolean | 
my $filterPeriodisGetBasicInfo = true; # Boolean | 
my $filterPeriodincludeDeleted = true; # Boolean | 
my $filterPeriodincludeLogs = true; # Boolean | 
my $filterPeriodignoreID = 56; # Integer | Format - int32.
my $filterPeriodparentID = 56; # Integer | Format - int32.
my $filterPeriodgetCountOnly = true; # Boolean | 
my $filterPeriodtransactionTypeDatTypeID = 56; # Integer | Format - int32.
my $filterPeriodcategoryID = 56; # Integer | Format - int32.
my $filterPeriodadaptorID = 56; # Integer | Format - int32.
my $filterPeriodcategoryIDs = []; # array[Integer] | 
my $filterPeriodbrandIDs = []; # array[Integer] | 
my $filterPeriodiDs = []; # array[Integer] | 
my $filterPeriodgUIDs = []; # array[String] | 
my $filterPeriodlinkedSupplierID = 56; # Integer | Format - int32.
my $filterPeriodisApprovedForPOS = true; # Boolean | 
my $filterPeriodisApprovedForWeb = true; # Boolean | 
my $filterPeriodisApprovedForService = true; # Boolean | 
my $filterPeriodiD = 56; # Integer | Format - int32.
my $filterPeriodisHierarchicalSort = true; # Boolean | 
my $filterPeriodtypes = []; # array[String] | 
my $filterPeriodisShowFavourites = true; # Boolean | 
my $filterPeriodisHidden = true; # Boolean | 
my $filterPeriodincludeSystemTasks = true; # Boolean | 
my $filterPeriodisSystem = true; # Boolean | 
my $filterPeriodbatchStatus = filterPeriodbatchStatus_example; # String | 
my $filterPeriodsortField = filterPeriodsortField_example; # String | 
my $filterPeriodsortAsc = true; # Boolean | 
my $filterPeriodgroupBy = filterPeriodgroupBy_example; # String | 
my $filterPeriodlastRowNumber = 789; # Long | Format - int64.
my $filterPeriodmaxResults = 56; # Integer | Format - int32.
my $filterPeriodtenantID = 56; # Integer | Format - int32.
my $filterPeriodwebsiteID = 56; # Integer | Format - int32.
my $filterPerioduserID = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->connectedSuppliersGet(filterPeriodstatuses => $filterPeriodstatuses, filterPeriodstatusStrings => $filterPeriodstatusStrings, filterPeriodstatus => $filterPeriodstatus, filterPeriodsearchString => $filterPeriodsearchString, filterPeriodsearchNameOnly => $filterPeriodsearchNameOnly, filterPeriodsearch => $filterPeriodsearch, filterPeriodstartDate => $filterPeriodstartDate, filterPeriodendDate => $filterPeriodendDate, filterPerioddatePeriod => $filterPerioddatePeriod, filterPeriodisExactMatch => $filterPeriodisExactMatch, filterPeriodisGetBasicInfo => $filterPeriodisGetBasicInfo, filterPeriodincludeDeleted => $filterPeriodincludeDeleted, filterPeriodincludeLogs => $filterPeriodincludeLogs, filterPeriodignoreID => $filterPeriodignoreID, filterPeriodparentID => $filterPeriodparentID, filterPeriodgetCountOnly => $filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID => $filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID => $filterPeriodcategoryID, filterPeriodadaptorID => $filterPeriodadaptorID, filterPeriodcategoryIDs => $filterPeriodcategoryIDs, filterPeriodbrandIDs => $filterPeriodbrandIDs, filterPeriodiDs => $filterPeriodiDs, filterPeriodgUIDs => $filterPeriodgUIDs, filterPeriodlinkedSupplierID => $filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS => $filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb => $filterPeriodisApprovedForWeb, filterPeriodisApprovedForService => $filterPeriodisApprovedForService, filterPeriodiD => $filterPeriodiD, filterPeriodisHierarchicalSort => $filterPeriodisHierarchicalSort, filterPeriodtypes => $filterPeriodtypes, filterPeriodisShowFavourites => $filterPeriodisShowFavourites, filterPeriodisHidden => $filterPeriodisHidden, filterPeriodincludeSystemTasks => $filterPeriodincludeSystemTasks, filterPeriodisSystem => $filterPeriodisSystem, filterPeriodbatchStatus => $filterPeriodbatchStatus, filterPeriodsortField => $filterPeriodsortField, filterPeriodsortAsc => $filterPeriodsortAsc, filterPeriodgroupBy => $filterPeriodgroupBy, filterPeriodlastRowNumber => $filterPeriodlastRowNumber, filterPeriodmaxResults => $filterPeriodmaxResults, filterPeriodtenantID => $filterPeriodtenantID, filterPeriodwebsiteID => $filterPeriodwebsiteID, filterPerioduserID => $filterPerioduserID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectedSuppliersGet: $@\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.DefaultApi()
filterPeriodstatuses =  # array[Integer] |  (optional) (default to null)
filterPeriodstatusStrings =  # array[String] |  (optional) (default to null)
filterPeriodstatus =  # array[String] |  (optional) (default to null)
filterPeriodsearchString = filterPeriodsearchString_example # String |  (optional) (default to null)
filterPeriodsearchNameOnly = true # Boolean |  (optional) (default to null)
filterPeriodsearch = filterPeriodsearch_example # String |  (optional) (default to null)
filterPeriodstartDate = 2013-10-20T19:20:30+01:00 # Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
filterPeriodendDate = 2013-10-20T19:20:30+01:00 # Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
filterPerioddatePeriod = filterPerioddatePeriod_example # String |  (optional) (default to null)
filterPeriodisExactMatch = true # Boolean |  (optional) (default to null)
filterPeriodisGetBasicInfo = true # Boolean |  (optional) (default to null)
filterPeriodincludeDeleted = true # Boolean |  (optional) (default to null)
filterPeriodincludeLogs = true # Boolean |  (optional) (default to null)
filterPeriodignoreID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodparentID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodgetCountOnly = true # Boolean |  (optional) (default to null)
filterPeriodtransactionTypeDatTypeID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodcategoryID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodadaptorID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodcategoryIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodbrandIDs =  # array[Integer] |  (optional) (default to null)
filterPeriodiDs =  # array[Integer] |  (optional) (default to null)
filterPeriodgUIDs =  # array[String] |  (optional) (default to null)
filterPeriodlinkedSupplierID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisApprovedForPOS = true # Boolean |  (optional) (default to null)
filterPeriodisApprovedForWeb = true # Boolean |  (optional) (default to null)
filterPeriodisApprovedForService = true # Boolean |  (optional) (default to null)
filterPeriodiD = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodisHierarchicalSort = true # Boolean |  (optional) (default to null)
filterPeriodtypes =  # array[String] |  (optional) (default to null)
filterPeriodisShowFavourites = true # Boolean |  (optional) (default to null)
filterPeriodisHidden = true # Boolean |  (optional) (default to null)
filterPeriodincludeSystemTasks = true # Boolean |  (optional) (default to null)
filterPeriodisSystem = true # Boolean |  (optional) (default to null)
filterPeriodbatchStatus = filterPeriodbatchStatus_example # String |  (optional) (default to null)
filterPeriodsortField = filterPeriodsortField_example # String |  (optional) (default to null)
filterPeriodsortAsc = true # Boolean |  (optional) (default to null)
filterPeriodgroupBy = filterPeriodgroupBy_example # String |  (optional) (default to null)
filterPeriodlastRowNumber = 789 # Long | Format - int64. (optional) (default to null)
filterPeriodmaxResults = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodtenantID = 56 # Integer | Format - int32. (optional) (default to null)
filterPeriodwebsiteID = 56 # Integer | Format - int32. (optional) (default to null)
filterPerioduserID = 56 # Integer | Format - int32. (optional) (default to null)

try:
    # ConnectedSuppliers_Get
    api_response = api_instance.connected_suppliers_get(filterPeriodstatuses=filterPeriodstatuses, filterPeriodstatusStrings=filterPeriodstatusStrings, filterPeriodstatus=filterPeriodstatus, filterPeriodsearchString=filterPeriodsearchString, filterPeriodsearchNameOnly=filterPeriodsearchNameOnly, filterPeriodsearch=filterPeriodsearch, filterPeriodstartDate=filterPeriodstartDate, filterPeriodendDate=filterPeriodendDate, filterPerioddatePeriod=filterPerioddatePeriod, filterPeriodisExactMatch=filterPeriodisExactMatch, filterPeriodisGetBasicInfo=filterPeriodisGetBasicInfo, filterPeriodincludeDeleted=filterPeriodincludeDeleted, filterPeriodincludeLogs=filterPeriodincludeLogs, filterPeriodignoreID=filterPeriodignoreID, filterPeriodparentID=filterPeriodparentID, filterPeriodgetCountOnly=filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID=filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID=filterPeriodcategoryID, filterPeriodadaptorID=filterPeriodadaptorID, filterPeriodcategoryIDs=filterPeriodcategoryIDs, filterPeriodbrandIDs=filterPeriodbrandIDs, filterPeriodiDs=filterPeriodiDs, filterPeriodgUIDs=filterPeriodgUIDs, filterPeriodlinkedSupplierID=filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS=filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb=filterPeriodisApprovedForWeb, filterPeriodisApprovedForService=filterPeriodisApprovedForService, filterPeriodiD=filterPeriodiD, filterPeriodisHierarchicalSort=filterPeriodisHierarchicalSort, filterPeriodtypes=filterPeriodtypes, filterPeriodisShowFavourites=filterPeriodisShowFavourites, filterPeriodisHidden=filterPeriodisHidden, filterPeriodincludeSystemTasks=filterPeriodincludeSystemTasks, filterPeriodisSystem=filterPeriodisSystem, filterPeriodbatchStatus=filterPeriodbatchStatus, filterPeriodsortField=filterPeriodsortField, filterPeriodsortAsc=filterPeriodsortAsc, filterPeriodgroupBy=filterPeriodgroupBy, filterPeriodlastRowNumber=filterPeriodlastRowNumber, filterPeriodmaxResults=filterPeriodmaxResults, filterPeriodtenantID=filterPeriodtenantID, filterPeriodwebsiteID=filterPeriodwebsiteID, filterPerioduserID=filterPerioduserID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectedSuppliersGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let filterPeriodstatuses = ; // array[Integer]
    let filterPeriodstatusStrings = ; // array[String]
    let filterPeriodstatus = ; // array[String]
    let filterPeriodsearchString = filterPeriodsearchString_example; // String
    let filterPeriodsearchNameOnly = true; // Boolean
    let filterPeriodsearch = filterPeriodsearch_example; // String
    let filterPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date
    let filterPeriodendDate = 2013-10-20T19:20:30+01:00; // Date
    let filterPerioddatePeriod = filterPerioddatePeriod_example; // String
    let filterPeriodisExactMatch = true; // Boolean
    let filterPeriodisGetBasicInfo = true; // Boolean
    let filterPeriodincludeDeleted = true; // Boolean
    let filterPeriodincludeLogs = true; // Boolean
    let filterPeriodignoreID = 56; // Integer
    let filterPeriodparentID = 56; // Integer
    let filterPeriodgetCountOnly = true; // Boolean
    let filterPeriodtransactionTypeDatTypeID = 56; // Integer
    let filterPeriodcategoryID = 56; // Integer
    let filterPeriodadaptorID = 56; // Integer
    let filterPeriodcategoryIDs = ; // array[Integer]
    let filterPeriodbrandIDs = ; // array[Integer]
    let filterPeriodiDs = ; // array[Integer]
    let filterPeriodgUIDs = ; // array[String]
    let filterPeriodlinkedSupplierID = 56; // Integer
    let filterPeriodisApprovedForPOS = true; // Boolean
    let filterPeriodisApprovedForWeb = true; // Boolean
    let filterPeriodisApprovedForService = true; // Boolean
    let filterPeriodiD = 56; // Integer
    let filterPeriodisHierarchicalSort = true; // Boolean
    let filterPeriodtypes = ; // array[String]
    let filterPeriodisShowFavourites = true; // Boolean
    let filterPeriodisHidden = true; // Boolean
    let filterPeriodincludeSystemTasks = true; // Boolean
    let filterPeriodisSystem = true; // Boolean
    let filterPeriodbatchStatus = filterPeriodbatchStatus_example; // String
    let filterPeriodsortField = filterPeriodsortField_example; // String
    let filterPeriodsortAsc = true; // Boolean
    let filterPeriodgroupBy = filterPeriodgroupBy_example; // String
    let filterPeriodlastRowNumber = 789; // Long
    let filterPeriodmaxResults = 56; // Integer
    let filterPeriodtenantID = 56; // Integer
    let filterPeriodwebsiteID = 56; // Integer
    let filterPerioduserID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.connectedSuppliersGet(filterPeriodstatuses, filterPeriodstatusStrings, filterPeriodstatus, filterPeriodsearchString, filterPeriodsearchNameOnly, filterPeriodsearch, filterPeriodstartDate, filterPeriodendDate, filterPerioddatePeriod, filterPeriodisExactMatch, filterPeriodisGetBasicInfo, filterPeriodincludeDeleted, filterPeriodincludeLogs, filterPeriodignoreID, filterPeriodparentID, filterPeriodgetCountOnly, filterPeriodtransactionTypeDatTypeID, filterPeriodcategoryID, filterPeriodadaptorID, filterPeriodcategoryIDs, filterPeriodbrandIDs, filterPeriodiDs, filterPeriodgUIDs, filterPeriodlinkedSupplierID, filterPeriodisApprovedForPOS, filterPeriodisApprovedForWeb, filterPeriodisApprovedForService, filterPeriodiD, filterPeriodisHierarchicalSort, filterPeriodtypes, filterPeriodisShowFavourites, filterPeriodisHidden, filterPeriodincludeSystemTasks, filterPeriodisSystem, filterPeriodbatchStatus, filterPeriodsortField, filterPeriodsortAsc, filterPeriodgroupBy, filterPeriodlastRowNumber, filterPeriodmaxResults, filterPeriodtenantID, filterPeriodwebsiteID, filterPerioduserID, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
filter.statuses
array[Integer] (int32)
filter.statusStrings
array[String]
filter.status
array[String]
filter.searchString
String
filter.searchNameOnly
Boolean
filter.search
String
filter.startDate
Date (date-time)
Format - date-time (as date-time in RFC3339).
filter.endDate
Date (date-time)
Format - date-time (as date-time in RFC3339).
filter.datePeriod
String
filter.isExactMatch
Boolean
filter.isGetBasicInfo
Boolean
filter.includeDeleted
Boolean
filter.includeLogs
Boolean
filter.ignoreID
Integer (int32)
Format - int32.
filter.parentID
Integer (int32)
Format - int32.
filter.getCountOnly
Boolean
filter.transactionTypeDatTypeID
Integer (int32)
Format - int32.
filter.categoryID
Integer (int32)
Format - int32.
filter.adaptorID
Integer (int32)
Format - int32.
filter.categoryIDs
array[Integer] (int32)
filter.brandIDs
array[Integer] (int32)
filter.iDs
array[Integer] (int32)
filter.gUIDs
array[String]
filter.linkedSupplierID
Integer (int32)
Format - int32.
filter.isApprovedForPOS
Boolean
filter.isApprovedForWeb
Boolean
filter.isApprovedForService
Boolean
filter.iD
Integer (int32)
Format - int32.
filter.isHierarchicalSort
Boolean
filter.types
array[String]
filter.isShowFavourites
Boolean
filter.isHidden
Boolean
filter.includeSystemTasks
Boolean
filter.isSystem
Boolean
filter.batchStatus
String
filter.sortField
String
filter.sortAsc
Boolean
filter.groupBy
String
filter.lastRowNumber
Long (int64)
Format - int64.
filter.maxResults
Integer (int32)
Format - int32.
filter.tenantID
Integer (int32)
Format - int32.
filter.websiteID
Integer (int32)
Format - int32.
filter.userID
Integer (int32)
Format - int32.

Responses


connectedSuppliersGetByID

ConnectedSuppliers_GetByID


/ConnectedSuppliers/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ConnectedSuppliers/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

        try {
            ConnectedSupplier result = apiInstance.connectedSuppliersGetByID(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersGetByID");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.connectedSuppliersGetByID(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->connectedSuppliersGetByID: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

        try {
            ConnectedSupplier result = apiInstance.connectedSuppliersGetByID(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersGetByID");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)

// ConnectedSuppliers_GetByID
[apiInstance connectedSuppliersGetByIDWith:id
              completionHandler: ^(ConnectedSupplier output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConnectedSuppliers = require('as_server_api_connected_suppliers');

// Create an instance of the API class
var api = new AsServerApiConnectedSuppliers.DefaultApi()
var id = 56; // {Integer} Format - int32.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectedSuppliersGetByID(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class connectedSuppliersGetByIDExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)

            try {
                // ConnectedSuppliers_GetByID
                ConnectedSupplier result = apiInstance.connectedSuppliersGetByID(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.connectedSuppliersGetByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.

try {
    $result = $api_instance->connectedSuppliersGetByID($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectedSuppliersGetByID: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->connectedSuppliersGetByID(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectedSuppliersGetByID: $@\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.DefaultApi()
id = 56 # Integer | Format - int32. (default to null)

try:
    # ConnectedSuppliers_GetByID
    api_response = api_instance.connected_suppliers_get_by_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectedSuppliersGetByID: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.connectedSuppliersGetByID(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required

Responses


connectedSuppliersGetMerchantSurcharge

ConnectedSuppliers_GetMerchantSurcharge


/ConnectedSuppliers/{supplierID}/merchantsurcharge/{paymentMethod}

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ConnectedSuppliers/{supplierID}/merchantsurcharge/{paymentMethod}" \
 -d '{
  "AppliedAmountString" : "AppliedAmountString",
  "AmountString" : "AmountString",
  "ClaimDescription" : "ClaimDescription",
  "TransType" : "TransType",
  "GUIDstring" : "GUIDstring",
  "MerchantSurcharge" : 1.0246457001441578,
  "ID" : 3,
  "AppliedCredit" : 7.457744773683766,
  "Status" : "Status",
  "AppliedDate" : "2000-01-23T04:56:07.000+00:00",
  "Amount" : 2.027123023002322,
  "RefNumber" : "RefNumber",
  "GUID" : "00000000-0000-0000-0000-000000000000",
  "AppliedAmount" : 7.386281948385884,
  "TotalInc" : 9.301444243932576,
  "AppliedTransID" : 6,
  "ClaimRequestID" : 1,
  "AppliedDateString" : "AppliedDateString",
  "TransSubType" : "TransSubType",
  "TransTypeID" : 4,
  "BSID" : "BSID",
  "Summary" : "Summary",
  "MerchantSurchargeLineID" : 1,
  "Balance" : 1.2315135367772556,
  "IsEarlyClaimShortPayment" : true
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<null>
  <AmountString>aeiou</AmountString>
  <AppliedAmountString>aeiou</AppliedAmountString>
  <AppliedDateString>aeiou</AppliedDateString>
  <Summary>aeiou</Summary>
  <GUID>00000000-0000-0000-0000-000000000000</GUID>
  <Status>aeiou</Status>
  <TotalInc>3.149</TotalInc>
  <ID>123</ID>
  <GUIDstring>aeiou</GUIDstring>
  <BSID>aeiou</BSID>
  <Amount>3.149</Amount>
  <TransTypeID>123</TransTypeID>
  <TransType>aeiou</TransType>
  <RefNumber>aeiou</RefNumber>
  <AppliedDate>2000-01-23T04:56:07.000Z</AppliedDate>
  <AppliedAmount>3.149</AppliedAmount>
  <Balance>3.149</Balance>
  <MerchantSurcharge>3.149</MerchantSurcharge>
  <MerchantSurchargeLineID>123</MerchantSurchargeLineID>
  <TransSubType>aeiou</TransSubType>
  <AppliedTransID>123</AppliedTransID>
  <AppliedCredit>3.149</AppliedCredit>
  <ClaimRequestID>123</ClaimRequestID>
  <ClaimDescription>aeiou</ClaimDescription>
  <IsEarlyClaimShortPayment>true</IsEarlyClaimShortPayment>
</null>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        String paymentMethod = paymentMethod_example; // String | 
        array[RefBusTranT] refBusTranT = [{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}]; // array[RefBusTranT] | 

        try {
            ActionResults_MerchantSurcharge_ result = apiInstance.connectedSuppliersGetMerchantSurcharge(supplierID, paymentMethod, refBusTranT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersGetMerchantSurcharge");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer supplierID = new Integer(); // Integer | Format - int32.
final String paymentMethod = new String(); // String | 
final array[RefBusTranT] refBusTranT = new array[RefBusTranT](); // array[RefBusTranT] | 

try {
    final result = await api_instance.connectedSuppliersGetMerchantSurcharge(supplierID, paymentMethod, refBusTranT);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->connectedSuppliersGetMerchantSurcharge: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        String paymentMethod = paymentMethod_example; // String | 
        array[RefBusTranT] refBusTranT = [{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}]; // array[RefBusTranT] | 

        try {
            ActionResults_MerchantSurcharge_ result = apiInstance.connectedSuppliersGetMerchantSurcharge(supplierID, paymentMethod, refBusTranT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersGetMerchantSurcharge");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *supplierID = 56; // Format - int32. (default to null)
String *paymentMethod = paymentMethod_example; //  (default to null)
array[RefBusTranT] *refBusTranT = [{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}]; //  (optional)

// ConnectedSuppliers_GetMerchantSurcharge
[apiInstance connectedSuppliersGetMerchantSurchargeWith:supplierID
    paymentMethod:paymentMethod
    refBusTranT:refBusTranT
              completionHandler: ^(ActionResults_MerchantSurcharge_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConnectedSuppliers = require('as_server_api_connected_suppliers');

// Create an instance of the API class
var api = new AsServerApiConnectedSuppliers.DefaultApi()
var supplierID = 56; // {Integer} Format - int32.
var paymentMethod = paymentMethod_example; // {String} 
var opts = {
  'refBusTranT': [{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}] // {array[RefBusTranT]} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectedSuppliersGetMerchantSurcharge(supplierID, paymentMethod, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class connectedSuppliersGetMerchantSurchargeExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierID = 56;  // Integer | Format - int32. (default to null)
            var paymentMethod = paymentMethod_example;  // String |  (default to null)
            var refBusTranT = new array[RefBusTranT](); // array[RefBusTranT] |  (optional) 

            try {
                // ConnectedSuppliers_GetMerchantSurcharge
                ActionResults_MerchantSurcharge_ result = apiInstance.connectedSuppliersGetMerchantSurcharge(supplierID, paymentMethod, refBusTranT);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.connectedSuppliersGetMerchantSurcharge: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierID = 56; // Integer | Format - int32.
$paymentMethod = paymentMethod_example; // String | 
$refBusTranT = [{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}]; // array[RefBusTranT] | 

try {
    $result = $api_instance->connectedSuppliersGetMerchantSurcharge($supplierID, $paymentMethod, $refBusTranT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectedSuppliersGetMerchantSurcharge: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierID = 56; # Integer | Format - int32.
my $paymentMethod = paymentMethod_example; # String | 
my $refBusTranT = [WWW::OPenAPIClient::Object::array[RefBusTranT]->new()]; # array[RefBusTranT] | 

eval {
    my $result = $api_instance->connectedSuppliersGetMerchantSurcharge(supplierID => $supplierID, paymentMethod => $paymentMethod, refBusTranT => $refBusTranT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectedSuppliersGetMerchantSurcharge: $@\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.DefaultApi()
supplierID = 56 # Integer | Format - int32. (default to null)
paymentMethod = paymentMethod_example # String |  (default to null)
refBusTranT = [{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}] # array[RefBusTranT] |  (optional)

try:
    # ConnectedSuppliers_GetMerchantSurcharge
    api_response = api_instance.connected_suppliers_get_merchant_surcharge(supplierID, paymentMethod, refBusTranT=refBusTranT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectedSuppliersGetMerchantSurcharge: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierID = 56; // Integer
    let paymentMethod = paymentMethod_example; // String
    let refBusTranT = [{"AmountString":"string","AppliedAmountString":"string","AppliedDateString":"string","Summary":"string","GUID":"00000000-0000-0000-0000-000000000000","Status":"string","TotalInc":0,"ID":0,"GUIDstring":"string","BSID":"string","Amount":0,"TransTypeID":0,"TransType":"string","RefNumber":"string","AppliedDate":"string","AppliedAmount":0,"Balance":0,"MerchantSurcharge":0,"MerchantSurchargeLineID":0,"TransSubType":"string","AppliedTransID":0,"AppliedCredit":0,"ClaimRequestID":0,"ClaimDescription":"string","IsEarlyClaimShortPayment":true}]; // array[RefBusTranT]

    let mut context = DefaultApi::Context::default();
    let result = client.connectedSuppliersGetMerchantSurcharge(supplierID, paymentMethod, refBusTranT, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
supplierID*
Integer (int32)
Format - int32.
Required
paymentMethod*
String
Required
Body parameters
Name Description
refBusTranT

Responses


connectedSuppliersGetMySupplierPaymentOptions

ConnectedSuppliers_GetMySupplierPaymentOptions


/ConnectedSuppliers/{supplierID}/mypaymentoptions

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ConnectedSuppliers/{supplierID}/mypaymentoptions"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.

        try {
            ActionResults_IEnumerable_TenantSupplierPaymentOption__ result = apiInstance.connectedSuppliersGetMySupplierPaymentOptions(supplierID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersGetMySupplierPaymentOptions");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer supplierID = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.connectedSuppliersGetMySupplierPaymentOptions(supplierID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->connectedSuppliersGetMySupplierPaymentOptions: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.

        try {
            ActionResults_IEnumerable_TenantSupplierPaymentOption__ result = apiInstance.connectedSuppliersGetMySupplierPaymentOptions(supplierID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersGetMySupplierPaymentOptions");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *supplierID = 56; // Format - int32. (default to null)

// ConnectedSuppliers_GetMySupplierPaymentOptions
[apiInstance connectedSuppliersGetMySupplierPaymentOptionsWith:supplierID
              completionHandler: ^(ActionResults_IEnumerable_TenantSupplierPaymentOption__ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConnectedSuppliers = require('as_server_api_connected_suppliers');

// Create an instance of the API class
var api = new AsServerApiConnectedSuppliers.DefaultApi()
var supplierID = 56; // {Integer} Format - int32.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectedSuppliersGetMySupplierPaymentOptions(supplierID, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class connectedSuppliersGetMySupplierPaymentOptionsExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierID = 56;  // Integer | Format - int32. (default to null)

            try {
                // ConnectedSuppliers_GetMySupplierPaymentOptions
                ActionResults_IEnumerable_TenantSupplierPaymentOption__ result = apiInstance.connectedSuppliersGetMySupplierPaymentOptions(supplierID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.connectedSuppliersGetMySupplierPaymentOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierID = 56; // Integer | Format - int32.

try {
    $result = $api_instance->connectedSuppliersGetMySupplierPaymentOptions($supplierID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectedSuppliersGetMySupplierPaymentOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierID = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->connectedSuppliersGetMySupplierPaymentOptions(supplierID => $supplierID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectedSuppliersGetMySupplierPaymentOptions: $@\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.DefaultApi()
supplierID = 56 # Integer | Format - int32. (default to null)

try:
    # ConnectedSuppliers_GetMySupplierPaymentOptions
    api_response = api_instance.connected_suppliers_get_my_supplier_payment_options(supplierID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectedSuppliersGetMySupplierPaymentOptions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.connectedSuppliersGetMySupplierPaymentOptions(supplierID, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
supplierID*
Integer (int32)
Format - int32.
Required

Responses


connectedSuppliersSaveMyPaymentOption

ConnectedSuppliers_SaveMyPaymentOption


/ConnectedSuppliers/{supplierID}/mypaymentoptions

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ConnectedSuppliers/{supplierID}/mypaymentoptions" \
 -d '{
  "CardNumber" : "CardNumber",
  "CardToken" : "CardToken",
  "ExpiryMMYY" : "ExpiryMMYY",
  "FriendlyName" : "FriendlyName",
  "CardType" : "CardType",
  "CardHolderName" : "CardHolderName",
  "CardVerificationNumber" : "CardVerificationNumber"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<CreditCardT>
  <CardType>aeiou</CardType>
  <CardNumber>aeiou</CardNumber>
  <CardHolderName>aeiou</CardHolderName>
  <ExpiryMMYY>aeiou</ExpiryMMYY>
  <CardVerificationNumber>aeiou</CardVerificationNumber>
  <FriendlyName>aeiou</FriendlyName>
  <CardToken>aeiou</CardToken>
</CreditCardT>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        CreditCardT creditCardT = {"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"}; // CreditCardT | 

        try {
            ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersSaveMyPaymentOption(supplierID, creditCardT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersSaveMyPaymentOption");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer supplierID = new Integer(); // Integer | Format - int32.
final CreditCardT creditCardT = new CreditCardT(); // CreditCardT | 

try {
    final result = await api_instance.connectedSuppliersSaveMyPaymentOption(supplierID, creditCardT);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->connectedSuppliersSaveMyPaymentOption: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        CreditCardT creditCardT = {"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"}; // CreditCardT | 

        try {
            ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersSaveMyPaymentOption(supplierID, creditCardT);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersSaveMyPaymentOption");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *supplierID = 56; // Format - int32. (default to null)
CreditCardT *creditCardT = {"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"}; //  (optional)

// ConnectedSuppliers_SaveMyPaymentOption
[apiInstance connectedSuppliersSaveMyPaymentOptionWith:supplierID
    creditCardT:creditCardT
              completionHandler: ^(ActionResults_TenantSupplierPaymentOption_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConnectedSuppliers = require('as_server_api_connected_suppliers');

// Create an instance of the API class
var api = new AsServerApiConnectedSuppliers.DefaultApi()
var supplierID = 56; // {Integer} Format - int32.
var opts = {
  'creditCardT': {"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"} // {CreditCardT} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectedSuppliersSaveMyPaymentOption(supplierID, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class connectedSuppliersSaveMyPaymentOptionExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierID = 56;  // Integer | Format - int32. (default to null)
            var creditCardT = new CreditCardT(); // CreditCardT |  (optional) 

            try {
                // ConnectedSuppliers_SaveMyPaymentOption
                ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersSaveMyPaymentOption(supplierID, creditCardT);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.connectedSuppliersSaveMyPaymentOption: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierID = 56; // Integer | Format - int32.
$creditCardT = {"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"}; // CreditCardT | 

try {
    $result = $api_instance->connectedSuppliersSaveMyPaymentOption($supplierID, $creditCardT);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectedSuppliersSaveMyPaymentOption: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierID = 56; # Integer | Format - int32.
my $creditCardT = WWW::OPenAPIClient::Object::CreditCardT->new(); # CreditCardT | 

eval {
    my $result = $api_instance->connectedSuppliersSaveMyPaymentOption(supplierID => $supplierID, creditCardT => $creditCardT);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectedSuppliersSaveMyPaymentOption: $@\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.DefaultApi()
supplierID = 56 # Integer | Format - int32. (default to null)
creditCardT = {"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"} # CreditCardT |  (optional)

try:
    # ConnectedSuppliers_SaveMyPaymentOption
    api_response = api_instance.connected_suppliers_save_my_payment_option(supplierID, creditCardT=creditCardT)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectedSuppliersSaveMyPaymentOption: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierID = 56; // Integer
    let creditCardT = {"CardType":"string","CardNumber":"string","CardHolderName":"string","ExpiryMMYY":"string","CardVerificationNumber":"string","FriendlyName":"string","CardToken":"string"}; // CreditCardT

    let mut context = DefaultApi::Context::default();
    let result = client.connectedSuppliersSaveMyPaymentOption(supplierID, creditCardT, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
supplierID*
Integer (int32)
Format - int32.
Required
Body parameters
Name Description
creditCardT

Responses


connectedSuppliersSetDefaultPaymentOption

ConnectedSuppliers_SetDefaultPaymentOption


/ConnectedSuppliers/{supplierID}/mypaymentoptions/setdefault/{supplierPaymentOptionId}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/ConnectedSuppliers/{supplierID}/mypaymentoptions/setdefault/{supplierPaymentOptionId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        Integer supplierPaymentOptionId = 56; // Integer | Format - int32.

        try {
            ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersSetDefaultPaymentOption(supplierID, supplierPaymentOptionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersSetDefaultPaymentOption");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer supplierID = new Integer(); // Integer | Format - int32.
final Integer supplierPaymentOptionId = new Integer(); // Integer | Format - int32.

try {
    final result = await api_instance.connectedSuppliersSetDefaultPaymentOption(supplierID, supplierPaymentOptionId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->connectedSuppliersSetDefaultPaymentOption: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        Integer supplierPaymentOptionId = 56; // Integer | Format - int32.

        try {
            ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersSetDefaultPaymentOption(supplierID, supplierPaymentOptionId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersSetDefaultPaymentOption");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *supplierID = 56; // Format - int32. (default to null)
Integer *supplierPaymentOptionId = 56; // Format - int32. (default to null)

// ConnectedSuppliers_SetDefaultPaymentOption
[apiInstance connectedSuppliersSetDefaultPaymentOptionWith:supplierID
    supplierPaymentOptionId:supplierPaymentOptionId
              completionHandler: ^(ActionResults_TenantSupplierPaymentOption_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConnectedSuppliers = require('as_server_api_connected_suppliers');

// Create an instance of the API class
var api = new AsServerApiConnectedSuppliers.DefaultApi()
var supplierID = 56; // {Integer} Format - int32.
var supplierPaymentOptionId = 56; // {Integer} Format - int32.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectedSuppliersSetDefaultPaymentOption(supplierID, supplierPaymentOptionId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class connectedSuppliersSetDefaultPaymentOptionExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierID = 56;  // Integer | Format - int32. (default to null)
            var supplierPaymentOptionId = 56;  // Integer | Format - int32. (default to null)

            try {
                // ConnectedSuppliers_SetDefaultPaymentOption
                ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersSetDefaultPaymentOption(supplierID, supplierPaymentOptionId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.connectedSuppliersSetDefaultPaymentOption: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierID = 56; // Integer | Format - int32.
$supplierPaymentOptionId = 56; // Integer | Format - int32.

try {
    $result = $api_instance->connectedSuppliersSetDefaultPaymentOption($supplierID, $supplierPaymentOptionId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectedSuppliersSetDefaultPaymentOption: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierID = 56; # Integer | Format - int32.
my $supplierPaymentOptionId = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->connectedSuppliersSetDefaultPaymentOption(supplierID => $supplierID, supplierPaymentOptionId => $supplierPaymentOptionId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectedSuppliersSetDefaultPaymentOption: $@\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.DefaultApi()
supplierID = 56 # Integer | Format - int32. (default to null)
supplierPaymentOptionId = 56 # Integer | Format - int32. (default to null)

try:
    # ConnectedSuppliers_SetDefaultPaymentOption
    api_response = api_instance.connected_suppliers_set_default_payment_option(supplierID, supplierPaymentOptionId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectedSuppliersSetDefaultPaymentOption: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierID = 56; // Integer
    let supplierPaymentOptionId = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.connectedSuppliersSetDefaultPaymentOption(supplierID, supplierPaymentOptionId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
supplierID*
Integer (int32)
Format - int32.
Required
supplierPaymentOptionId*
Integer (int32)
Format - int32.
Required

Responses


connectedSuppliersUpdateMyPaymentOption

ConnectedSuppliers_UpdateMyPaymentOption


/ConnectedSuppliers/{supplierID}/mypaymentoptions/{supplierPaymentOptionId}

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/ConnectedSuppliers/{supplierID}/mypaymentoptions/{supplierPaymentOptionId}" \
 -d '{
  "FriendlyName" : "FriendlyName"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<TenantSupplierPaymentOptionUpdate>
  <FriendlyName>aeiou</FriendlyName>
</TenantSupplierPaymentOptionUpdate>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        Integer supplierPaymentOptionId = 56; // Integer | Format - int32.
        TenantSupplierPaymentOptionUpdate tenantSupplierPaymentOptionUpdate = {"FriendlyName":"string"}; // TenantSupplierPaymentOptionUpdate | 

        try {
            ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersUpdateMyPaymentOption(supplierID, supplierPaymentOptionId, tenantSupplierPaymentOptionUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersUpdateMyPaymentOption");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer supplierID = new Integer(); // Integer | Format - int32.
final Integer supplierPaymentOptionId = new Integer(); // Integer | Format - int32.
final TenantSupplierPaymentOptionUpdate tenantSupplierPaymentOptionUpdate = new TenantSupplierPaymentOptionUpdate(); // TenantSupplierPaymentOptionUpdate | 

try {
    final result = await api_instance.connectedSuppliersUpdateMyPaymentOption(supplierID, supplierPaymentOptionId, tenantSupplierPaymentOptionUpdate);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->connectedSuppliersUpdateMyPaymentOption: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer supplierID = 56; // Integer | Format - int32.
        Integer supplierPaymentOptionId = 56; // Integer | Format - int32.
        TenantSupplierPaymentOptionUpdate tenantSupplierPaymentOptionUpdate = {"FriendlyName":"string"}; // TenantSupplierPaymentOptionUpdate | 

        try {
            ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersUpdateMyPaymentOption(supplierID, supplierPaymentOptionId, tenantSupplierPaymentOptionUpdate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#connectedSuppliersUpdateMyPaymentOption");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *supplierID = 56; // Format - int32. (default to null)
Integer *supplierPaymentOptionId = 56; // Format - int32. (default to null)
TenantSupplierPaymentOptionUpdate *tenantSupplierPaymentOptionUpdate = {"FriendlyName":"string"}; //  (optional)

// ConnectedSuppliers_UpdateMyPaymentOption
[apiInstance connectedSuppliersUpdateMyPaymentOptionWith:supplierID
    supplierPaymentOptionId:supplierPaymentOptionId
    tenantSupplierPaymentOptionUpdate:tenantSupplierPaymentOptionUpdate
              completionHandler: ^(ActionResults_TenantSupplierPaymentOption_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiConnectedSuppliers = require('as_server_api_connected_suppliers');

// Create an instance of the API class
var api = new AsServerApiConnectedSuppliers.DefaultApi()
var supplierID = 56; // {Integer} Format - int32.
var supplierPaymentOptionId = 56; // {Integer} Format - int32.
var opts = {
  'tenantSupplierPaymentOptionUpdate': {"FriendlyName":"string"} // {TenantSupplierPaymentOptionUpdate} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectedSuppliersUpdateMyPaymentOption(supplierID, supplierPaymentOptionId, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class connectedSuppliersUpdateMyPaymentOptionExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierID = 56;  // Integer | Format - int32. (default to null)
            var supplierPaymentOptionId = 56;  // Integer | Format - int32. (default to null)
            var tenantSupplierPaymentOptionUpdate = new TenantSupplierPaymentOptionUpdate(); // TenantSupplierPaymentOptionUpdate |  (optional) 

            try {
                // ConnectedSuppliers_UpdateMyPaymentOption
                ActionResults_TenantSupplierPaymentOption_ result = apiInstance.connectedSuppliersUpdateMyPaymentOption(supplierID, supplierPaymentOptionId, tenantSupplierPaymentOptionUpdate);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.connectedSuppliersUpdateMyPaymentOption: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierID = 56; // Integer | Format - int32.
$supplierPaymentOptionId = 56; // Integer | Format - int32.
$tenantSupplierPaymentOptionUpdate = {"FriendlyName":"string"}; // TenantSupplierPaymentOptionUpdate | 

try {
    $result = $api_instance->connectedSuppliersUpdateMyPaymentOption($supplierID, $supplierPaymentOptionId, $tenantSupplierPaymentOptionUpdate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->connectedSuppliersUpdateMyPaymentOption: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierID = 56; # Integer | Format - int32.
my $supplierPaymentOptionId = 56; # Integer | Format - int32.
my $tenantSupplierPaymentOptionUpdate = WWW::OPenAPIClient::Object::TenantSupplierPaymentOptionUpdate->new(); # TenantSupplierPaymentOptionUpdate | 

eval {
    my $result = $api_instance->connectedSuppliersUpdateMyPaymentOption(supplierID => $supplierID, supplierPaymentOptionId => $supplierPaymentOptionId, tenantSupplierPaymentOptionUpdate => $tenantSupplierPaymentOptionUpdate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->connectedSuppliersUpdateMyPaymentOption: $@\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.DefaultApi()
supplierID = 56 # Integer | Format - int32. (default to null)
supplierPaymentOptionId = 56 # Integer | Format - int32. (default to null)
tenantSupplierPaymentOptionUpdate = {"FriendlyName":"string"} # TenantSupplierPaymentOptionUpdate |  (optional)

try:
    # ConnectedSuppliers_UpdateMyPaymentOption
    api_response = api_instance.connected_suppliers_update_my_payment_option(supplierID, supplierPaymentOptionId, tenantSupplierPaymentOptionUpdate=tenantSupplierPaymentOptionUpdate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->connectedSuppliersUpdateMyPaymentOption: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierID = 56; // Integer
    let supplierPaymentOptionId = 56; // Integer
    let tenantSupplierPaymentOptionUpdate = {"FriendlyName":"string"}; // TenantSupplierPaymentOptionUpdate

    let mut context = DefaultApi::Context::default();
    let result = client.connectedSuppliersUpdateMyPaymentOption(supplierID, supplierPaymentOptionId, tenantSupplierPaymentOptionUpdate, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
supplierID*
Integer (int32)
Format - int32.
Required
supplierPaymentOptionId*
Integer (int32)
Format - int32.
Required
Body parameters
Name Description
tenantSupplierPaymentOptionUpdate

Responses