There are breaking changes compared to the Zaaksysteem plugin.
Clients no longer have a default name or abbreviation. Instead, a name is given when registering a client with the ApiClientManager
. This allows for connections to multiple identical clients.
Creating and deleting a Zaak
or other 'actions' are removed from this package.
The Procura client requires additional SSL certificates. Make sure to add them to the ApiCredentials
instance. For example:
use OWC\ZGW\Clients\Procura\Client as Procura;
$procuraUris = new ApiUrlCollection(/* ... */);
$procuraCredentials = new ApiCredentials();
$procuraCredentials->setClientId('procura');
$procuraCredentials->setClientSecret('password');
$procuraCredentials->setPublicCertificate('/path/to/public.key');
$procuraCredentials->setPrivateCertificate('/path/to/private.key');
$manager->addClient('procura', Procura::class, $procuraCredentials, $procuraUris);
The Zaak
entity no longer has the following properties by default:
- leverancier
- steps
- status_history
- information_objects
- status_explanation
- result
- image
- zaaktype_description
This should be implemented in the application using this package.
Before, all/most entities required the client (pretty) name for initialization. The constructor of those entities now require a Client
entity.
If the ZGW version of a client is 1.5.0 or later, expand is automatically enabled.