PHP code example of inteleon / decidas-client

1. Go to this page and download the library: Download inteleon/decidas-client 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/ */

    

inteleon / decidas-client example snippets


//Create client
$username = ''; //Decidas username
$password = ''; //Decidas password
$connect_timeout = 5000; //Connect timeout in ms
$timeout = 5000; //Timeout in ms
$connect_attempts = 1; //Reconnect attempts if connection is failed
$verify_certificate = true; //Verify the SSL certificate
$cache_wsdl = true; //Cache the WSDL file
$decidas = new \Inteleon\Decidas\Client($username, $password, $connect_timeout, $timeout, $connect_attempts, $verify_certificate, $cache_wsdl);

//Person search
$confignr = ''; //Decidas Config number/id
$personnr = ''; //Personnummer
$person = $decidas->personSearch($personnr, $confignr);