Skip to content

Files

Latest commit

 

History

History
64 lines (43 loc) · 2.05 KB

DocumentTypeApi.md

File metadata and controls

64 lines (43 loc) · 2.05 KB

SynergiTech\Iplicit\DocumentTypeApi

All URIs are relative to https://api.iplicit.com, except if the operation defines another base path.

Method HTTP request Description
getDocumentType() GET /api/DocumentType/{documentTypeRef} Get a document type

getDocumentType()

getDocumentType($documentTypeRef, $include): \SynergiTech\Iplicit\Model\DocumentTypeRead

Get a document type

Example

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



$apiInstance = new SynergiTech\Iplicit\Api\DocumentTypeApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    config: $config
);
$documentTypeRef = 'documentTypeRef_example'; // string | Id or code of the document type
$include = ''; // string | Additional detail to include.  Valid options are `doctypesetup`. If omitted, will not show additional detail.

try {
    $result = $apiInstance->getDocumentType($documentTypeRef, $include);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DocumentTypeApi->getDocumentType: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
documentTypeRef string Id or code of the document type
include string Additional detail to include. Valid options are `doctypesetup`. If omitted, will not show additional detail. [optional] [default to '']

Return type

\SynergiTech\Iplicit\Model\DocumentTypeRead

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]