No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This PHP package is automatically generated by the OpenAPI Generator project:
- API version: v1
- Build package: org.openapitools.codegen.languages.PhpClientCodegen
PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/d2r_connectors\conficio/vendor/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new d2r_connectors\conficio\Api\AuthApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$grant_type = 'password'; // string |
$username = 'username_example'; // string |
$password = 'password_example'; // string |
try {
$result = $apiInstance->tokenPost($grant_type, $username, $password);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuthApi->tokenPost: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://partnerexchange.azurewebsites.net
Class | Method | HTTP request | Description |
---|---|---|---|
AuthApi | tokenPost | POST /token | |
ChangeApi | changeProcess | POST /api/change/Process | Process change |
ChangeApi | changeTest | POST /api/change/Test | Test a change record |
InvoiceApi | invoiceCheck | GET /api/invoice/Check | Check today's invoice records against today's invoice detail records |
InvoiceApi | invoiceSubmit | POST /api/invoice/Submit | Submit an invoice (summary). Send BEFORE invoice detail records |
InvoiceApi | invoiceTest | POST /api/invoice/Test | Test an invoice record |
InvoiceDetailApi | invoiceDetailSubmit | POST /api/invoicedetail/Submit | Submit an invoice detail (transaction). Send AFTER corresponding invoice record |
InvoiceDetailApi | invoiceDetailTest | POST /api/invoicedetail/Test | Test an invoice detail record |
TransactionApi | transactionPost | POST /api/transaction/Post | Post a transaction (payment) |
TransactionApi | transactionTest | POST /api/transaction/Test | Test a transaction record |
All endpoints do not require authorization.