xokaido/portaswitch

The PortaSwitch API client in PHP according to their PortaSwitch_Interfaces_MR45.pdf document

dev-master 2018-03-13 10:05 UTC

This package is not auto-updated.

Last update: 2021-04-03 09:41:34 UTC


README

This is a PortaSwitch Client Library Based on their PortaSwitch_Interfaces_MR45.pdf document. The client library is not finished and only some parts are implemented but it's easy to add more as the software architecture makes it possible to quickly add new methods.

To deploy the application:

You need to create the .env file with

API_BASE = Base URL of the API
API_USER = The API user
API_PASS = The password for the API user

The file should look something like this:

API_BASE = "https://mybilling.telinta.com:8442/rest/"
API_USER = 'test_user'
API_PASS = 'test_pass'

Please pay desired attention to have the /rest/ API instead of SOAP.

Examples

For examples check the example.php file.

Thank you!