PHP code example of vertaislaina / maventa-autoxchange

1. Go to this page and download the library: Download vertaislaina/maventa-autoxchange library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

vertaislaina / maventa-autoxchange example snippets


    


Instance = new Vertaislaina\Maventa\AutoXChange\Api\AnalysisApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$checks = array("checks_example"); // string[] | Filter definitions by checks. Possible values:  SUPPLIER_ACTIVATION, SENDER_BID_STATUS, SENDER_WARNING_LIST, VAT
$checkAttributes = array("checkAttributes_example"); // string[] | Filter only definitions of interest. Possible values:  name, friendly_name, friendly_names, title, titles, description, descriptions, doc_description, resource_type, scope, scopes, sources, metadata, possible_results

try {
    $result = $apiInstance->getV1AnalysisDefinitions($checks, $checkAttributes);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AnalysisApi->getV1AnalysisDefinitions: ', $e->getMessage(), PHP_EOL;
}