2017 © Pedro Peláez
 

library pakkasmarja-client-php

image

metatavu/pakkasmarja-client-php

  • Friday, April 20, 2018
  • by metatavu
  • Repository
  • 3 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 20 Versions
  • 0 % Grown

The README.md

pakkasmarja-client-php

REST API for Pakkasmarja, (*1)

This PHP package is automatically generated by the Swagger Codegen project:, (*2)

  • API version: 0.0.3
  • Package version: 0.0.26
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

Requirements

PHP 5.5 and later, (*3)

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:, (*4)

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

Then run composer install, (*5)

Manual Installation

Download the files and include autoload.php:, (*6)

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

Tests

To run the unit tests:, (*7)

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:, (*8)

setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Metatavu\Pakkasmarja\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Metatavu\Pakkasmarja\Api\ChatThreadsApi();
$threadId = 789; // int | chat thread id
$type = "type_example"; // string | report type. Accepted values summaryReport
$accept = "accept_example"; // string | Expected response format. Accepted values application/vnd.openxmlformats for Excel response

try {
    $result = $api_instance->getChatThreadReport($threadId, $type, $accept);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ChatThreadsApi->getChatThreadReport: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://localhost/rest/v1, (*9)

Class Method HTTP request Description
ChatThreadsApi getChatThreadReport GET /chatThreads/{threadId}/reports/{type} Returns chat thread report
ChatThreadsApi listChatThreads GET /chatThreads Returns list of chat threads
ContactsApi findContact GET /contacts/{id} Find contact
ContactsApi listContacts GET /contacts Lists contacts
ContactsApi updateContact PUT /contacts/{id} Update contact
ContactsApi updateContactCredentials PUT /contacts/{id}/credentials Update contact credentials
ContractsApi createContract POST /contracts Create contract
ContractsApi createContractDocumentSignRequest POST /contracts/{id}/documents/{type}/signRequests Requests contract document electronic signing
ContractsApi createContractDocumentTemplate POST /contracts/{contractId}/documentTemplates Create contract document template
ContractsApi findContract GET /contracts/{id} Find contract
ContractsApi findContractDocumentTemplate GET /contracts/{contractId}/documentTemplates/{contractDocumentTemplateId} Find contract document template
ContractsApi getContractDocument GET /contracts/{id}/documents/{type} Returns contract document
ContractsApi listContractDocumentTemplates GET /contracts/{contractId}/documentTemplates List contract document templates
ContractsApi listContractPrices GET /contracts/{contractId}/prices List contract prices
ContractsApi listContracts GET /contracts Lists contracts
ContractsApi updateContract PUT /contracts/{id} Update contract
ContractsApi updateContractDocumentTemplate PUT /contracts/{contractId}/documentTemplates/{contractDocumentTemplateId} Updates contract document template
DeliveryPlacesApi findDeliveryPlace GET /deliveryPlaces/{id} Find delivery place
DeliveryPlacesApi listDeliveryPlaces GET /deliveryPlaces Lists delivery places
ItemGroupsApi createItemGroupPrice POST /itemGroups/{itemGroupId}/prices Creates item group price
ItemGroupsApi deleteItemGroupPrice DELETE /itemGroups/{itemGroupId}/prices/{priceId} Delete item group price
ItemGroupsApi findItemGroup GET /itemGroups/{id} Find item group
ItemGroupsApi findItemGroupDocumentTemplate GET /itemGroups/{itemGroupId}/documentTemplates/{id} Find item group document template
ItemGroupsApi findItemGroupPrice GET /itemGroups/{itemGroupId}/prices/{priceId} Find item group price
ItemGroupsApi listItemGroupDocumentTemplates GET /itemGroups/{itemGroupId}/documentTemplates List item group document templates
ItemGroupsApi listItemGroupPrices GET /itemGroups/{itemGroupId}/prices List item group prices
ItemGroupsApi listItemGroups GET /itemGroups Lists item groups
ItemGroupsApi updateItemGroupDocumentTemplate PUT /itemGroups/{itemGroupId}/documentTemplates/{id} Updates item group document template
ItemGroupsApi updateItemGroupPrice PUT /itemGroups/{itemGroupId}/prices/{priceId} Update item group price
OperationReportsApi findOperationReport GET /operationReports/{id} Find operation report
OperationReportsApi listOperationReportItems GET /operationReports/{id}/items List operation report items
OperationReportsApi listOperationReports GET /operationReports List operation reports
OperationsApi createOperation POST /operations Creates new operation
SignAuthenticationServicesApi listSignAuthenticationServices GET /signAuthenticationServices List sign authentication services

Documentation For Models

Documentation For Authorization

bearer

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

The Versions

20/04 2018

dev-master

9999999-dev http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

20/04 2018

0.0.20

0.0.20.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

07/04 2018

0.0.19

0.0.19.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

06/04 2018

0.0.18

0.0.18.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

06/04 2018

0.0.17

0.0.17.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

05/04 2018

0.0.16

0.0.16.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

03/04 2018

0.0.15

0.0.15.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

03/04 2018

0.0.14

0.0.14.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

29/03 2018

0.0.13

0.0.13.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

29/03 2018

0.0.12

0.0.12.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

27/03 2018

0.0.11

0.0.11.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

15/03 2018

0.0.10

0.0.10.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

12/03 2018

0.0.9

0.0.9.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

12/03 2018

0.0.8

0.0.8.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

08/03 2018

0.0.6

0.0.6.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

06/03 2018

0.0.5

0.0.5.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

27/02 2018

0.0.4

0.0.4.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

27/02 2018

0.0.3

0.0.3.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

26/02 2018

0.0.2

0.0.2.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk

26/02 2018

0.0.1

0.0.1.0 http://swagger.io

  Sources   Download

proprietary

The Requires

 

The Development Requires

api php swagger sdk