Download the PHP package dprmc/clear-structure-sentry-web-services without Composer
On this page you can find all versions of the php package dprmc/clear-structure-sentry-web-services. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dprmc/clear-structure-sentry-web-services
More information about dprmc/clear-structure-sentry-web-services
Files in dprmc/clear-structure-sentry-web-services
Package clear-structure-sentry-web-services
Short Description A library of php code to interact with Sentry's Web Services SOAP API.
License MIT
Informations about the package clear-structure-sentry-web-services
ClearStructure-Sentry-WebServices
A php library that enables Sentry users to access the Web Services API.
Getting started
This is a private repository, so special steps are needed if you want to use Composer to include this library in your php project.
Clear Structure
Clear Structure is a financial technology company that created a portfolio management platform called Sentry.
Clear Structure Company Website
Ignored Services
From Clear Structure:
All Sentry's API are all good except (RetrieveReconciliationData & ExportAccountInRange). These are outdated and they might not retrieve valid data.
ExportAccount
I asked Clear Structure about this. They say the code works, but throws an out of memory exception every time because of the size of the result set. For that reason, I don't implement this service in my library.
RetrieveReconciliationData
I wrote the code for this before I got notice that this service was not supported. I'm not going to delete this class in case they enable it in the future. That being said, don't use it. There are other tools available to get reconciliation data.
Examples
RetrieveDataCubeOutputAsDataSet
The following code block makes use of the dummy values for location, user, pass, dataCubeName, as well as the params we pass in the request.
Your location URL should look similar. The only difference will be the sub-domain. Log into your Sentry Web Interface like you normally do. Your sub-domain will show in the URL bar of your browser.
This code example expects to be returned an array of SimpleXMLElement objects. And each of those objects has a property called account_number. You can see the foreach loop towards the bottom that simply echos each account number to a new line.
RetrieveDataCubeOutputWithDefaultsAsDataSet
This service is almost exactly the same as RetrieveDataCubeOutputAsDataSet. The difference here is that you don't pass in any parameters. The data cube will execute with whatever default values you have set via the Sentry Web Interface.
Testing
Included with this library is a phpunit.xml.dist
file.
Create a copy of that named phpunit.xml
, and fill in the PHP environment variables that are appropriate for your Sentry Account.
All versions of clear-structure-sentry-web-services with dependencies
ext-soap Version *
nesbot/carbon Version ^2|^3
ext-simplexml Version *
sabre/xml Version ^2.0|dev-master