dmt-software/webservices-dutchbusiness

dev-master 2018-07-28 00:09 UTC

This package is auto-updated.

Last update: 2024-11-11 15:19:12 UTC


README

Usage

<?php
 
use DMT\WebservicesNl\Client\Client;
use DMT\WebservicesNl\Client\Factory\ClientFactory;
use DMT\WebservicesNl\DutchBusiness\Request\GetDossierV3Request;
 
$credentials = ['username' => '{username}', 'password' => '{password}'];
$client = ClientFactory::createClient('soap_doclit', $credentials);
 
// create request
$request = new GetDossierV3Request();
$request->setDossierNumber('34221165');
 
/** @var Client $client */
$response = $client->execute($request);