PHP code example of dynamics-tools / dynamics-web-api-php-wrapper
1. Go to this page and download the library: Download dynamics-tools/dynamics-web-api-php-wrapper 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/ */
dynamics-tools / dynamics-web-api-php-wrapper example snippets
use DynamicsWebApi\Client;
use DynamicsWebApi\ClientFactory;
uest('/CloneAsSolution', 'POST', [
'ParentSolutionUniqueName' => 'MySolution',
'DisplayName' => 'MySolution',
'VersionNumber' => '1.12.0.0'
]);
$responseJson = json_decode($response->getBody()->getContents(), true);
echo $responseJson['SolutionId'];
use DynamicsWebApi\Helper;
elper->updateEntity('pluginassemblies', '38938383-383838-392912-192882', ['name' => 'MyPluginAssembly'], '9.2');
$helper->publishAllChanges();