affixapi 1.1.46 → 1.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +17 -35
- data/docs/Class20230301Api.md +0 -624
- data/docs/{XHRApi.md → XHRVerticallyIntegratedApi.md} +45 -45
- data/lib/openapi_client/api/class20230301_api.rb +1 -522
- 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} +39 -39
- 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 -101
- 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 +160 -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,20 @@
|
|
|
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
|
-
| [**xhr_create_employee20230301**](
|
|
9
|
-
| [**xhr_employees20230301**](
|
|
10
|
-
| [**xhr_groups20230301**](
|
|
11
|
-
| [**xhr_identity20230301**](
|
|
12
|
-
| [**xhr_payruns20230301**](
|
|
13
|
-
| [**xhr_payslips20230301**](
|
|
14
|
-
| [**xhr_time_off_balances20230301**](
|
|
15
|
-
| [**xhr_time_off_entries20230301**](
|
|
16
|
-
| [**xhr_timesheets20230301**](
|
|
17
|
-
| [**xhr_work_locations20230301**](
|
|
7
|
+
| [**xhr_companies20230301**](XHRVerticallyIntegratedApi.md#xhr_companies20230301) | **GET** /2023-03-01/xhr/company | Company |
|
|
8
|
+
| [**xhr_create_employee20230301**](XHRVerticallyIntegratedApi.md#xhr_create_employee20230301) | **POST** /2023-03-01/xhr/employee | Create employee |
|
|
9
|
+
| [**xhr_employees20230301**](XHRVerticallyIntegratedApi.md#xhr_employees20230301) | **GET** /2023-03-01/xhr/employees | Employees |
|
|
10
|
+
| [**xhr_groups20230301**](XHRVerticallyIntegratedApi.md#xhr_groups20230301) | **GET** /2023-03-01/xhr/groups | Groups |
|
|
11
|
+
| [**xhr_identity20230301**](XHRVerticallyIntegratedApi.md#xhr_identity20230301) | **GET** /2023-03-01/xhr/identity | Identity |
|
|
12
|
+
| [**xhr_payruns20230301**](XHRVerticallyIntegratedApi.md#xhr_payruns20230301) | **GET** /2023-03-01/xhr/payruns | Payruns |
|
|
13
|
+
| [**xhr_payslips20230301**](XHRVerticallyIntegratedApi.md#xhr_payslips20230301) | **GET** /2023-03-01/xhr/payruns/{payrun_id} | Payslips |
|
|
14
|
+
| [**xhr_time_off_balances20230301**](XHRVerticallyIntegratedApi.md#xhr_time_off_balances20230301) | **GET** /2023-03-01/xhr/time-off-balances | Time off balances |
|
|
15
|
+
| [**xhr_time_off_entries20230301**](XHRVerticallyIntegratedApi.md#xhr_time_off_entries20230301) | **GET** /2023-03-01/xhr/time-off-entries | Time off entries |
|
|
16
|
+
| [**xhr_timesheets20230301**](XHRVerticallyIntegratedApi.md#xhr_timesheets20230301) | **GET** /2023-03-01/xhr/timesheets | Timesheets |
|
|
17
|
+
| [**xhr_work_locations20230301**](XHRVerticallyIntegratedApi.md#xhr_work_locations20230301) | **GET** /2023-03-01/xhr/work-locations | Work locations |
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
## xhr_companies20230301
|
|
@@ -38,14 +38,14 @@ OpenapiClient.configure do |config|
|
|
|
38
38
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
api_instance = OpenapiClient::
|
|
41
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
42
42
|
|
|
43
43
|
begin
|
|
44
44
|
# Company
|
|
45
45
|
result = api_instance.xhr_companies20230301
|
|
46
46
|
p result
|
|
47
47
|
rescue OpenapiClient::ApiError => e
|
|
48
|
-
puts "Error when calling
|
|
48
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_companies20230301: #{e}"
|
|
49
49
|
end
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -63,7 +63,7 @@ begin
|
|
|
63
63
|
p headers # => { ... }
|
|
64
64
|
p data # => <Array<CompanyResponse>>
|
|
65
65
|
rescue OpenapiClient::ApiError => e
|
|
66
|
-
puts "Error when calling
|
|
66
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_companies20230301_with_http_info: #{e}"
|
|
67
67
|
end
|
|
68
68
|
```
|
|
69
69
|
|
|
@@ -106,7 +106,7 @@ OpenapiClient.configure do |config|
|
|
|
106
106
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
api_instance = OpenapiClient::
|
|
109
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
110
110
|
create_employee_request = OpenapiClient::CreateEmployeeRequest.new({first_name: 'Greg', last_name: 'Hirsch'}) # CreateEmployeeRequest |
|
|
111
111
|
|
|
112
112
|
begin
|
|
@@ -114,7 +114,7 @@ begin
|
|
|
114
114
|
result = api_instance.xhr_create_employee20230301(create_employee_request)
|
|
115
115
|
p result
|
|
116
116
|
rescue OpenapiClient::ApiError => e
|
|
117
|
-
puts "Error when calling
|
|
117
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_create_employee20230301: #{e}"
|
|
118
118
|
end
|
|
119
119
|
```
|
|
120
120
|
|
|
@@ -132,7 +132,7 @@ begin
|
|
|
132
132
|
p headers # => { ... }
|
|
133
133
|
p data # => <EmployeeResponse>
|
|
134
134
|
rescue OpenapiClient::ApiError => e
|
|
135
|
-
puts "Error when calling
|
|
135
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_create_employee20230301_with_http_info: #{e}"
|
|
136
136
|
end
|
|
137
137
|
```
|
|
138
138
|
|
|
@@ -177,14 +177,14 @@ OpenapiClient.configure do |config|
|
|
|
177
177
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
api_instance = OpenapiClient::
|
|
180
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
181
181
|
|
|
182
182
|
begin
|
|
183
183
|
# Employees
|
|
184
184
|
result = api_instance.xhr_employees20230301
|
|
185
185
|
p result
|
|
186
186
|
rescue OpenapiClient::ApiError => e
|
|
187
|
-
puts "Error when calling
|
|
187
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_employees20230301: #{e}"
|
|
188
188
|
end
|
|
189
189
|
```
|
|
190
190
|
|
|
@@ -202,7 +202,7 @@ begin
|
|
|
202
202
|
p headers # => { ... }
|
|
203
203
|
p data # => <Array<EmployeeResponse>>
|
|
204
204
|
rescue OpenapiClient::ApiError => e
|
|
205
|
-
puts "Error when calling
|
|
205
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_employees20230301_with_http_info: #{e}"
|
|
206
206
|
end
|
|
207
207
|
```
|
|
208
208
|
|
|
@@ -245,14 +245,14 @@ OpenapiClient.configure do |config|
|
|
|
245
245
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
246
246
|
end
|
|
247
247
|
|
|
248
|
-
api_instance = OpenapiClient::
|
|
248
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
249
249
|
|
|
250
250
|
begin
|
|
251
251
|
# Groups
|
|
252
252
|
result = api_instance.xhr_groups20230301
|
|
253
253
|
p result
|
|
254
254
|
rescue OpenapiClient::ApiError => e
|
|
255
|
-
puts "Error when calling
|
|
255
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_groups20230301: #{e}"
|
|
256
256
|
end
|
|
257
257
|
```
|
|
258
258
|
|
|
@@ -270,7 +270,7 @@ begin
|
|
|
270
270
|
p headers # => { ... }
|
|
271
271
|
p data # => <Array<GroupResponse>>
|
|
272
272
|
rescue OpenapiClient::ApiError => e
|
|
273
|
-
puts "Error when calling
|
|
273
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_groups20230301_with_http_info: #{e}"
|
|
274
274
|
end
|
|
275
275
|
```
|
|
276
276
|
|
|
@@ -313,14 +313,14 @@ OpenapiClient.configure do |config|
|
|
|
313
313
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
314
314
|
end
|
|
315
315
|
|
|
316
|
-
api_instance = OpenapiClient::
|
|
316
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
317
317
|
|
|
318
318
|
begin
|
|
319
319
|
# Identity
|
|
320
320
|
result = api_instance.xhr_identity20230301
|
|
321
321
|
p result
|
|
322
322
|
rescue OpenapiClient::ApiError => e
|
|
323
|
-
puts "Error when calling
|
|
323
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_identity20230301: #{e}"
|
|
324
324
|
end
|
|
325
325
|
```
|
|
326
326
|
|
|
@@ -338,7 +338,7 @@ begin
|
|
|
338
338
|
p headers # => { ... }
|
|
339
339
|
p data # => <IdentityResponse>
|
|
340
340
|
rescue OpenapiClient::ApiError => e
|
|
341
|
-
puts "Error when calling
|
|
341
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_identity20230301_with_http_info: #{e}"
|
|
342
342
|
end
|
|
343
343
|
```
|
|
344
344
|
|
|
@@ -381,7 +381,7 @@ OpenapiClient.configure do |config|
|
|
|
381
381
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
382
382
|
end
|
|
383
383
|
|
|
384
|
-
api_instance = OpenapiClient::
|
|
384
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
385
385
|
start_date = Date.parse('2013-10-20') # Date | The start date of the search period
|
|
386
386
|
end_date = Date.parse('2013-10-20') # Date | The end date of the search period
|
|
387
387
|
|
|
@@ -390,7 +390,7 @@ begin
|
|
|
390
390
|
result = api_instance.xhr_payruns20230301(start_date, end_date)
|
|
391
391
|
p result
|
|
392
392
|
rescue OpenapiClient::ApiError => e
|
|
393
|
-
puts "Error when calling
|
|
393
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_payruns20230301: #{e}"
|
|
394
394
|
end
|
|
395
395
|
```
|
|
396
396
|
|
|
@@ -408,7 +408,7 @@ begin
|
|
|
408
408
|
p headers # => { ... }
|
|
409
409
|
p data # => <Array<PayrunResponse>>
|
|
410
410
|
rescue OpenapiClient::ApiError => e
|
|
411
|
-
puts "Error when calling
|
|
411
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_payruns20230301_with_http_info: #{e}"
|
|
412
412
|
end
|
|
413
413
|
```
|
|
414
414
|
|
|
@@ -454,7 +454,7 @@ OpenapiClient.configure do |config|
|
|
|
454
454
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
455
455
|
end
|
|
456
456
|
|
|
457
|
-
api_instance = OpenapiClient::
|
|
457
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
458
458
|
payrun_id = 'payrun_id_example' # String | The id of the payrun.
|
|
459
459
|
|
|
460
460
|
begin
|
|
@@ -462,7 +462,7 @@ begin
|
|
|
462
462
|
result = api_instance.xhr_payslips20230301(payrun_id)
|
|
463
463
|
p result
|
|
464
464
|
rescue OpenapiClient::ApiError => e
|
|
465
|
-
puts "Error when calling
|
|
465
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_payslips20230301: #{e}"
|
|
466
466
|
end
|
|
467
467
|
```
|
|
468
468
|
|
|
@@ -480,7 +480,7 @@ begin
|
|
|
480
480
|
p headers # => { ... }
|
|
481
481
|
p data # => <Array<PayslipResponse>>
|
|
482
482
|
rescue OpenapiClient::ApiError => e
|
|
483
|
-
puts "Error when calling
|
|
483
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_payslips20230301_with_http_info: #{e}"
|
|
484
484
|
end
|
|
485
485
|
```
|
|
486
486
|
|
|
@@ -525,14 +525,14 @@ OpenapiClient.configure do |config|
|
|
|
525
525
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
526
526
|
end
|
|
527
527
|
|
|
528
|
-
api_instance = OpenapiClient::
|
|
528
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
529
529
|
|
|
530
530
|
begin
|
|
531
531
|
# Time off balances
|
|
532
532
|
result = api_instance.xhr_time_off_balances20230301
|
|
533
533
|
p result
|
|
534
534
|
rescue OpenapiClient::ApiError => e
|
|
535
|
-
puts "Error when calling
|
|
535
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_balances20230301: #{e}"
|
|
536
536
|
end
|
|
537
537
|
```
|
|
538
538
|
|
|
@@ -550,7 +550,7 @@ begin
|
|
|
550
550
|
p headers # => { ... }
|
|
551
551
|
p data # => <Array<TimeOffBalanceResponse>>
|
|
552
552
|
rescue OpenapiClient::ApiError => e
|
|
553
|
-
puts "Error when calling
|
|
553
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_balances20230301_with_http_info: #{e}"
|
|
554
554
|
end
|
|
555
555
|
```
|
|
556
556
|
|
|
@@ -593,14 +593,14 @@ OpenapiClient.configure do |config|
|
|
|
593
593
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
594
594
|
end
|
|
595
595
|
|
|
596
|
-
api_instance = OpenapiClient::
|
|
596
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
597
597
|
|
|
598
598
|
begin
|
|
599
599
|
# Time off entries
|
|
600
600
|
result = api_instance.xhr_time_off_entries20230301
|
|
601
601
|
p result
|
|
602
602
|
rescue OpenapiClient::ApiError => e
|
|
603
|
-
puts "Error when calling
|
|
603
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_entries20230301: #{e}"
|
|
604
604
|
end
|
|
605
605
|
```
|
|
606
606
|
|
|
@@ -618,7 +618,7 @@ begin
|
|
|
618
618
|
p headers # => { ... }
|
|
619
619
|
p data # => <Array<TimeOffEntryResponse>>
|
|
620
620
|
rescue OpenapiClient::ApiError => e
|
|
621
|
-
puts "Error when calling
|
|
621
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_time_off_entries20230301_with_http_info: #{e}"
|
|
622
622
|
end
|
|
623
623
|
```
|
|
624
624
|
|
|
@@ -661,14 +661,14 @@ OpenapiClient.configure do |config|
|
|
|
661
661
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
662
662
|
end
|
|
663
663
|
|
|
664
|
-
api_instance = OpenapiClient::
|
|
664
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
665
665
|
|
|
666
666
|
begin
|
|
667
667
|
# Timesheets
|
|
668
668
|
result = api_instance.xhr_timesheets20230301
|
|
669
669
|
p result
|
|
670
670
|
rescue OpenapiClient::ApiError => e
|
|
671
|
-
puts "Error when calling
|
|
671
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_timesheets20230301: #{e}"
|
|
672
672
|
end
|
|
673
673
|
```
|
|
674
674
|
|
|
@@ -686,7 +686,7 @@ begin
|
|
|
686
686
|
p headers # => { ... }
|
|
687
687
|
p data # => <Array<TimesheetResponse>>
|
|
688
688
|
rescue OpenapiClient::ApiError => e
|
|
689
|
-
puts "Error when calling
|
|
689
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_timesheets20230301_with_http_info: #{e}"
|
|
690
690
|
end
|
|
691
691
|
```
|
|
692
692
|
|
|
@@ -729,14 +729,14 @@ OpenapiClient.configure do |config|
|
|
|
729
729
|
# config.api_key_prefix['access-token'] = 'Bearer'
|
|
730
730
|
end
|
|
731
731
|
|
|
732
|
-
api_instance = OpenapiClient::
|
|
732
|
+
api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
|
|
733
733
|
|
|
734
734
|
begin
|
|
735
735
|
# Work locations
|
|
736
736
|
result = api_instance.xhr_work_locations20230301
|
|
737
737
|
p result
|
|
738
738
|
rescue OpenapiClient::ApiError => e
|
|
739
|
-
puts "Error when calling
|
|
739
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_work_locations20230301: #{e}"
|
|
740
740
|
end
|
|
741
741
|
```
|
|
742
742
|
|
|
@@ -754,7 +754,7 @@ begin
|
|
|
754
754
|
p headers # => { ... }
|
|
755
755
|
p data # => <Array<LocationResponse>>
|
|
756
756
|
rescue OpenapiClient::ApiError => e
|
|
757
|
-
puts "Error when calling
|
|
757
|
+
puts "Error when calling XHRVerticallyIntegratedApi->xhr_work_locations20230301_with_http_info: #{e}"
|
|
758
758
|
end
|
|
759
759
|
```
|
|
760
760
|
|