Skip to content

Latest commit

 

History

History
154 lines (105 loc) · 4.38 KB

MiscApi.md

File metadata and controls

154 lines (105 loc) · 4.38 KB

Swagger\Client\MiscApi

All URIs are relative to https://api.billit.be

Method HTTP request Description
miscGetCompanySearch GET /v1/misc/companysearch/{Keywords}
miscGetTranslation GET /v1/misc/typecodes/{TypeCodeType}/{key}
miscGetTypeCodes GET /v1/misc/typecodes/{TypeCodeType}

miscGetCompanySearch

\Swagger\Client\Model\CompanySearchResult miscGetCompanySearch($keywords)

Example

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

$apiInstance = new Swagger\Client\Api\MiscApi(
    // 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()
);
$keywords = "keywords_example"; // string | 

try {
    $result = $apiInstance->miscGetCompanySearch($keywords);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MiscApi->miscGetCompanySearch: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
keywords string

Return type

\Swagger\Client\Model\CompanySearchResult

Authorization

No authorization required

HTTP request headers

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

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

miscGetTranslation

\Swagger\Client\Model\TypeCodeResult miscGetTranslation($type_code_type, $key)

Example

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

$apiInstance = new Swagger\Client\Api\MiscApi(
    // 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()
);
$type_code_type = "type_code_type_example"; // string | 
$key = "key_example"; // string | 

try {
    $result = $apiInstance->miscGetTranslation($type_code_type, $key);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MiscApi->miscGetTranslation: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
type_code_type string
key string

Return type

\Swagger\Client\Model\TypeCodeResult

Authorization

No authorization required

HTTP request headers

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

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

miscGetTypeCodes

\Swagger\Client\Model\TypeCodeResult miscGetTypeCodes($type_code_type)

Example

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

$apiInstance = new Swagger\Client\Api\MiscApi(
    // 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()
);
$type_code_type = "type_code_type_example"; // string | 

try {
    $result = $apiInstance->miscGetTypeCodes($type_code_type);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MiscApi->miscGetTypeCodes: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
type_code_type string

Return type

\Swagger\Client\Model\TypeCodeResult

Authorization

No authorization required

HTTP request headers

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

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