Skip to content

Files

Latest commit

d315680 · Jan 24, 2025

History

History
executable file
·
233 lines (158 loc) · 5.9 KB

COAViewsApi.md

File metadata and controls

executable file
·
233 lines (158 loc) · 5.9 KB

OpenAPI\Client\COAViewsApi

All URIs are relative to https://topal.vitan.ch:9001, except if the operation defines another base path.

Method HTTP request Description
cOAViewsDelete() DELETE /api/v1/clients/{clientId}/coaViews/{id} Delete coaView
cOAViewsGet() GET /api/v1/clients/{clientId}/coaviews get list of coaViews
cOAViewsGet_0() GET /api/v1/clients/{clientId}/coaviews/{id} Get coaView by id
cOAViewsPost() POST /api/v1/clients/{clientId}/coaViews Save coaView

cOAViewsDelete()

cOAViewsDelete($id, $client_id): object

Delete coaView

Example

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



$apiInstance = new Topal\Client\Api\COAViewsApi(
    // 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()
);
$id = 56; // int
$client_id = 'client_id_example'; // string

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

Parameters

Name Type Description Notes
id int
client_id string

Return type

object

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]

cOAViewsGet()

cOAViewsGet($client_id): \Topal\Client\Model\COAView[]

get list of coaViews

Example

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



$apiInstance = new Topal\Client\Api\COAViewsApi(
    // 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()
);
$client_id = 'client_id_example'; // string

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

Parameters

Name Type Description Notes
client_id string

Return type

\Topal\Client\Model\COAView[]

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]

cOAViewsGet_0()

cOAViewsGet_0($id, $client_id): \Topal\Client\Model\COAView

Get coaView by id

Example

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



$apiInstance = new Topal\Client\Api\COAViewsApi(
    // 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()
);
$id = 56; // int
$client_id = 'client_id_example'; // string

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

Parameters

Name Type Description Notes
id int
client_id string

Return type

\Topal\Client\Model\COAView

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]

cOAViewsPost()

cOAViewsPost($client_id, $coa_view): \Topal\Client\Model\COAView

Save coaView

Example

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



$apiInstance = new Topal\Client\Api\COAViewsApi(
    // 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()
);
$client_id = 'client_id_example'; // string
$coa_view = new \Topal\Client\Model\COAView(); // \Topal\Client\Model\COAView

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

Parameters

Name Type Description Notes
client_id string
coa_view \Topal\Client\Model\COAView

Return type

\Topal\Client\Model\COAView

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

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