Skip to content

Latest commit

 

History

History
163 lines (106 loc) · 3.85 KB

IndustriesApi.md

File metadata and controls

163 lines (106 loc) · 3.85 KB

OpenAPI\Client\IndustriesApi

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

Method HTTP request Description
fetchAllIndustries() GET /system/industries/all Fetch all industries
fetchDomainsByIndustry() GET /system/industries/domains Fetch all industries
fetchIndustriesIDs() GET /system/industries/trimmed Fetch all industries

fetchAllIndustries()

fetchAllIndustries(): \OpenAPI\Client\Model\FetchIndustry200Response[]

Fetch all industries

Example

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



$apiInstance = new OpenAPI\Client\Api\IndustriesApi(
    // 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()
);

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

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\FetchIndustry200Response[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

fetchDomainsByIndustry()

fetchDomainsByIndustry(): \OpenAPI\Client\Model\FetchDomainsByIndustry200Response

Fetch all industries

Example

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



$apiInstance = new OpenAPI\Client\Api\IndustriesApi(
    // 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()
);

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

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\FetchDomainsByIndustry200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

fetchIndustriesIDs()

fetchIndustriesIDs(): mixed

Fetch all industries

Example

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



$apiInstance = new OpenAPI\Client\Api\IndustriesApi(
    // 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()
);

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

Parameters

This endpoint does not need any parameter.

Return type

mixed

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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