All URIs are relative to https://tripletex.no/v2
Method | HTTP request | Description |
---|---|---|
delete | DELETE /salary/settings/pensionScheme/{id} | [BETA] Delete a Pension Scheme |
delete_by_ids | DELETE /salary/settings/pensionScheme/list | [BETA] delete multiple Pension Schemes. |
get | GET /salary/settings/pensionScheme/{id} | [BETA] Get Pension Scheme for a specific ID |
post | POST /salary/settings/pensionScheme | [BETA] Create a Pension Scheme. |
post_list | POST /salary/settings/pensionScheme/list | [BETA] Create multiple Pension Schemes. |
put | PUT /salary/settings/pensionScheme/{id} | [BETA] Update a Pension Scheme |
put_list | PUT /salary/settings/pensionScheme/list | [BETA] update multiple Pension Schemes. |
search | GET /salary/settings/pensionScheme | [BETA] Find pension schemes. |
delete(id)
[BETA] Delete a Pension Scheme
# 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::SalarysettingspensionSchemeApi.new
id = 56 # Integer | Element ID
begin
#[BETA] Delete a Pension Scheme
api_instance.delete(id)
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling SalarysettingspensionSchemeApi->delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | Element ID |
nil (empty response body)
- Content-Type: Not defined
- Accept: Not defined
delete_by_ids(ids)
[BETA] delete multiple Pension Schemes.
# 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::SalarysettingspensionSchemeApi.new
ids = 'ids_example' # String | ID of the elements
begin
#[BETA] delete multiple Pension Schemes.
api_instance.delete_by_ids(ids)
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling SalarysettingspensionSchemeApi->delete_by_ids: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
ids | String | ID of the elements |
nil (empty response body)
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperPensionScheme get(id, opts)
[BETA] Get Pension Scheme for a specific ID
# 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::SalarysettingspensionSchemeApi.new
id = 56 # Integer | Element ID
opts = {
fields: 'fields_example' # String | Fields filter pattern
}
begin
#[BETA] Get Pension Scheme for a specific ID
result = api_instance.get(id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling SalarysettingspensionSchemeApi->get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | Element ID | |
fields | String | Fields filter pattern | [optional] |
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperPensionScheme post(opts)
[BETA] Create a Pension Scheme.
# 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::SalarysettingspensionSchemeApi.new
opts = {
body: TripletexRubyClient::PensionScheme.new # PensionScheme | JSON representing the new object to be created. Should not have ID and version set.
}
begin
#[BETA] Create a Pension Scheme.
result = api_instance.post(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling SalarysettingspensionSchemeApi->post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | PensionScheme | JSON representing the new object to be created. Should not have ID and version set. | [optional] |
- Content-Type: Not defined
- Accept: Not defined
ListResponsePensionScheme post_list(opts)
[BETA] Create multiple Pension Schemes.
# 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::SalarysettingspensionSchemeApi.new
opts = {
body: [TripletexRubyClient::PensionScheme.new] # Array<PensionScheme> | JSON representing a list of new object to be created. Should not have ID and version set.
}
begin
#[BETA] Create multiple Pension Schemes.
result = api_instance.post_list(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling SalarysettingspensionSchemeApi->post_list: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | Array<PensionScheme> | JSON representing a list of new object to be created. Should not have ID and version set. | [optional] |
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ResponseWrapperPensionScheme put(id, opts)
[BETA] Update a Pension Scheme
# 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::SalarysettingspensionSchemeApi.new
id = 56 # Integer | Element ID
opts = {
body: TripletexRubyClient::PensionScheme.new # PensionScheme | JSON representing the new object to be created. Should not have ID and version set.
}
begin
#[BETA] Update a Pension Scheme
result = api_instance.put(id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling SalarysettingspensionSchemeApi->put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | Element ID | |
body | PensionScheme | JSON representing the new object to be created. Should not have ID and version set. | [optional] |
- Content-Type: Not defined
- Accept: Not defined
ListResponsePensionScheme put_list(opts)
[BETA] update multiple Pension Schemes.
# 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::SalarysettingspensionSchemeApi.new
opts = {
body: [TripletexRubyClient::PensionScheme.new] # Array<PensionScheme> | JSON representing updates to object. Should have ID and version set.
}
begin
#[BETA] update multiple Pension Schemes.
result = api_instance.put_list(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling SalarysettingspensionSchemeApi->put_list: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | Array<PensionScheme> | JSON representing updates to object. Should have ID and version set. | [optional] |
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ListResponsePensionScheme search(opts)
[BETA] Find pension schemes.
# 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::SalarysettingspensionSchemeApi.new
opts = {
number: 'number_example', # String | Equals
from: 0, # Integer | From index
count: 1000, # Integer | Number of elements to return
sorting: 'sorting_example', # String | Sorting pattern
fields: 'fields_example' # String | Fields filter pattern
}
begin
#[BETA] Find pension schemes.
result = api_instance.search(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling SalarysettingspensionSchemeApi->search: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
number | String | Equals | [optional] |
from | Integer | From index | [optional] [default to 0] |
count | Integer | Number of elements to return | [optional] [default to 1000] |
sorting | String | Sorting pattern | [optional] |
fields | String | Fields filter pattern | [optional] |
- Content-Type: Not defined
- Accept: Not defined