feratel-check-api-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +159 -0
- data/Rakefile +10 -0
- data/docs/AgeGroup.md +22 -0
- data/docs/AgeGroupTranslation.md +20 -0
- data/docs/CheckPoint.md +38 -0
- data/docs/CheckPointGroup.md +20 -0
- data/docs/CheckPointItem.md +26 -0
- data/docs/CheckResourcesApi.md +545 -0
- data/docs/CheckResult.md +26 -0
- data/docs/CheckState.md +20 -0
- data/docs/CheckStateEnum.md +15 -0
- data/docs/CheckStateTranslation.md +20 -0
- data/docs/CheckpointError.md +22 -0
- data/docs/Customer.md +24 -0
- data/docs/History.md +18 -0
- data/docs/HistoryItem.md +24 -0
- data/docs/HistoryItemState.md +26 -0
- data/docs/Identification.md +36 -0
- data/docs/IdentificationStatus.md +15 -0
- data/docs/IdentificationType.md +26 -0
- data/docs/IdentificationUsage.md +26 -0
- data/docs/IdentificationUsageType.md +15 -0
- data/docs/Identifier.md +20 -0
- data/docs/IdentifierType.md +15 -0
- data/docs/ServiceProvider.md +24 -0
- data/docs/ServiceType.md +28 -0
- data/docs/ServiceTypeAssignment.md +22 -0
- data/docs/ServiceTypeTranslation.md +20 -0
- data/docs/ServiceUsage.md +36 -0
- data/docs/ServiceUsageType.md +15 -0
- data/docs/SystemResourcesApi.md +147 -0
- data/docs/TransactError.md +22 -0
- data/docs/TransactResult.md +34 -0
- data/docs/TransactState.md +20 -0
- data/docs/TransactStateEnum.md +15 -0
- data/docs/TransactStateTranslation.md +20 -0
- data/docs/ValidTransactionInfo.md +20 -0
- data/docs/Week.md +30 -0
- data/feratel-check-api-client.gemspec +39 -0
- data/git_push.sh +57 -0
- data/lib/feratel-check-api-client/api/check_resources_api.rb +586 -0
- data/lib/feratel-check-api-client/api/system_resources_api.rb +148 -0
- data/lib/feratel-check-api-client/api_client.rb +394 -0
- data/lib/feratel-check-api-client/api_error.rb +58 -0
- data/lib/feratel-check-api-client/configuration.rb +308 -0
- data/lib/feratel-check-api-client/models/age_group.rb +255 -0
- data/lib/feratel-check-api-client/models/age_group_translation.rb +223 -0
- data/lib/feratel-check-api-client/models/check_point.rb +327 -0
- data/lib/feratel-check-api-client/models/check_point_group.rb +244 -0
- data/lib/feratel-check-api-client/models/check_point_item.rb +271 -0
- data/lib/feratel-check-api-client/models/check_result.rb +250 -0
- data/lib/feratel-check-api-client/models/check_state.rb +247 -0
- data/lib/feratel-check-api-client/models/check_state_enum.rb +82 -0
- data/lib/feratel-check-api-client/models/check_state_translation.rb +223 -0
- data/lib/feratel-check-api-client/models/checkpoint_error.rb +256 -0
- data/lib/feratel-check-api-client/models/customer.rb +262 -0
- data/lib/feratel-check-api-client/models/history.rb +216 -0
- data/lib/feratel-check-api-client/models/history_item.rb +262 -0
- data/lib/feratel-check-api-client/models/history_item_state.rb +250 -0
- data/lib/feratel-check-api-client/models/identification.rb +338 -0
- data/lib/feratel-check-api-client/models/identification_status.rb +43 -0
- data/lib/feratel-check-api-client/models/identification_type.rb +271 -0
- data/lib/feratel-check-api-client/models/identification_usage.rb +314 -0
- data/lib/feratel-check-api-client/models/identification_usage_type.rb +42 -0
- data/lib/feratel-check-api-client/models/identifier.rb +245 -0
- data/lib/feratel-check-api-client/models/identifier_type.rb +44 -0
- data/lib/feratel-check-api-client/models/service_provider.rb +262 -0
- data/lib/feratel-check-api-client/models/service_type.rb +282 -0
- data/lib/feratel-check-api-client/models/service_type_assignment.rb +253 -0
- data/lib/feratel-check-api-client/models/service_type_translation.rb +223 -0
- data/lib/feratel-check-api-client/models/service_usage.rb +380 -0
- data/lib/feratel-check-api-client/models/service_usage_type.rb +50 -0
- data/lib/feratel-check-api-client/models/transact_error.rb +256 -0
- data/lib/feratel-check-api-client/models/transact_result.rb +349 -0
- data/lib/feratel-check-api-client/models/transact_state.rb +247 -0
- data/lib/feratel-check-api-client/models/transact_state_enum.rb +54 -0
- data/lib/feratel-check-api-client/models/transact_state_translation.rb +223 -0
- data/lib/feratel-check-api-client/models/valid_transaction_info.rb +223 -0
- data/lib/feratel-check-api-client/models/week.rb +268 -0
- data/lib/feratel-check-api-client/version.rb +15 -0
- data/lib/feratel-check-api-client.rb +75 -0
- data/spec/api/check_resources_api_spec.rb +137 -0
- data/spec/api/system_resources_api_spec.rb +59 -0
- data/spec/models/age_group_spec.rb +48 -0
- data/spec/models/age_group_translation_spec.rb +42 -0
- data/spec/models/check_point_group_spec.rb +42 -0
- data/spec/models/check_point_item_spec.rb +60 -0
- data/spec/models/check_point_spec.rb +96 -0
- data/spec/models/check_result_spec.rb +60 -0
- data/spec/models/check_state_enum_spec.rb +30 -0
- data/spec/models/check_state_spec.rb +42 -0
- data/spec/models/check_state_translation_spec.rb +42 -0
- data/spec/models/checkpoint_error_spec.rb +48 -0
- data/spec/models/customer_spec.rb +54 -0
- data/spec/models/history_item_spec.rb +54 -0
- data/spec/models/history_item_state_spec.rb +60 -0
- data/spec/models/history_spec.rb +36 -0
- data/spec/models/identification_spec.rb +90 -0
- data/spec/models/identification_status_spec.rb +30 -0
- data/spec/models/identification_type_spec.rb +60 -0
- data/spec/models/identification_usage_spec.rb +60 -0
- data/spec/models/identification_usage_type_spec.rb +30 -0
- data/spec/models/identifier_spec.rb +42 -0
- data/spec/models/identifier_type_spec.rb +30 -0
- data/spec/models/service_provider_spec.rb +54 -0
- data/spec/models/service_type_assignment_spec.rb +48 -0
- data/spec/models/service_type_spec.rb +66 -0
- data/spec/models/service_type_translation_spec.rb +42 -0
- data/spec/models/service_usage_spec.rb +90 -0
- data/spec/models/service_usage_type_spec.rb +30 -0
- data/spec/models/transact_error_spec.rb +48 -0
- data/spec/models/transact_result_spec.rb +84 -0
- data/spec/models/transact_state_enum_spec.rb +30 -0
- data/spec/models/transact_state_spec.rb +42 -0
- data/spec/models/transact_state_translation_spec.rb +42 -0
- data/spec/models/valid_transaction_info_spec.rb +42 -0
- data/spec/models/week_spec.rb +72 -0
- data/spec/spec_helper.rb +111 -0
- metadata +255 -0
@@ -0,0 +1,545 @@
|
|
1
|
+
# FeratelCheckApiClient::CheckResourcesApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**v1_tenant_id_secure_checkpoints_check_point_id_check_get**](CheckResourcesApi.md#v1_tenant_id_secure_checkpoints_check_point_id_check_get) | **GET** /v1/{tenantId}/secure/checkpoints/{checkPointId}/check | check |
|
8
|
+
| [**v1_tenant_id_secure_checkpoints_check_point_id_check_post**](CheckResourcesApi.md#v1_tenant_id_secure_checkpoints_check_point_id_check_post) | **POST** /v1/{tenantId}/secure/checkpoints/{checkPointId}/check | check and transaction |
|
9
|
+
| [**v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get**](CheckResourcesApi.md#v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get) | **GET** /v1/{tenantId}/secure/checkpoints/{checkPointId}/check/{serviceTypeId} | check based on service |
|
10
|
+
| [**v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post**](CheckResourcesApi.md#v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post) | **POST** /v1/{tenantId}/secure/checkpoints/{checkPointId}/check/{serviceTypeId} | check based on service and transaction |
|
11
|
+
| [**v1_tenant_id_secure_checkpoints_check_point_id_get**](CheckResourcesApi.md#v1_tenant_id_secure_checkpoints_check_point_id_get) | **GET** /v1/{tenantId}/secure/checkpoints/{checkPointId} | checkpoint details |
|
12
|
+
| [**v1_tenant_id_secure_checkpoints_check_point_id_history_get**](CheckResourcesApi.md#v1_tenant_id_secure_checkpoints_check_point_id_history_get) | **GET** /v1/{tenantId}/secure/checkpoints/{checkPointId}/history | transaction history |
|
13
|
+
| [**v1_tenant_id_secure_checkpoints_get**](CheckResourcesApi.md#v1_tenant_id_secure_checkpoints_get) | **GET** /v1/{tenantId}/secure/checkpoints | list of checkpoints |
|
14
|
+
|
15
|
+
|
16
|
+
## v1_tenant_id_secure_checkpoints_check_point_id_check_get
|
17
|
+
|
18
|
+
> <CheckResult> v1_tenant_id_secure_checkpoints_check_point_id_check_get(tenant_id, check_point_id, opts)
|
19
|
+
|
20
|
+
check
|
21
|
+
|
22
|
+
Check, if an identification is permitted at the time of the request or not.<br>The HTTP method GET performs a check only - no transaction will be written.
|
23
|
+
|
24
|
+
### Examples
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
require 'time'
|
28
|
+
require 'feratel-check-api-client'
|
29
|
+
# setup authorization
|
30
|
+
FeratelCheckApiClient.configure do |config|
|
31
|
+
# Configure OAuth2 access token for authorization: oauth
|
32
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
33
|
+
end
|
34
|
+
|
35
|
+
api_instance = FeratelCheckApiClient::CheckResourcesApi.new
|
36
|
+
tenant_id = 'tenant_id_example' # String | Code of target tenant
|
37
|
+
check_point_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | ID of CheckPoint
|
38
|
+
opts = {
|
39
|
+
identifier: 'identifier_example' # String | The Identifier is part of the customer's QR-code / barcode.<br>After scanning this code, provide the complete code-content without trimming!
|
40
|
+
}
|
41
|
+
|
42
|
+
begin
|
43
|
+
# check
|
44
|
+
result = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_check_get(tenant_id, check_point_id, opts)
|
45
|
+
p result
|
46
|
+
rescue FeratelCheckApiClient::ApiError => e
|
47
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_check_get: #{e}"
|
48
|
+
end
|
49
|
+
```
|
50
|
+
|
51
|
+
#### Using the v1_tenant_id_secure_checkpoints_check_point_id_check_get_with_http_info variant
|
52
|
+
|
53
|
+
This returns an Array which contains the response data, status code and headers.
|
54
|
+
|
55
|
+
> <Array(<CheckResult>, Integer, Hash)> v1_tenant_id_secure_checkpoints_check_point_id_check_get_with_http_info(tenant_id, check_point_id, opts)
|
56
|
+
|
57
|
+
```ruby
|
58
|
+
begin
|
59
|
+
# check
|
60
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_check_get_with_http_info(tenant_id, check_point_id, opts)
|
61
|
+
p status_code # => 2xx
|
62
|
+
p headers # => { ... }
|
63
|
+
p data # => <CheckResult>
|
64
|
+
rescue FeratelCheckApiClient::ApiError => e
|
65
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_check_get_with_http_info: #{e}"
|
66
|
+
end
|
67
|
+
```
|
68
|
+
|
69
|
+
### Parameters
|
70
|
+
|
71
|
+
| Name | Type | Description | Notes |
|
72
|
+
| ---- | ---- | ----------- | ----- |
|
73
|
+
| **tenant_id** | **String** | Code of target tenant | |
|
74
|
+
| **check_point_id** | **String** | ID of CheckPoint | |
|
75
|
+
| **identifier** | **String** | The Identifier is part of the customer's QR-code / barcode.<br>After scanning this code, provide the complete code-content without trimming! | [optional] |
|
76
|
+
|
77
|
+
### Return type
|
78
|
+
|
79
|
+
[**CheckResult**](CheckResult.md)
|
80
|
+
|
81
|
+
### Authorization
|
82
|
+
|
83
|
+
[oauth](../README.md#oauth)
|
84
|
+
|
85
|
+
### HTTP request headers
|
86
|
+
|
87
|
+
- **Content-Type**: Not defined
|
88
|
+
- **Accept**: application/json
|
89
|
+
|
90
|
+
|
91
|
+
## v1_tenant_id_secure_checkpoints_check_point_id_check_post
|
92
|
+
|
93
|
+
> <TransactResult> v1_tenant_id_secure_checkpoints_check_point_id_check_post(tenant_id, check_point_id, opts)
|
94
|
+
|
95
|
+
check and transaction
|
96
|
+
|
97
|
+
Check, if an identification is permitted at the time of the request or not.<br>The HTTP method POST performs a check with a persistent transaction.
|
98
|
+
|
99
|
+
### Examples
|
100
|
+
|
101
|
+
```ruby
|
102
|
+
require 'time'
|
103
|
+
require 'feratel-check-api-client'
|
104
|
+
# setup authorization
|
105
|
+
FeratelCheckApiClient.configure do |config|
|
106
|
+
# Configure OAuth2 access token for authorization: oauth
|
107
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
108
|
+
end
|
109
|
+
|
110
|
+
api_instance = FeratelCheckApiClient::CheckResourcesApi.new
|
111
|
+
tenant_id = 'tenant_id_example' # String | Code of target tenant
|
112
|
+
check_point_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | ID of CheckPoint
|
113
|
+
opts = {
|
114
|
+
identifier: 'identifier_example' # String | The Identifier is part of the customer's QR-code / barcode.<br>After scanning this code, provide the complete code-content without trimming!
|
115
|
+
}
|
116
|
+
|
117
|
+
begin
|
118
|
+
# check and transaction
|
119
|
+
result = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_check_post(tenant_id, check_point_id, opts)
|
120
|
+
p result
|
121
|
+
rescue FeratelCheckApiClient::ApiError => e
|
122
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_check_post: #{e}"
|
123
|
+
end
|
124
|
+
```
|
125
|
+
|
126
|
+
#### Using the v1_tenant_id_secure_checkpoints_check_point_id_check_post_with_http_info variant
|
127
|
+
|
128
|
+
This returns an Array which contains the response data, status code and headers.
|
129
|
+
|
130
|
+
> <Array(<TransactResult>, Integer, Hash)> v1_tenant_id_secure_checkpoints_check_point_id_check_post_with_http_info(tenant_id, check_point_id, opts)
|
131
|
+
|
132
|
+
```ruby
|
133
|
+
begin
|
134
|
+
# check and transaction
|
135
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_check_post_with_http_info(tenant_id, check_point_id, opts)
|
136
|
+
p status_code # => 2xx
|
137
|
+
p headers # => { ... }
|
138
|
+
p data # => <TransactResult>
|
139
|
+
rescue FeratelCheckApiClient::ApiError => e
|
140
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_check_post_with_http_info: #{e}"
|
141
|
+
end
|
142
|
+
```
|
143
|
+
|
144
|
+
### Parameters
|
145
|
+
|
146
|
+
| Name | Type | Description | Notes |
|
147
|
+
| ---- | ---- | ----------- | ----- |
|
148
|
+
| **tenant_id** | **String** | Code of target tenant | |
|
149
|
+
| **check_point_id** | **String** | ID of CheckPoint | |
|
150
|
+
| **identifier** | **String** | The Identifier is part of the customer's QR-code / barcode.<br>After scanning this code, provide the complete code-content without trimming! | [optional] |
|
151
|
+
|
152
|
+
### Return type
|
153
|
+
|
154
|
+
[**TransactResult**](TransactResult.md)
|
155
|
+
|
156
|
+
### Authorization
|
157
|
+
|
158
|
+
[oauth](../README.md#oauth)
|
159
|
+
|
160
|
+
### HTTP request headers
|
161
|
+
|
162
|
+
- **Content-Type**: Not defined
|
163
|
+
- **Accept**: application/json
|
164
|
+
|
165
|
+
|
166
|
+
## v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get
|
167
|
+
|
168
|
+
> <CheckResult> v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get(tenant_id, check_point_id, service_type_id, opts)
|
169
|
+
|
170
|
+
check based on service
|
171
|
+
|
172
|
+
Check, if an identification is permitted for a specific serviceType at the time of the request or not.<br>The HTTP method GET performs a check only - no transaction will be written.
|
173
|
+
|
174
|
+
### Examples
|
175
|
+
|
176
|
+
```ruby
|
177
|
+
require 'time'
|
178
|
+
require 'feratel-check-api-client'
|
179
|
+
# setup authorization
|
180
|
+
FeratelCheckApiClient.configure do |config|
|
181
|
+
# Configure OAuth2 access token for authorization: oauth
|
182
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
183
|
+
end
|
184
|
+
|
185
|
+
api_instance = FeratelCheckApiClient::CheckResourcesApi.new
|
186
|
+
tenant_id = 'tenant_id_example' # String | Code of target tenant
|
187
|
+
check_point_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | ID of CheckPoint
|
188
|
+
service_type_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | ID of Service
|
189
|
+
opts = {
|
190
|
+
identifier: 'identifier_example' # String | The Identifier is part of the customer's QR-code / barcode.<br>After scanning this code, provide the complete code-content without trimming!
|
191
|
+
}
|
192
|
+
|
193
|
+
begin
|
194
|
+
# check based on service
|
195
|
+
result = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get(tenant_id, check_point_id, service_type_id, opts)
|
196
|
+
p result
|
197
|
+
rescue FeratelCheckApiClient::ApiError => e
|
198
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get: #{e}"
|
199
|
+
end
|
200
|
+
```
|
201
|
+
|
202
|
+
#### Using the v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get_with_http_info variant
|
203
|
+
|
204
|
+
This returns an Array which contains the response data, status code and headers.
|
205
|
+
|
206
|
+
> <Array(<CheckResult>, Integer, Hash)> v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get_with_http_info(tenant_id, check_point_id, service_type_id, opts)
|
207
|
+
|
208
|
+
```ruby
|
209
|
+
begin
|
210
|
+
# check based on service
|
211
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get_with_http_info(tenant_id, check_point_id, service_type_id, opts)
|
212
|
+
p status_code # => 2xx
|
213
|
+
p headers # => { ... }
|
214
|
+
p data # => <CheckResult>
|
215
|
+
rescue FeratelCheckApiClient::ApiError => e
|
216
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_get_with_http_info: #{e}"
|
217
|
+
end
|
218
|
+
```
|
219
|
+
|
220
|
+
### Parameters
|
221
|
+
|
222
|
+
| Name | Type | Description | Notes |
|
223
|
+
| ---- | ---- | ----------- | ----- |
|
224
|
+
| **tenant_id** | **String** | Code of target tenant | |
|
225
|
+
| **check_point_id** | **String** | ID of CheckPoint | |
|
226
|
+
| **service_type_id** | **String** | ID of Service | |
|
227
|
+
| **identifier** | **String** | The Identifier is part of the customer's QR-code / barcode.<br>After scanning this code, provide the complete code-content without trimming! | [optional] |
|
228
|
+
|
229
|
+
### Return type
|
230
|
+
|
231
|
+
[**CheckResult**](CheckResult.md)
|
232
|
+
|
233
|
+
### Authorization
|
234
|
+
|
235
|
+
[oauth](../README.md#oauth)
|
236
|
+
|
237
|
+
### HTTP request headers
|
238
|
+
|
239
|
+
- **Content-Type**: Not defined
|
240
|
+
- **Accept**: application/json
|
241
|
+
|
242
|
+
|
243
|
+
## v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post
|
244
|
+
|
245
|
+
> <TransactResult> v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post(tenant_id, check_point_id, service_type_id, opts)
|
246
|
+
|
247
|
+
check based on service and transaction
|
248
|
+
|
249
|
+
Check, if an identification is permitted for a specific serviceType at the time of the request or not.<br>The HTTP method POST performs a check with a persistent transaction.
|
250
|
+
|
251
|
+
### Examples
|
252
|
+
|
253
|
+
```ruby
|
254
|
+
require 'time'
|
255
|
+
require 'feratel-check-api-client'
|
256
|
+
# setup authorization
|
257
|
+
FeratelCheckApiClient.configure do |config|
|
258
|
+
# Configure OAuth2 access token for authorization: oauth
|
259
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
260
|
+
end
|
261
|
+
|
262
|
+
api_instance = FeratelCheckApiClient::CheckResourcesApi.new
|
263
|
+
tenant_id = 'tenant_id_example' # String | Code of target tenant
|
264
|
+
check_point_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
265
|
+
service_type_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
266
|
+
opts = {
|
267
|
+
identifier: 'identifier_example' # String | The Identifier is part of the customer's QR-code / barcode.<br>After scanning this code, provide the complete code-content without trimming!
|
268
|
+
}
|
269
|
+
|
270
|
+
begin
|
271
|
+
# check based on service and transaction
|
272
|
+
result = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post(tenant_id, check_point_id, service_type_id, opts)
|
273
|
+
p result
|
274
|
+
rescue FeratelCheckApiClient::ApiError => e
|
275
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post: #{e}"
|
276
|
+
end
|
277
|
+
```
|
278
|
+
|
279
|
+
#### Using the v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post_with_http_info variant
|
280
|
+
|
281
|
+
This returns an Array which contains the response data, status code and headers.
|
282
|
+
|
283
|
+
> <Array(<TransactResult>, Integer, Hash)> v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post_with_http_info(tenant_id, check_point_id, service_type_id, opts)
|
284
|
+
|
285
|
+
```ruby
|
286
|
+
begin
|
287
|
+
# check based on service and transaction
|
288
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post_with_http_info(tenant_id, check_point_id, service_type_id, opts)
|
289
|
+
p status_code # => 2xx
|
290
|
+
p headers # => { ... }
|
291
|
+
p data # => <TransactResult>
|
292
|
+
rescue FeratelCheckApiClient::ApiError => e
|
293
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_check_service_type_id_post_with_http_info: #{e}"
|
294
|
+
end
|
295
|
+
```
|
296
|
+
|
297
|
+
### Parameters
|
298
|
+
|
299
|
+
| Name | Type | Description | Notes |
|
300
|
+
| ---- | ---- | ----------- | ----- |
|
301
|
+
| **tenant_id** | **String** | Code of target tenant | |
|
302
|
+
| **check_point_id** | **String** | | |
|
303
|
+
| **service_type_id** | **String** | | |
|
304
|
+
| **identifier** | **String** | The Identifier is part of the customer's QR-code / barcode.<br>After scanning this code, provide the complete code-content without trimming! | [optional] |
|
305
|
+
|
306
|
+
### Return type
|
307
|
+
|
308
|
+
[**TransactResult**](TransactResult.md)
|
309
|
+
|
310
|
+
### Authorization
|
311
|
+
|
312
|
+
[oauth](../README.md#oauth)
|
313
|
+
|
314
|
+
### HTTP request headers
|
315
|
+
|
316
|
+
- **Content-Type**: Not defined
|
317
|
+
- **Accept**: application/json
|
318
|
+
|
319
|
+
|
320
|
+
## v1_tenant_id_secure_checkpoints_check_point_id_get
|
321
|
+
|
322
|
+
> <CheckPoint> v1_tenant_id_secure_checkpoints_check_point_id_get(tenant_id, check_point_id)
|
323
|
+
|
324
|
+
checkpoint details
|
325
|
+
|
326
|
+
Get all service and usage details of a specific checkpoint.<br>The ServiceTypeId (type:id) contained in the response is required to check an identification based on a service (method \"check/serviceTypeId\").
|
327
|
+
|
328
|
+
### Examples
|
329
|
+
|
330
|
+
```ruby
|
331
|
+
require 'time'
|
332
|
+
require 'feratel-check-api-client'
|
333
|
+
# setup authorization
|
334
|
+
FeratelCheckApiClient.configure do |config|
|
335
|
+
# Configure OAuth2 access token for authorization: oauth
|
336
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
337
|
+
end
|
338
|
+
|
339
|
+
api_instance = FeratelCheckApiClient::CheckResourcesApi.new
|
340
|
+
tenant_id = 'tenant_id_example' # String | Code of target tenant
|
341
|
+
check_point_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | ID of CheckPoint
|
342
|
+
|
343
|
+
begin
|
344
|
+
# checkpoint details
|
345
|
+
result = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_get(tenant_id, check_point_id)
|
346
|
+
p result
|
347
|
+
rescue FeratelCheckApiClient::ApiError => e
|
348
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_get: #{e}"
|
349
|
+
end
|
350
|
+
```
|
351
|
+
|
352
|
+
#### Using the v1_tenant_id_secure_checkpoints_check_point_id_get_with_http_info variant
|
353
|
+
|
354
|
+
This returns an Array which contains the response data, status code and headers.
|
355
|
+
|
356
|
+
> <Array(<CheckPoint>, Integer, Hash)> v1_tenant_id_secure_checkpoints_check_point_id_get_with_http_info(tenant_id, check_point_id)
|
357
|
+
|
358
|
+
```ruby
|
359
|
+
begin
|
360
|
+
# checkpoint details
|
361
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_get_with_http_info(tenant_id, check_point_id)
|
362
|
+
p status_code # => 2xx
|
363
|
+
p headers # => { ... }
|
364
|
+
p data # => <CheckPoint>
|
365
|
+
rescue FeratelCheckApiClient::ApiError => e
|
366
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_get_with_http_info: #{e}"
|
367
|
+
end
|
368
|
+
```
|
369
|
+
|
370
|
+
### Parameters
|
371
|
+
|
372
|
+
| Name | Type | Description | Notes |
|
373
|
+
| ---- | ---- | ----------- | ----- |
|
374
|
+
| **tenant_id** | **String** | Code of target tenant | |
|
375
|
+
| **check_point_id** | **String** | ID of CheckPoint | |
|
376
|
+
|
377
|
+
### Return type
|
378
|
+
|
379
|
+
[**CheckPoint**](CheckPoint.md)
|
380
|
+
|
381
|
+
### Authorization
|
382
|
+
|
383
|
+
[oauth](../README.md#oauth)
|
384
|
+
|
385
|
+
### HTTP request headers
|
386
|
+
|
387
|
+
- **Content-Type**: Not defined
|
388
|
+
- **Accept**: application/json
|
389
|
+
|
390
|
+
|
391
|
+
## v1_tenant_id_secure_checkpoints_check_point_id_history_get
|
392
|
+
|
393
|
+
> <History> v1_tenant_id_secure_checkpoints_check_point_id_history_get(tenant_id, check_point_id, opts)
|
394
|
+
|
395
|
+
transaction history
|
396
|
+
|
397
|
+
Get the last 5 checks (transactions) of a specific checkpoint.
|
398
|
+
|
399
|
+
### Examples
|
400
|
+
|
401
|
+
```ruby
|
402
|
+
require 'time'
|
403
|
+
require 'feratel-check-api-client'
|
404
|
+
# setup authorization
|
405
|
+
FeratelCheckApiClient.configure do |config|
|
406
|
+
# Configure OAuth2 access token for authorization: oauth
|
407
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
408
|
+
end
|
409
|
+
|
410
|
+
api_instance = FeratelCheckApiClient::CheckResourcesApi.new
|
411
|
+
tenant_id = 'tenant_id_example' # String | Code of target tenant
|
412
|
+
check_point_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | ID of CheckPoint
|
413
|
+
opts = {
|
414
|
+
page: 56, # Integer | start page index
|
415
|
+
service_id: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | ID of Service
|
416
|
+
size: 56 # Integer | max. delivered pages
|
417
|
+
}
|
418
|
+
|
419
|
+
begin
|
420
|
+
# transaction history
|
421
|
+
result = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_history_get(tenant_id, check_point_id, opts)
|
422
|
+
p result
|
423
|
+
rescue FeratelCheckApiClient::ApiError => e
|
424
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_history_get: #{e}"
|
425
|
+
end
|
426
|
+
```
|
427
|
+
|
428
|
+
#### Using the v1_tenant_id_secure_checkpoints_check_point_id_history_get_with_http_info variant
|
429
|
+
|
430
|
+
This returns an Array which contains the response data, status code and headers.
|
431
|
+
|
432
|
+
> <Array(<History>, Integer, Hash)> v1_tenant_id_secure_checkpoints_check_point_id_history_get_with_http_info(tenant_id, check_point_id, opts)
|
433
|
+
|
434
|
+
```ruby
|
435
|
+
begin
|
436
|
+
# transaction history
|
437
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_checkpoints_check_point_id_history_get_with_http_info(tenant_id, check_point_id, opts)
|
438
|
+
p status_code # => 2xx
|
439
|
+
p headers # => { ... }
|
440
|
+
p data # => <History>
|
441
|
+
rescue FeratelCheckApiClient::ApiError => e
|
442
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_check_point_id_history_get_with_http_info: #{e}"
|
443
|
+
end
|
444
|
+
```
|
445
|
+
|
446
|
+
### Parameters
|
447
|
+
|
448
|
+
| Name | Type | Description | Notes |
|
449
|
+
| ---- | ---- | ----------- | ----- |
|
450
|
+
| **tenant_id** | **String** | Code of target tenant | |
|
451
|
+
| **check_point_id** | **String** | ID of CheckPoint | |
|
452
|
+
| **page** | **Integer** | start page index | [optional][default to 0] |
|
453
|
+
| **service_id** | **String** | ID of Service | [optional] |
|
454
|
+
| **size** | **Integer** | max. delivered pages | [optional][default to 5] |
|
455
|
+
|
456
|
+
### Return type
|
457
|
+
|
458
|
+
[**History**](History.md)
|
459
|
+
|
460
|
+
### Authorization
|
461
|
+
|
462
|
+
[oauth](../README.md#oauth)
|
463
|
+
|
464
|
+
### HTTP request headers
|
465
|
+
|
466
|
+
- **Content-Type**: Not defined
|
467
|
+
- **Accept**: application/json
|
468
|
+
|
469
|
+
|
470
|
+
## v1_tenant_id_secure_checkpoints_get
|
471
|
+
|
472
|
+
> <Array<CheckPointItem>> v1_tenant_id_secure_checkpoints_get(tenant_id, opts)
|
473
|
+
|
474
|
+
list of checkpoints
|
475
|
+
|
476
|
+
Get all your user-assigned checkpoints in the selected card-project (tenant).<br>Use the corresponding checkpointid to \"check\" the permission of an identification (f.e. Card ID).
|
477
|
+
|
478
|
+
### Examples
|
479
|
+
|
480
|
+
```ruby
|
481
|
+
require 'time'
|
482
|
+
require 'feratel-check-api-client'
|
483
|
+
# setup authorization
|
484
|
+
FeratelCheckApiClient.configure do |config|
|
485
|
+
# Configure OAuth2 access token for authorization: oauth
|
486
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
487
|
+
end
|
488
|
+
|
489
|
+
api_instance = FeratelCheckApiClient::CheckResourcesApi.new
|
490
|
+
tenant_id = 'tenant_id_example' # String | Code of target tenant
|
491
|
+
opts = {
|
492
|
+
active: true, # Boolean | If true only active checkpoints
|
493
|
+
page: 56, # Integer | Index of start page
|
494
|
+
size: 56 # Integer | Number of max delivered pages
|
495
|
+
}
|
496
|
+
|
497
|
+
begin
|
498
|
+
# list of checkpoints
|
499
|
+
result = api_instance.v1_tenant_id_secure_checkpoints_get(tenant_id, opts)
|
500
|
+
p result
|
501
|
+
rescue FeratelCheckApiClient::ApiError => e
|
502
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_get: #{e}"
|
503
|
+
end
|
504
|
+
```
|
505
|
+
|
506
|
+
#### Using the v1_tenant_id_secure_checkpoints_get_with_http_info variant
|
507
|
+
|
508
|
+
This returns an Array which contains the response data, status code and headers.
|
509
|
+
|
510
|
+
> <Array(<Array<CheckPointItem>>, Integer, Hash)> v1_tenant_id_secure_checkpoints_get_with_http_info(tenant_id, opts)
|
511
|
+
|
512
|
+
```ruby
|
513
|
+
begin
|
514
|
+
# list of checkpoints
|
515
|
+
data, status_code, headers = api_instance.v1_tenant_id_secure_checkpoints_get_with_http_info(tenant_id, opts)
|
516
|
+
p status_code # => 2xx
|
517
|
+
p headers # => { ... }
|
518
|
+
p data # => <Array<CheckPointItem>>
|
519
|
+
rescue FeratelCheckApiClient::ApiError => e
|
520
|
+
puts "Error when calling CheckResourcesApi->v1_tenant_id_secure_checkpoints_get_with_http_info: #{e}"
|
521
|
+
end
|
522
|
+
```
|
523
|
+
|
524
|
+
### Parameters
|
525
|
+
|
526
|
+
| Name | Type | Description | Notes |
|
527
|
+
| ---- | ---- | ----------- | ----- |
|
528
|
+
| **tenant_id** | **String** | Code of target tenant | |
|
529
|
+
| **active** | **Boolean** | If true only active checkpoints | [optional] |
|
530
|
+
| **page** | **Integer** | Index of start page | [optional][default to 0] |
|
531
|
+
| **size** | **Integer** | Number of max delivered pages | [optional][default to 100] |
|
532
|
+
|
533
|
+
### Return type
|
534
|
+
|
535
|
+
[**Array<CheckPointItem>**](CheckPointItem.md)
|
536
|
+
|
537
|
+
### Authorization
|
538
|
+
|
539
|
+
[oauth](../README.md#oauth)
|
540
|
+
|
541
|
+
### HTTP request headers
|
542
|
+
|
543
|
+
- **Content-Type**: Not defined
|
544
|
+
- **Accept**: application/json
|
545
|
+
|
data/docs/CheckResult.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# FeratelCheckApiClient::CheckResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **check_point** | [**CheckPoint**](CheckPoint.md) | | [optional] |
|
8
|
+
| **check_state** | [**CheckState**](CheckState.md) | | [optional] |
|
9
|
+
| **identification** | [**Identification**](Identification.md) | | [optional] |
|
10
|
+
| **valid_transaction_info** | [**ValidTransactionInfo**](ValidTransactionInfo.md) | | [optional] |
|
11
|
+
| **valid** | **Boolean** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'feratel-check-api-client'
|
17
|
+
|
18
|
+
instance = FeratelCheckApiClient::CheckResult.new(
|
19
|
+
check_point: null,
|
20
|
+
check_state: null,
|
21
|
+
identification: null,
|
22
|
+
valid_transaction_info: null,
|
23
|
+
valid: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
data/docs/CheckState.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# FeratelCheckApiClient::CheckState
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **state** | [**CheckStateEnum**](CheckStateEnum.md) | | [optional] |
|
8
|
+
| **translations** | [**Array<CheckStateTranslation>**](CheckStateTranslation.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'feratel-check-api-client'
|
14
|
+
|
15
|
+
instance = FeratelCheckApiClient::CheckState.new(
|
16
|
+
state: null,
|
17
|
+
translations: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FeratelCheckApiClient::CheckStateEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'feratel-check-api-client'
|
12
|
+
|
13
|
+
instance = FeratelCheckApiClient::CheckStateEnum.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FeratelCheckApiClient::CheckStateTranslation
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **language** | **String** | | [optional] |
|
8
|
+
| **name** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'feratel-check-api-client'
|
14
|
+
|
15
|
+
instance = FeratelCheckApiClient::CheckStateTranslation.new(
|
16
|
+
language: null,
|
17
|
+
name: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FeratelCheckApiClient::CheckpointError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **check_state** | [**CheckStateEnum**](CheckStateEnum.md) | | [optional] |
|
8
|
+
| **valid** | **Boolean** | | [optional] |
|
9
|
+
| **translations** | [**Array<CheckStateTranslation>**](CheckStateTranslation.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'feratel-check-api-client'
|
15
|
+
|
16
|
+
instance = FeratelCheckApiClient::CheckpointError.new(
|
17
|
+
check_state: null,
|
18
|
+
valid: null,
|
19
|
+
translations: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
data/docs/Customer.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# FeratelCheckApiClient::Customer
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional] |
|
8
|
+
| **first_name** | **String** | | [optional] |
|
9
|
+
| **last_name** | **String** | | [optional] |
|
10
|
+
| **age_group** | [**AgeGroup**](AgeGroup.md) | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'feratel-check-api-client'
|
16
|
+
|
17
|
+
instance = FeratelCheckApiClient::Customer.new(
|
18
|
+
id: null,
|
19
|
+
first_name: null,
|
20
|
+
last_name: null,
|
21
|
+
age_group: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
data/docs/History.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# FeratelCheckApiClient::History
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **history_items** | [**Array<HistoryItem>**](HistoryItem.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'feratel-check-api-client'
|
13
|
+
|
14
|
+
instance = FeratelCheckApiClient::History.new(
|
15
|
+
history_items: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|