affixapi 1.1.46 → 1.1.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +16 -36
- data/docs/Class20230301Api.md +0 -696
- data/docs/{XHRApi.md → XHRVerticallyIntegratedApi.md} +41 -113
- data/lib/openapi_client/api/class20230301_api.rb +1 -587
- data/lib/openapi_client/api/core_api.rb +1 -1
- data/lib/openapi_client/api/management_api.rb +1 -1
- data/lib/openapi_client/api/{xhr_api.rb → xhr_vertically_integrated_api.rb} +35 -100
- data/lib/openapi_client/api_client.rb +1 -1
- data/lib/openapi_client/api_error.rb +1 -1
- data/lib/openapi_client/configuration.rb +1 -1
- data/lib/openapi_client/models/address_no_non_null_request.rb +1 -1
- data/lib/openapi_client/models/address_response.rb +1 -1
- data/lib/openapi_client/models/client_request.rb +1 -1
- data/lib/openapi_client/models/client_response.rb +1 -1
- data/lib/openapi_client/models/company_response.rb +1 -1
- data/lib/openapi_client/models/create_employee_request.rb +1 -1
- data/lib/openapi_client/models/create_employee_request_bank_account.rb +1 -1
- data/lib/openapi_client/models/create_employee_request_manager.rb +1 -1
- data/lib/openapi_client/models/currency_request.rb +1 -1
- data/lib/openapi_client/models/currency_response.rb +1 -1
- data/lib/openapi_client/models/disconnect_response.rb +1 -1
- data/lib/openapi_client/models/employee_response.rb +1 -1
- data/lib/openapi_client/models/employment_no_null_enum_request.rb +1 -1
- data/lib/openapi_client/models/employment_response.rb +1 -1
- data/lib/openapi_client/models/group_no_null_enum_request.rb +1 -1
- data/lib/openapi_client/models/group_response.rb +1 -1
- data/lib/openapi_client/models/id_and_message_response.rb +1 -1
- data/lib/openapi_client/models/identity_response.rb +1 -1
- data/lib/openapi_client/models/inline_response400.rb +1 -1
- data/lib/openapi_client/models/inline_response401.rb +1 -1
- data/lib/openapi_client/models/inline_response409.rb +1 -1
- data/lib/openapi_client/models/introspect_response.rb +1 -1
- data/lib/openapi_client/models/location_no_non_null_request.rb +1 -1
- data/lib/openapi_client/models/location_response.rb +1 -1
- data/lib/openapi_client/models/message_response.rb +1 -1
- data/lib/openapi_client/models/mode_request.rb +1 -1
- data/lib/openapi_client/models/mode_response.rb +1 -1
- data/lib/openapi_client/models/payrun_response.rb +1 -1
- data/lib/openapi_client/models/payslip_response.rb +1 -1
- data/lib/openapi_client/models/payslip_response_contributions.rb +1 -1
- data/lib/openapi_client/models/payslip_response_deductions.rb +1 -1
- data/lib/openapi_client/models/payslip_response_earnings.rb +1 -1
- data/lib/openapi_client/models/payslip_response_taxes.rb +1 -1
- data/lib/openapi_client/models/provider_request.rb +1 -1
- data/lib/openapi_client/models/provider_response.rb +1 -1
- data/lib/openapi_client/models/scopes_request.rb +1 -1
- data/lib/openapi_client/models/scopes_response.rb +1 -1
- data/lib/openapi_client/models/time_off_balance_response.rb +1 -1
- data/lib/openapi_client/models/time_off_entry_response.rb +1 -1
- data/lib/openapi_client/models/timesheet_response.rb +1 -1
- data/lib/openapi_client/models/token_request.rb +1 -1
- data/lib/openapi_client/models/token_response.rb +1 -1
- data/lib/openapi_client/version.rb +2 -2
- data/lib/openapi_client.rb +2 -3
- data/spec/api/class20230301_api_spec.rb +1 -113
- data/spec/api/core_api_spec.rb +1 -1
- data/spec/api/management_api_spec.rb +1 -1
- data/spec/api/xhr_vertically_integrated_api_spec.rb +148 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/address_no_non_null_request_spec.rb +1 -1
- data/spec/models/address_response_spec.rb +1 -1
- data/spec/models/client_request_spec.rb +1 -1
- data/spec/models/client_response_spec.rb +1 -1
- data/spec/models/company_response_spec.rb +1 -1
- data/spec/models/create_employee_request_bank_account_spec.rb +1 -1
- data/spec/models/create_employee_request_manager_spec.rb +1 -1
- data/spec/models/create_employee_request_spec.rb +1 -1
- data/spec/models/currency_request_spec.rb +1 -1
- data/spec/models/currency_response_spec.rb +1 -1
- data/spec/models/disconnect_response_spec.rb +1 -1
- data/spec/models/employee_response_spec.rb +1 -1
- data/spec/models/employment_no_null_enum_request_spec.rb +1 -1
- data/spec/models/employment_response_spec.rb +1 -1
- data/spec/models/group_no_null_enum_request_spec.rb +1 -1
- data/spec/models/group_response_spec.rb +1 -1
- data/spec/models/id_and_message_response_spec.rb +1 -1
- data/spec/models/identity_response_spec.rb +1 -1
- data/spec/models/inline_response400_spec.rb +1 -1
- data/spec/models/inline_response401_spec.rb +1 -1
- data/spec/models/inline_response409_spec.rb +1 -1
- data/spec/models/introspect_response_spec.rb +1 -1
- data/spec/models/location_no_non_null_request_spec.rb +1 -1
- data/spec/models/location_response_spec.rb +1 -1
- data/spec/models/message_response_spec.rb +1 -1
- data/spec/models/mode_request_spec.rb +1 -1
- data/spec/models/mode_response_spec.rb +1 -1
- data/spec/models/payrun_response_spec.rb +1 -1
- data/spec/models/payslip_response_contributions_spec.rb +1 -1
- data/spec/models/payslip_response_deductions_spec.rb +1 -1
- data/spec/models/payslip_response_earnings_spec.rb +1 -1
- data/spec/models/payslip_response_spec.rb +1 -1
- data/spec/models/payslip_response_taxes_spec.rb +1 -1
- data/spec/models/provider_request_spec.rb +1 -1
- data/spec/models/provider_response_spec.rb +1 -1
- data/spec/models/scopes_request_spec.rb +1 -1
- data/spec/models/scopes_response_spec.rb +1 -1
- data/spec/models/time_off_balance_response_spec.rb +1 -1
- data/spec/models/time_off_entry_response_spec.rb +1 -1
- data/spec/models/timesheet_response_spec.rb +1 -1
- data/spec/models/token_request_spec.rb +1 -1
- data/spec/models/token_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -10
- data/docs/OfficialApi.md +0 -631
- data/lib/openapi_client/api/official_api.rb +0 -543
- data/spec/api/official_api_spec.rb +0 -135
- data/spec/api/xhr_api_spec.rb +0 -160
@@ -1,20 +1,19 @@
|
|
1
|
-
# OpenapiClient::
|
1
|
+
# OpenapiClient::XHRVerticallyIntegratedApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.affixapi.com*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**xhr_companies20230301**](
|
8
|
-
| [**
|
9
|
-
| [**
|
10
|
-
| [**
|
11
|
-
| [**
|
12
|
-
| [**
|
13
|
-
| [**
|
14
|
-
| [**
|
15
|
-
| [**
|
16
|
-
| [**
|
17
|
-
| [**xhr_work_locations20230301**](XHRApi.md#xhr_work_locations20230301) | **GET** /2023-03-01/xhr/work-locations | Work locations |
|
7
|
+
| [**xhr_companies20230301**](XHRVerticallyIntegratedApi.md#xhr_companies20230301) | **GET** /2023-03-01/xhr/company | Company |
|
8
|
+
| [**xhr_employees20230301**](XHRVerticallyIntegratedApi.md#xhr_employees20230301) | **GET** /2023-03-01/xhr/employees | Employees |
|
9
|
+
| [**xhr_groups20230301**](XHRVerticallyIntegratedApi.md#xhr_groups20230301) | **GET** /2023-03-01/xhr/groups | Groups |
|
10
|
+
| [**xhr_identity20230301**](XHRVerticallyIntegratedApi.md#xhr_identity20230301) | **GET** /2023-03-01/xhr/identity | Identity |
|
11
|
+
| [**xhr_payruns20230301**](XHRVerticallyIntegratedApi.md#xhr_payruns20230301) | **GET** /2023-03-01/xhr/payruns | Payruns |
|
12
|
+
| [**xhr_payslips20230301**](XHRVerticallyIntegratedApi.md#xhr_payslips20230301) | **GET** /2023-03-01/xhr/payruns/{payrun_id} | Payslips |
|
13
|
+
| [**xhr_time_off_balances20230301**](XHRVerticallyIntegratedApi.md#xhr_time_off_balances20230301) | **GET** /2023-03-01/xhr/time-off-balances | Time off balances |
|
14
|
+
| [**xhr_time_off_entries20230301**](XHRVerticallyIntegratedApi.md#xhr_time_off_entries20230301) | **GET** /2023-03-01/xhr/time-off-entries | Time off entries |
|
15
|
+
| [**xhr_timesheets20230301**](XHRVerticallyIntegratedApi.md#xhr_timesheets20230301) | **GET** /2023-03-01/xhr/timesheets | Timesheets |
|
16
|
+
| [**xhr_work_locations20230301**](XHRVerticallyIntegratedApi.md#xhr_work_locations20230301) | **GET** /2023-03-01/xhr/work-locations | Work locations |
|
18
17
|
|
19
18
|
|
20
19
|
## xhr_companies20230301
|
@@ -38,14 +37,14 @@ OpenapiClient.configure do |config|
|
|
38
37
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
39
38
|
end
|
40
39
|
|
41
|
-
api_instance = OpenapiClient::
|
40
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
42
41
|
|
43
42
|
begin
|
44
43
|
# Company
|
45
44
|
result = api_instance.xhr_companies20230301
|
46
45
|
p result
|
47
46
|
rescue OpenapiClient::ApiError => e
|
48
|
-
puts "Error when calling
|
47
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_companies20230301: #{e}"
|
49
48
|
end
|
50
49
|
```
|
51
50
|
|
@@ -63,7 +62,7 @@ begin
|
|
63
62
|
p headers # => { ... }
|
64
63
|
p data # => <Array<CompanyResponse>>
|
65
64
|
rescue OpenapiClient::ApiError => e
|
66
|
-
puts "Error when calling
|
65
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_companies20230301_with_http_info: #{e}"
|
67
66
|
end
|
68
67
|
```
|
69
68
|
|
@@ -85,77 +84,6 @@ This endpoint does not need any parameter.
|
|
85
84
|
- **Accept**: application/json
|
86
85
|
|
87
86
|
|
88
|
-
## xhr_create_employee20230301
|
89
|
-
|
90
|
-
> <EmployeeResponse> xhr_create_employee20230301(create_employee_request)
|
91
|
-
|
92
|
-
Create employee
|
93
|
-
|
94
|
-
Creates a new Employee
|
95
|
-
|
96
|
-
### Examples
|
97
|
-
|
98
|
-
```ruby
|
99
|
-
require 'time'
|
100
|
-
require 'openapi_client'
|
101
|
-
# setup authorization
|
102
|
-
OpenapiClient.configure do |config|
|
103
|
-
# Configure API key authorization: access-token
|
104
|
-
config.api_key['access-token'] = 'YOUR API KEY'
|
105
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
106
|
-
# config.api_key_prefix['access-token'] = 'Bearer'
|
107
|
-
end
|
108
|
-
|
109
|
-
api_instance = OpenapiClient::XHRApi.new
|
110
|
-
create_employee_request = OpenapiClient::CreateEmployeeRequest.new({first_name: 'Greg', last_name: 'Hirsch'}) # CreateEmployeeRequest |
|
111
|
-
|
112
|
-
begin
|
113
|
-
# Create employee
|
114
|
-
result = api_instance.xhr_create_employee20230301(create_employee_request)
|
115
|
-
p result
|
116
|
-
rescue OpenapiClient::ApiError => e
|
117
|
-
puts "Error when calling XHRApi->xhr_create_employee20230301: #{e}"
|
118
|
-
end
|
119
|
-
```
|
120
|
-
|
121
|
-
#### Using the xhr_create_employee20230301_with_http_info variant
|
122
|
-
|
123
|
-
This returns an Array which contains the response data, status code and headers.
|
124
|
-
|
125
|
-
> <Array(<EmployeeResponse>, Integer, Hash)> xhr_create_employee20230301_with_http_info(create_employee_request)
|
126
|
-
|
127
|
-
```ruby
|
128
|
-
begin
|
129
|
-
# Create employee
|
130
|
-
data, status_code, headers = api_instance.xhr_create_employee20230301_with_http_info(create_employee_request)
|
131
|
-
p status_code # => 2xx
|
132
|
-
p headers # => { ... }
|
133
|
-
p data # => <EmployeeResponse>
|
134
|
-
rescue OpenapiClient::ApiError => e
|
135
|
-
puts "Error when calling XHRApi->xhr_create_employee20230301_with_http_info: #{e}"
|
136
|
-
end
|
137
|
-
```
|
138
|
-
|
139
|
-
### Parameters
|
140
|
-
|
141
|
-
| Name | Type | Description | Notes |
|
142
|
-
| ---- | ---- | ----------- | ----- |
|
143
|
-
| **create_employee_request** | [**CreateEmployeeRequest**](CreateEmployeeRequest.md) | | |
|
144
|
-
|
145
|
-
### Return type
|
146
|
-
|
147
|
-
[**EmployeeResponse**](EmployeeResponse.md)
|
148
|
-
|
149
|
-
### Authorization
|
150
|
-
|
151
|
-
[access-token](../README.md#access-token)
|
152
|
-
|
153
|
-
### HTTP request headers
|
154
|
-
|
155
|
-
- **Content-Type**: application/json
|
156
|
-
- **Accept**: application/json
|
157
|
-
|
158
|
-
|
159
87
|
## xhr_employees20230301
|
160
88
|
|
161
89
|
> <Array<EmployeeResponse>> xhr_employees20230301
|
@@ -177,14 +105,14 @@ OpenapiClient.configure do |config|
|
|
177
105
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
178
106
|
end
|
179
107
|
|
180
|
-
api_instance = OpenapiClient::
|
108
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
181
109
|
|
182
110
|
begin
|
183
111
|
# Employees
|
184
112
|
result = api_instance.xhr_employees20230301
|
185
113
|
p result
|
186
114
|
rescue OpenapiClient::ApiError => e
|
187
|
-
puts "Error when calling
|
115
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_employees20230301: #{e}"
|
188
116
|
end
|
189
117
|
```
|
190
118
|
|
@@ -202,7 +130,7 @@ begin
|
|
202
130
|
p headers # => { ... }
|
203
131
|
p data # => <Array<EmployeeResponse>>
|
204
132
|
rescue OpenapiClient::ApiError => e
|
205
|
-
puts "Error when calling
|
133
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_employees20230301_with_http_info: #{e}"
|
206
134
|
end
|
207
135
|
```
|
208
136
|
|
@@ -245,14 +173,14 @@ OpenapiClient.configure do |config|
|
|
245
173
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
246
174
|
end
|
247
175
|
|
248
|
-
api_instance = OpenapiClient::
|
176
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
249
177
|
|
250
178
|
begin
|
251
179
|
# Groups
|
252
180
|
result = api_instance.xhr_groups20230301
|
253
181
|
p result
|
254
182
|
rescue OpenapiClient::ApiError => e
|
255
|
-
puts "Error when calling
|
183
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_groups20230301: #{e}"
|
256
184
|
end
|
257
185
|
```
|
258
186
|
|
@@ -270,7 +198,7 @@ begin
|
|
270
198
|
p headers # => { ... }
|
271
199
|
p data # => <Array<GroupResponse>>
|
272
200
|
rescue OpenapiClient::ApiError => e
|
273
|
-
puts "Error when calling
|
201
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_groups20230301_with_http_info: #{e}"
|
274
202
|
end
|
275
203
|
```
|
276
204
|
|
@@ -313,14 +241,14 @@ OpenapiClient.configure do |config|
|
|
313
241
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
314
242
|
end
|
315
243
|
|
316
|
-
api_instance = OpenapiClient::
|
244
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
317
245
|
|
318
246
|
begin
|
319
247
|
# Identity
|
320
248
|
result = api_instance.xhr_identity20230301
|
321
249
|
p result
|
322
250
|
rescue OpenapiClient::ApiError => e
|
323
|
-
puts "Error when calling
|
251
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_identity20230301: #{e}"
|
324
252
|
end
|
325
253
|
```
|
326
254
|
|
@@ -338,7 +266,7 @@ begin
|
|
338
266
|
p headers # => { ... }
|
339
267
|
p data # => <IdentityResponse>
|
340
268
|
rescue OpenapiClient::ApiError => e
|
341
|
-
puts "Error when calling
|
269
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_identity20230301_with_http_info: #{e}"
|
342
270
|
end
|
343
271
|
```
|
344
272
|
|
@@ -381,7 +309,7 @@ OpenapiClient.configure do |config|
|
|
381
309
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
382
310
|
end
|
383
311
|
|
384
|
-
api_instance = OpenapiClient::
|
312
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
385
313
|
start_date = Date.parse('2013-10-20') # Date | The start date of the search period
|
386
314
|
end_date = Date.parse('2013-10-20') # Date | The end date of the search period
|
387
315
|
|
@@ -390,7 +318,7 @@ begin
|
|
390
318
|
result = api_instance.xhr_payruns20230301(start_date, end_date)
|
391
319
|
p result
|
392
320
|
rescue OpenapiClient::ApiError => e
|
393
|
-
puts "Error when calling
|
321
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_payruns20230301: #{e}"
|
394
322
|
end
|
395
323
|
```
|
396
324
|
|
@@ -408,7 +336,7 @@ begin
|
|
408
336
|
p headers # => { ... }
|
409
337
|
p data # => <Array<PayrunResponse>>
|
410
338
|
rescue OpenapiClient::ApiError => e
|
411
|
-
puts "Error when calling
|
339
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_payruns20230301_with_http_info: #{e}"
|
412
340
|
end
|
413
341
|
```
|
414
342
|
|
@@ -454,7 +382,7 @@ OpenapiClient.configure do |config|
|
|
454
382
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
455
383
|
end
|
456
384
|
|
457
|
-
api_instance = OpenapiClient::
|
385
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
458
386
|
payrun_id = 'payrun_id_example' # String | The id of the payrun.
|
459
387
|
|
460
388
|
begin
|
@@ -462,7 +390,7 @@ begin
|
|
462
390
|
result = api_instance.xhr_payslips20230301(payrun_id)
|
463
391
|
p result
|
464
392
|
rescue OpenapiClient::ApiError => e
|
465
|
-
puts "Error when calling
|
393
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_payslips20230301: #{e}"
|
466
394
|
end
|
467
395
|
```
|
468
396
|
|
@@ -480,7 +408,7 @@ begin
|
|
480
408
|
p headers # => { ... }
|
481
409
|
p data # => <Array<PayslipResponse>>
|
482
410
|
rescue OpenapiClient::ApiError => e
|
483
|
-
puts "Error when calling
|
411
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_payslips20230301_with_http_info: #{e}"
|
484
412
|
end
|
485
413
|
```
|
486
414
|
|
@@ -525,14 +453,14 @@ OpenapiClient.configure do |config|
|
|
525
453
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
526
454
|
end
|
527
455
|
|
528
|
-
api_instance = OpenapiClient::
|
456
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
529
457
|
|
530
458
|
begin
|
531
459
|
# Time off balances
|
532
460
|
result = api_instance.xhr_time_off_balances20230301
|
533
461
|
p result
|
534
462
|
rescue OpenapiClient::ApiError => e
|
535
|
-
puts "Error when calling
|
463
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_balances20230301: #{e}"
|
536
464
|
end
|
537
465
|
```
|
538
466
|
|
@@ -550,7 +478,7 @@ begin
|
|
550
478
|
p headers # => { ... }
|
551
479
|
p data # => <Array<TimeOffBalanceResponse>>
|
552
480
|
rescue OpenapiClient::ApiError => e
|
553
|
-
puts "Error when calling
|
481
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_balances20230301_with_http_info: #{e}"
|
554
482
|
end
|
555
483
|
```
|
556
484
|
|
@@ -593,14 +521,14 @@ OpenapiClient.configure do |config|
|
|
593
521
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
594
522
|
end
|
595
523
|
|
596
|
-
api_instance = OpenapiClient::
|
524
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
597
525
|
|
598
526
|
begin
|
599
527
|
# Time off entries
|
600
528
|
result = api_instance.xhr_time_off_entries20230301
|
601
529
|
p result
|
602
530
|
rescue OpenapiClient::ApiError => e
|
603
|
-
puts "Error when calling
|
531
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_entries20230301: #{e}"
|
604
532
|
end
|
605
533
|
```
|
606
534
|
|
@@ -618,7 +546,7 @@ begin
|
|
618
546
|
p headers # => { ... }
|
619
547
|
p data # => <Array<TimeOffEntryResponse>>
|
620
548
|
rescue OpenapiClient::ApiError => e
|
621
|
-
puts "Error when calling
|
549
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_entries20230301_with_http_info: #{e}"
|
622
550
|
end
|
623
551
|
```
|
624
552
|
|
@@ -661,14 +589,14 @@ OpenapiClient.configure do |config|
|
|
661
589
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
662
590
|
end
|
663
591
|
|
664
|
-
api_instance = OpenapiClient::
|
592
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
665
593
|
|
666
594
|
begin
|
667
595
|
# Timesheets
|
668
596
|
result = api_instance.xhr_timesheets20230301
|
669
597
|
p result
|
670
598
|
rescue OpenapiClient::ApiError => e
|
671
|
-
puts "Error when calling
|
599
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_timesheets20230301: #{e}"
|
672
600
|
end
|
673
601
|
```
|
674
602
|
|
@@ -686,7 +614,7 @@ begin
|
|
686
614
|
p headers # => { ... }
|
687
615
|
p data # => <Array<TimesheetResponse>>
|
688
616
|
rescue OpenapiClient::ApiError => e
|
689
|
-
puts "Error when calling
|
617
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_timesheets20230301_with_http_info: #{e}"
|
690
618
|
end
|
691
619
|
```
|
692
620
|
|
@@ -729,14 +657,14 @@ OpenapiClient.configure do |config|
|
|
729
657
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
730
658
|
end
|
731
659
|
|
732
|
-
api_instance = OpenapiClient::
|
660
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
733
661
|
|
734
662
|
begin
|
735
663
|
# Work locations
|
736
664
|
result = api_instance.xhr_work_locations20230301
|
737
665
|
p result
|
738
666
|
rescue OpenapiClient::ApiError => e
|
739
|
-
puts "Error when calling
|
667
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_work_locations20230301: #{e}"
|
740
668
|
end
|
741
669
|
```
|
742
670
|
|
@@ -754,7 +682,7 @@ begin
|
|
754
682
|
p headers # => { ... }
|
755
683
|
p data # => <Array<LocationResponse>>
|
756
684
|
rescue OpenapiClient::ApiError => e
|
757
|
-
puts "Error when calling
|
685
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_work_locations20230301_with_http_info: #{e}"
|
758
686
|
end
|
759
687
|
```
|
760
688
|
|