FattureInCloud_Ruby_Sdk::InfoApi
All URIs are relative to https://api-v2.fattureincloud.it
Method | HTTP request | Description |
---|---|---|
list_archive_categories | GET /c/company_id/info/archive_categories | List Archive Categories |
list_cities | GET /info/cities | List Cities |
list_cost_centers | GET /c/company_id/info/cost_centers | List Cost Centers |
list_countries | GET /info/countries | List Countries |
list_currencies | GET /info/currencies | List Currencies |
list_delivery_notes_default_causals | GET /info/dn_causals | List Delivery Notes Default Causals |
list_detailed_countries | GET /info/detailed_countries | List Detailed Countries |
list_languages | GET /info/languages | List Languages |
list_payment_accounts | GET /c/company_id/info/payment_accounts | List Payment Accounts |
list_payment_methods | GET /c/company_id/info/payment_methods | List Payment Methods |
list_product_categories | GET /c/company_id/info/product_categories | List Product Categories |
list_received_document_categories | GET /c/company_id/info/received_document_categories | List Received Document Categories |
list_revenue_centers | GET /c/company_id/info/revenue_centers | List Revenue Centers |
list_templates | GET /info/templates | List Templates |
list_units_of_measure | GET /info/measures | List Units of Measure |
list_vat_types | GET /c/company_id/info/vat_types | List Vat Types |
list_archive_categories
list_archive_categories(company_id)
List Archive Categories
Lists the archive categories.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
company_id = 12345 # Integer | The ID of the company.
begin
# List Archive Categories
result = api_instance.list_archive_categories(company_id)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_archive_categories: #{e}"
end
Using the list_archive_categories_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_archive_categories_with_http_info(company_id)
begin
# List Archive Categories
data, status_code, headers = api_instance.list_archive_categories_with_http_info(company_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListArchiveCategoriesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_archive_categories_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
company_id | Integer | The ID of the company. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_cities
list_cities(opts)
List Cities
Lists the Italian cities.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
opts = {
postal_code: 'postal_code_example', # String | Postal code for filtering.
city: 'city_example' # String | City for filtering (ignored if postal_code is passed).
}
begin
# List Cities
result = api_instance.list_cities(opts)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_cities: #{e}"
end
Using the list_cities_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_cities_with_http_info(opts)
begin
# List Cities
data, status_code, headers = api_instance.list_cities_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListCitiesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_cities_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
postal_code | String | Postal code for filtering. | [optional] |
city | String | City for filtering (ignored if postal_code is passed). | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_cost_centers
list_cost_centers(company_id)
List Cost Centers
Lists the cost centers.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
company_id = 12345 # Integer | The ID of the company.
begin
# List Cost Centers
result = api_instance.list_cost_centers(company_id)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_cost_centers: #{e}"
end
Using the list_cost_centers_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_cost_centers_with_http_info(company_id)
begin
# List Cost Centers
data, status_code, headers = api_instance.list_cost_centers_with_http_info(company_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListCostCentersResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_cost_centers_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
company_id | Integer | The ID of the company. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_countries
list_countries
List Countries
Lists the supported countries.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
begin
# List Countries
result = api_instance.list_countries
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_countries: #{e}"
end
Using the list_countries_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_countries_with_http_info
begin
# List Countries
data, status_code, headers = api_instance.list_countries_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <ListCountriesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_countries_with_http_info: #{e}"
end
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_currencies
list_currencies
List Currencies
Lists the supported currencies.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
begin
# List Currencies
result = api_instance.list_currencies
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_currencies: #{e}"
end
Using the list_currencies_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_currencies_with_http_info
begin
# List Currencies
data, status_code, headers = api_instance.list_currencies_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <ListCurrenciesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_currencies_with_http_info: #{e}"
end
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_delivery_notes_default_causals
list_delivery_notes_default_causals
List Delivery Notes Default Causals
Lists the delivery note default causals.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
begin
# List Delivery Notes Default Causals
result = api_instance.list_delivery_notes_default_causals
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_delivery_notes_default_causals: #{e}"
end
Using the list_delivery_notes_default_causals_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_delivery_notes_default_causals_with_http_info
begin
# List Delivery Notes Default Causals
data, status_code, headers = api_instance.list_delivery_notes_default_causals_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <ListDeliveryNotesDefaultCausalsResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_delivery_notes_default_causals_with_http_info: #{e}"
end
Parameters
This endpoint does not need any parameter.
Return type
ListDeliveryNotesDefaultCausalsResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_detailed_countries
list_detailed_countries
List Detailed Countries
Lists the supported countries.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
begin
# List Detailed Countries
result = api_instance.list_detailed_countries
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_detailed_countries: #{e}"
end
Using the list_detailed_countries_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_detailed_countries_with_http_info
begin
# List Detailed Countries
data, status_code, headers = api_instance.list_detailed_countries_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <ListDetailedCountriesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_detailed_countries_with_http_info: #{e}"
end
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_languages
list_languages
List Languages
Lists the supported languages.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
begin
# List Languages
result = api_instance.list_languages
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_languages: #{e}"
end
Using the list_languages_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_languages_with_http_info
begin
# List Languages
data, status_code, headers = api_instance.list_languages_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <ListLanguagesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_languages_with_http_info: #{e}"
end
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_payment_accounts
list_payment_accounts(company_id, opts)
List Payment Accounts
Lists the available payment accounts.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
company_id = 12345 # Integer | The ID of the company.
opts = {
fields: 'fields_example', # String | List of comma-separated fields.
fieldset: 'basic', # String | Name of the fieldset.
sort: 'sort_example' # String | List of comma-separated fields for result sorting (minus for desc sorting).
}
begin
# List Payment Accounts
result = api_instance.list_payment_accounts(company_id, opts)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_payment_accounts: #{e}"
end
Using the list_payment_accounts_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_payment_accounts_with_http_info(company_id, opts)
begin
# List Payment Accounts
data, status_code, headers = api_instance.list_payment_accounts_with_http_info(company_id, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListPaymentAccountsResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_payment_accounts_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
company_id | Integer | The ID of the company. | |
fields | String | List of comma-separated fields. | [optional] |
fieldset | String | Name of the fieldset. | [optional] |
sort | String | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_payment_methods
list_payment_methods(company_id, opts)
List Payment Methods
Lists the available payment methods.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
company_id = 12345 # Integer | The ID of the company.
opts = {
fields: 'fields_example', # String | List of comma-separated fields.
fieldset: 'basic', # String | Name of the fieldset.
sort: 'sort_example' # String | List of comma-separated fields for result sorting (minus for desc sorting).
}
begin
# List Payment Methods
result = api_instance.list_payment_methods(company_id, opts)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_payment_methods: #{e}"
end
Using the list_payment_methods_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_payment_methods_with_http_info(company_id, opts)
begin
# List Payment Methods
data, status_code, headers = api_instance.list_payment_methods_with_http_info(company_id, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListPaymentMethodsResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_payment_methods_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
company_id | Integer | The ID of the company. | |
fields | String | List of comma-separated fields. | [optional] |
fieldset | String | Name of the fieldset. | [optional] |
sort | String | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_product_categories
list_product_categories(company_id, context)
List Product Categories
Lists the product categories.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
company_id = 12345 # Integer | The ID of the company.
context = 'products' # String | Categories resource type.
begin
# List Product Categories
result = api_instance.list_product_categories(company_id, context)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_product_categories: #{e}"
end
Using the list_product_categories_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_product_categories_with_http_info(company_id, context)
begin
# List Product Categories
data, status_code, headers = api_instance.list_product_categories_with_http_info(company_id, context)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListProductCategoriesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_product_categories_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
company_id | Integer | The ID of the company. | |
context | String | Categories resource type. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_received_document_categories
list_received_document_categories(company_id)
List Received Document Categories
Lists the received document categories.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
company_id = 12345 # Integer | The ID of the company.
begin
# List Received Document Categories
result = api_instance.list_received_document_categories(company_id)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_received_document_categories: #{e}"
end
Using the list_received_document_categories_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_received_document_categories_with_http_info(company_id)
begin
# List Received Document Categories
data, status_code, headers = api_instance.list_received_document_categories_with_http_info(company_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListReceivedDocumentCategoriesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_received_document_categories_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
company_id | Integer | The ID of the company. |
Return type
ListReceivedDocumentCategoriesResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_revenue_centers
list_revenue_centers(company_id)
List Revenue Centers
Lists the revenue centers.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
company_id = 12345 # Integer | The ID of the company.
begin
# List Revenue Centers
result = api_instance.list_revenue_centers(company_id)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_revenue_centers: #{e}"
end
Using the list_revenue_centers_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_revenue_centers_with_http_info(company_id)
begin
# List Revenue Centers
data, status_code, headers = api_instance.list_revenue_centers_with_http_info(company_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListRevenueCentersResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_revenue_centers_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
company_id | Integer | The ID of the company. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_templates
list_templates(opts)
List Templates
Lists the available templates.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
opts = {
type: 'all', # String | Type of the templates.
by_type: true # Boolean | [Only if type=all] If true, splits the list in objects, grouping templates by type.
}
begin
# List Templates
result = api_instance.list_templates(opts)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_templates: #{e}"
end
Using the list_templates_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_templates_with_http_info(opts)
begin
# List Templates
data, status_code, headers = api_instance.list_templates_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListTemplatesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_templates_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
type | String | Type of the templates. | [optional][default to 'all'] |
by_type | Boolean | [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional][default to false] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_units_of_measure
list_units_of_measure
List Units of Measure
Lists the units of measure.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
begin
# List Units of Measure
result = api_instance.list_units_of_measure
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_units_of_measure: #{e}"
end
Using the list_units_of_measure_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_units_of_measure_with_http_info
begin
# List Units of Measure
data, status_code, headers = api_instance.list_units_of_measure_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <ListUnitsOfMeasureResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_units_of_measure_with_http_info: #{e}"
end
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
list_vat_types
list_vat_types(company_id, opts)
List Vat Types
Lists the available vat types.
Examples
require 'time'
require 'fattureincloud_ruby_sdk'
# setup authorization
FattureInCloud_Ruby_Sdk.configure do |config|
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.access_token = 'YOUR ACCESS TOKEN'
end
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
company_id = 12345 # Integer | The ID of the company.
opts = {
fieldset: 'basic' # String | Name of the fieldset.
}
begin
# List Vat Types
result = api_instance.list_vat_types(company_id, opts)
p result
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_vat_types: #{e}"
end
Using the list_vat_types_with_http_info variant
This returns an Array which contains the response data, status code and headers.
, Integer, Hash)> list_vat_types_with_http_info(company_id, opts)
begin
# List Vat Types
data, status_code, headers = api_instance.list_vat_types_with_http_info(company_id, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <ListVatTypesResponse>
rescue FattureInCloud_Ruby_Sdk::ApiError => e
puts "Error when calling InfoApi->list_vat_types_with_http_info: #{e}"
end
Parameters
Name | Type | Description | Notes |
---|---|---|---|
company_id | Integer | The ID of the company. | |
fieldset | String | Name of the fieldset. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json