invitecomm/partymanagement

dev-master 2019-02-01 07:59 UTC

This package is auto-updated.

Last update: 2024-03-29 03:58:07 UTC


README

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This PHP package is automatically generated by the Swagger Codegen project:

  • API version: 2.0
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

Requirements

PHP 5.5 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com//.git"
    }
  ],
  "require": {
    "/": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/SwaggerClient-php/vendor/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new Swagger\Client\Api\HubApi(
    // 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()
);
$hub = new \Swagger\Client\Model\Hub(); // \Swagger\Client\Model\Hub | 

try {
    $result = $apiInstance->hubCreate($hub);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling HubApi->hubCreate: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to http://env-0693795.jelastic.servint.net/DSPartyManagement/api/partyManagement/v2

Class Method HTTP request Description
HubApi hubCreate POST /hub hubCreate
HubApi hubDelete DELETE /hub/{hubId} hubDelete
HubApi hubFind GET /hub hubFind
HubApi hubGet GET /hub/{hubId} hubGet
IndividualApi individualCreate POST /individual individualCreate
IndividualApi individualDelete DELETE /individual/{individualId} individualDelete
IndividualApi individualFind GET /individual individualFind
IndividualApi individualGet GET /individual/{individualId} individualGet
IndividualApi individualPatch PATCH /individual/{individualId} individualPatch
IndividualApi individualUpdate PUT /individual/{individualId} individualUpdate
OrganizationApi organizationCreate POST /organization organizationCreate
OrganizationApi organizationFind GET /organization organizationFind
OrganizationApi organizationGet GET /organization/{organizationId} organizationGet
OrganizationApi organizationPatch PATCH /organization/{organizationId} organizationPatch
OrganizationApi organizationUpdate PUT /organization/{organizationId} organizationUpdate

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author