Sha256: 07ca304b2ec5339cc1c5b830955722ded8dcb088991bd51b08d5af78253eb246
Contents?: true
Size: 1.88 KB
Versions: 7
Compression:
Stored size: 1.88 KB
Contents
# TripletexRubyClient::TimesheetsettingsApi All URIs are relative to *https://tripletex.no/v2* Method | HTTP request | Description ------------- | ------------- | ------------- [**get**](TimesheetsettingsApi.md#get) | **GET** /timesheet/settings | [BETA] Get timesheet settings of logged in company. # **get** > ResponseWrapperTimesheetSettings get(opts) [BETA] Get timesheet settings of logged in company. ### Example ```ruby # load the gem require 'tripletex_ruby_client' # setup authorization # # Setup authorization - as autogenerated by swagger-codegen # TripletexRubyClient.configure do |config| # # Configure HTTP basic authorization: tokenAuthScheme # config.username = 'YOUR USERNAME' # config.password = 'YOUR PASSWORD' # end # Setup authorization # TripletexRubyClient.configure do |config| # Configure HTTP basic authorization: tokenAuthScheme config.consumer_token = ENV["TT_CONSUMER_TOKEN"] config.employee_token = ENV["TT_EMPLOYEE_TOKEN"] config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io' config.token_expiration_time = Rails.env.production? ? 1.month : 1.day end api_instance = TripletexRubyClient::TimesheetsettingsApi.new opts = { fields: 'fields_example' # String | Fields filter pattern } begin #[BETA] Get timesheet settings of logged in company. result = api_instance.get(opts) p result rescue TripletexRubyClient::ApiError => e puts "Exception when calling TimesheetsettingsApi->get: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **fields** | **String**| Fields filter pattern | [optional] ### Return type [**ResponseWrapperTimesheetSettings**](ResponseWrapperTimesheetSettings.md) ### Authorization [tokenAuthScheme](../README.md#tokenAuthScheme) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined
Version data entries
7 entries across 7 versions & 1 rubygems