Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.73 KB

OperationsApi.md

File metadata and controls

58 lines (40 loc) · 1.73 KB

Swagger\Client\OperationsApi

All URIs are relative to http://localhost/api

Method HTTP request Description
operationsPoints GET /operations/points/ Return operational points

operationsPoints

\Swagger\Client\Model\PointResponse operationsPoints($company_key, $code)

Return operational points

Example

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

$apiInstance = new Swagger\Client\Api\OperationsApi(
    // 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()
);
$company_key = "company_key_example"; // string | IATA company code example \"G1\"
$code = "code_example"; // string | Station Code.

try {
    $result = $apiInstance->operationsPoints($company_key, $code);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OperationsApi->operationsPoints: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
company_key string IATA company code example &quot;G1&quot;
code string Station Code. [optional]

Return type

\Swagger\Client\Model\PointResponse

Authorization

No authorization required

HTTP request headers

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

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