Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Latest commit

 

History

History
72 lines (49 loc) · 1.73 KB

IttProvidersApi.md

File metadata and controls

72 lines (49 loc) · 1.73 KB

OpenapiClient::IttProvidersApi

All URIs are relative to http://localhost

Method HTTP request Description
v2_itt_providers_get GET /v2/itt-providers Gets a list of all ITT Providers

v2_itt_providers_get

v2_itt_providers_get

Gets a list of all ITT Providers

Examples

require 'time'
require 'openapi_client'
# setup authorization
OpenapiClient.configure do |config|
  # Configure Bearer authorization: Bearer
  config.access_token = 'YOUR_BEARER_TOKEN'
end

api_instance = OpenapiClient::IttProvidersApi.new

begin
  # Gets a list of all ITT Providers
  result = api_instance.v2_itt_providers_get
  p result
rescue OpenapiClient::ApiError => e
  puts "Error when calling IttProvidersApi->v2_itt_providers_get: #{e}"
end

Using the v2_itt_providers_get_with_http_info variant

This returns an Array which contains the response data, status code and headers.

<Array(, Integer, Hash)> v2_itt_providers_get_with_http_info

begin
  # Gets a list of all ITT Providers
  data, status_code, headers = api_instance.v2_itt_providers_get_with_http_info
  p status_code # => 2xx
  p headers # => { ... }
  p data # => <GetIttProvidersResponse>
rescue OpenapiClient::ApiError => e
  puts "Error when calling IttProvidersApi->v2_itt_providers_get_with_http_info: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

GetIttProvidersResponse

Authorization

Bearer

HTTP request headers

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