1. Go to this page and download the library: Download lukebeer/broadworks-ocip 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/ */
lukebeer / broadworks-ocip example snippets
php
he ComplexType Rel_17_sp4_1_197_OCISchemaAS\OCISchemaUser\UserServiceGetAssignmentListRequest;
// Create a Client and login. CoreFactory also has getSOAPClient()
$client = BroadworksOCIP\Factory::getTCPClient('ocip.example.com');
$client->login('user', 'pass');
// Generate a request, send and assign the response to $response
$request = new UserServiceGetAssignmentListRequest('[email protected]');
$response = $request->get($client);
// This response type returns a TableType object, getValue() renders a table.
echo $response->getServicePacksAssignmentTable()->getValue();
php
$address = new StreetAddress();
$address->setAddressLine1('1337 Street');
$address->setCountry('England');
$request = new UserAddRequest17sp4();
$request->setStreetAddress($address);