All URIs are relative to https://tripletex.no/v2
| Method | HTTP request | Description |
|---|---|---|
| get_budget_status | GET /project/{id}/period/budgetStatus | Get the budget status for the project period |
| hourlist_report | GET /project/{id}/period/hourlistReport | Find hourlist report by project period. |
| invoiced | GET /project/{id}/period/invoiced | Find invoiced info by project period. |
| invoicing_reserve | GET /project/{id}/period/invoicingReserve | Find invoicing reserve by project period. |
| monthly_status | GET /project/{id}/period/monthlyStatus | Find overall status by project period. |
| overall_status | GET /project/{id}/period/overallStatus | Find overall status by project period. |
ResponseWrapperProjectBudgetStatus get_budget_status(id, opts)
Get the budget status for the project period
# 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::ProjectperiodApi.new
id = 56 # Integer | Element ID
opts = {
fields: 'fields_example' # String | Fields filter pattern
}
begin
#Get the budget status for the project period
result = api_instance.get_budget_status(id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProjectperiodApi->get_budget_status: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Element ID | |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperProjectBudgetStatus
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperProjectPeriodHourlyReport hourlist_report(date_from, date_to, id, opts)
Find hourlist report by project period.
# 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::ProjectperiodApi.new
date_from = 'date_from_example' # String | Format is yyyy-MM-dd (from and incl.).
date_to = 'date_to_example' # String | Format is yyyy-MM-dd (to and excl.).
id = 56 # Integer | Element ID
opts = {
fields: 'fields_example' # String | Fields filter pattern
}
begin
#Find hourlist report by project period.
result = api_instance.hourlist_report(date_from, date_to, id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProjectperiodApi->hourlist_report: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| date_from | String | Format is yyyy-MM-dd (from and incl.). | |
| date_to | String | Format is yyyy-MM-dd (to and excl.). | |
| id | Integer | Element ID | |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperProjectPeriodHourlyReport
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperProjectPeriodInvoiced invoiced(date_from, date_to, id, opts)
Find invoiced info by project period.
# 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::ProjectperiodApi.new
date_from = 'date_from_example' # String | Format is yyyy-MM-dd (from and incl.).
date_to = 'date_to_example' # String | Format is yyyy-MM-dd (to and excl.).
id = 56 # Integer | Element ID
opts = {
fields: 'fields_example' # String | Fields filter pattern
}
begin
#Find invoiced info by project period.
result = api_instance.invoiced(date_from, date_to, id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProjectperiodApi->invoiced: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| date_from | String | Format is yyyy-MM-dd (from and incl.). | |
| date_to | String | Format is yyyy-MM-dd (to and excl.). | |
| id | Integer | Element ID | |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperProjectPeriodInvoiced
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperProjectPeriodInvoicingReserve invoicing_reserve(date_from, date_to, id, opts)
Find invoicing reserve by project period.
# 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::ProjectperiodApi.new
date_from = 'date_from_example' # String | Format is yyyy-MM-dd (from and incl.).
date_to = 'date_to_example' # String | Format is yyyy-MM-dd (to and excl.).
id = 56 # Integer | Element ID
opts = {
fields: 'fields_example' # String | Fields filter pattern
}
begin
#Find invoicing reserve by project period.
result = api_instance.invoicing_reserve(date_from, date_to, id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProjectperiodApi->invoicing_reserve: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| date_from | String | Format is yyyy-MM-dd (from and incl.). | |
| date_to | String | Format is yyyy-MM-dd (to and excl.). | |
| id | Integer | Element ID | |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperProjectPeriodInvoicingReserve
- Content-Type: Not defined
- Accept: Not defined
ListResponseProjectPeriodMonthlyStatus monthly_status(date_from, date_to, id, opts)
Find overall status by project period.
# 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::ProjectperiodApi.new
date_from = 'date_from_example' # String | Format is yyyy-MM-dd (from and incl.).
date_to = 'date_to_example' # String | Format is yyyy-MM-dd (to and excl.).
id = 56 # Integer | Element ID
opts = {
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
#Find overall status by project period.
result = api_instance.monthly_status(date_from, date_to, id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProjectperiodApi->monthly_status: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| date_from | String | Format is yyyy-MM-dd (from and incl.). | |
| date_to | String | Format is yyyy-MM-dd (to and excl.). | |
| id | Integer | Element ID | |
| 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] |
ListResponseProjectPeriodMonthlyStatus
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperProjectPeriodOverallStatus overall_status(date_from, date_to, id, opts)
Find overall status by project period.
# 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::ProjectperiodApi.new
date_from = 'date_from_example' # String | Format is yyyy-MM-dd (from and incl.).
date_to = 'date_to_example' # String | Format is yyyy-MM-dd (to and excl.).
id = 56 # Integer | Element ID
opts = {
fields: 'fields_example' # String | Fields filter pattern
}
begin
#Find overall status by project period.
result = api_instance.overall_status(date_from, date_to, id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProjectperiodApi->overall_status: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| date_from | String | Format is yyyy-MM-dd (from and incl.). | |
| date_to | String | Format is yyyy-MM-dd (to and excl.). | |
| id | Integer | Element ID | |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperProjectPeriodOverallStatus
- Content-Type: Not defined
- Accept: Not defined