korona-entry-client 1.0.0
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +128 -0
- data/Rakefile +10 -0
- data/docs/BadRequestError.md +19 -0
- data/docs/EntryResponse.md +21 -0
- data/docs/ExternalTicketConfiguration.md +29 -0
- data/docs/ExternalTicketConfigurationList.md +17 -0
- data/docs/ExternalTicketConfigurationsApi.md +247 -0
- data/docs/ModelReference.md +23 -0
- data/docs/NotAcceptableError.md +19 -0
- data/docs/OrganizationalUnit.md +27 -0
- data/docs/OrganizationalUnitList.md +17 -0
- data/docs/OrganizationalUnitsApi.md +247 -0
- data/docs/Ticket.md +35 -0
- data/docs/TicketEntry.md +49 -0
- data/docs/TicketEntryLog.md +39 -0
- data/docs/TicketEntryLogList.md +17 -0
- data/docs/TicketImage.md +17 -0
- data/docs/TicketInformation.md +27 -0
- data/docs/TicketList.md +17 -0
- data/docs/TicketPersonalization.md +21 -0
- data/docs/TicketsApi.md +654 -0
- data/git_push.sh +58 -0
- data/korona-entry-client.gemspec +39 -0
- data/lib/korona-entry-client.rb +58 -0
- data/lib/korona-entry-client/api/external_ticket_configurations_api.rb +356 -0
- data/lib/korona-entry-client/api/organizational_units_api.rb +356 -0
- data/lib/korona-entry-client/api/tickets_api.rb +854 -0
- data/lib/korona-entry-client/api_client.rb +386 -0
- data/lib/korona-entry-client/api_error.rb +57 -0
- data/lib/korona-entry-client/configuration.rb +248 -0
- data/lib/korona-entry-client/models/bad_request_error.rb +217 -0
- data/lib/korona-entry-client/models/entry_response.rb +226 -0
- data/lib/korona-entry-client/models/external_ticket_configuration.rb +304 -0
- data/lib/korona-entry-client/models/external_ticket_configuration_list.rb +214 -0
- data/lib/korona-entry-client/models/model_reference.rb +238 -0
- data/lib/korona-entry-client/models/not_acceptable_error.rb +250 -0
- data/lib/korona-entry-client/models/organizational_unit.rb +257 -0
- data/lib/korona-entry-client/models/organizational_unit_list.rb +214 -0
- data/lib/korona-entry-client/models/ticket.rb +299 -0
- data/lib/korona-entry-client/models/ticket_entry.rb +403 -0
- data/lib/korona-entry-client/models/ticket_entry_log.rb +374 -0
- data/lib/korona-entry-client/models/ticket_entry_log_list.rb +214 -0
- data/lib/korona-entry-client/models/ticket_image.rb +215 -0
- data/lib/korona-entry-client/models/ticket_information.rb +258 -0
- data/lib/korona-entry-client/models/ticket_list.rb +214 -0
- data/lib/korona-entry-client/models/ticket_personalization.rb +228 -0
- data/lib/korona-entry-client/version.rb +15 -0
- data/spec/api/external_ticket_configurations_api_spec.rb +95 -0
- data/spec/api/organizational_units_api_spec.rb +95 -0
- data/spec/api/tickets_api_spec.rb +191 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/bad_request_error_spec.rb +47 -0
- data/spec/models/entry_response_spec.rb +53 -0
- data/spec/models/external_ticket_configuration_list_spec.rb +41 -0
- data/spec/models/external_ticket_configuration_spec.rb +77 -0
- data/spec/models/model_reference_spec.rb +59 -0
- data/spec/models/not_acceptable_error_spec.rb +51 -0
- data/spec/models/organizational_unit_list_spec.rb +41 -0
- data/spec/models/organizational_unit_spec.rb +71 -0
- data/spec/models/ticket_entry_log_list_spec.rb +41 -0
- data/spec/models/ticket_entry_log_spec.rb +119 -0
- data/spec/models/ticket_entry_spec.rb +137 -0
- data/spec/models/ticket_image_spec.rb +41 -0
- data/spec/models/ticket_information_spec.rb +71 -0
- data/spec/models/ticket_list_spec.rb +41 -0
- data/spec/models/ticket_personalization_spec.rb +53 -0
- data/spec/models/ticket_spec.rb +95 -0
- data/spec/spec_helper.rb +111 -0
- metadata +196 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1cdff6c51f5b814be6520b71d01e93b30bd0d864
|
4
|
+
data.tar.gz: bad162d4f6d23b2a78f2f235f58d99a8b57070fb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ed014b9b19f65a152827662084943b116e330be85a21fa85e6fb6ef750683c4d30f050bec613b23a807ce6576df8ba564f33cabe8ca9ed0171ea737881fec021
|
7
|
+
data.tar.gz: c29f81825087408306a238d34e8f02d920f6b554bdb9a6f655acc934dfa2fa016f47adbe59773f8f4b15f4ddcff5790c00767919b6207b50bee748f23455d0e5
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
# korona-entry-client
|
2
|
+
|
3
|
+
KoronaEntryClient - the Ruby gem for the KORONA.entry API v1
|
4
|
+
|
5
|
+
Our api provides access to our entry services
|
6
|
+
|
7
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
|
+
|
9
|
+
- API version: 1.0.0
|
10
|
+
- Package version: 1.0.0
|
11
|
+
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
### Build a gem
|
16
|
+
|
17
|
+
To build the Ruby code into a gem:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
gem build korona-entry-client.gemspec
|
21
|
+
```
|
22
|
+
|
23
|
+
Then either install the gem locally:
|
24
|
+
|
25
|
+
```shell
|
26
|
+
gem install ./korona-entry-client-1.0.0.gem
|
27
|
+
```
|
28
|
+
|
29
|
+
(for development, run `gem install --dev ./korona-entry-client-1.0.0.gem` to install the development dependencies)
|
30
|
+
|
31
|
+
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
|
+
|
33
|
+
Finally add this to the Gemfile:
|
34
|
+
|
35
|
+
gem 'korona-entry-client', '~> 1.0.0'
|
36
|
+
|
37
|
+
### Install from Git
|
38
|
+
|
39
|
+
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
40
|
+
|
41
|
+
gem 'korona-entry-client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
42
|
+
|
43
|
+
### Include the Ruby code directly
|
44
|
+
|
45
|
+
Include the Ruby code directly using `-I` as follows:
|
46
|
+
|
47
|
+
```shell
|
48
|
+
ruby -Ilib script.rb
|
49
|
+
```
|
50
|
+
|
51
|
+
## Getting Started
|
52
|
+
|
53
|
+
Please follow the [installation](#installation) procedure and then run the following code:
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
# Load the gem
|
57
|
+
require 'korona-entry-client'
|
58
|
+
|
59
|
+
api_instance = KoronaEntryClient::ExternalTicketConfigurationsApi.new
|
60
|
+
client = 'client_example' # String | Identification of executing client.
|
61
|
+
body = KoronaEntryClient::ExternalTicketConfiguration.new # ExternalTicketConfiguration | Properties to update of the external ticket configuration.
|
62
|
+
|
63
|
+
begin
|
64
|
+
#Creates a new external ticket configuration. If an unkown ticket number will be checked and the pattern of the ticket number will be equals to a pattern of a external ticket configuration, a new ticket will be created. The TicketEntry of the external ticket configuration will be copied and adjusted to the new ticket. The newly created ticket is then checked for validity.
|
65
|
+
result = api_instance.create_external_ticket_configurations(client, body)
|
66
|
+
p result
|
67
|
+
rescue KoronaEntryClient::ApiError => e
|
68
|
+
puts "Exception when calling ExternalTicketConfigurationsApi->create_external_ticket_configurations: #{e}"
|
69
|
+
end
|
70
|
+
|
71
|
+
```
|
72
|
+
|
73
|
+
## Documentation for API Endpoints
|
74
|
+
|
75
|
+
All URIs are relative to *https://YourLocalInstance.com/korona.entry_server/services/v1*
|
76
|
+
|
77
|
+
Class | Method | HTTP request | Description
|
78
|
+
------------ | ------------- | ------------- | -------------
|
79
|
+
*KoronaEntryClient::ExternalTicketConfigurationsApi* | [**create_external_ticket_configurations**](docs/ExternalTicketConfigurationsApi.md#create_external_ticket_configurations) | **POST** /{client}/externalTicketConfigurations | Creates a new external ticket configuration. If an unkown ticket number will be checked and the pattern of the ticket number will be equals to a pattern of a external ticket configuration, a new ticket will be created. The TicketEntry of the external ticket configuration will be copied and adjusted to the new ticket. The newly created ticket is then checked for validity.
|
80
|
+
*KoronaEntryClient::ExternalTicketConfigurationsApi* | [**delete_external_ticket_configuration**](docs/ExternalTicketConfigurationsApi.md#delete_external_ticket_configuration) | **DELETE** /{client}/externalTicketConfigurations/{externalTicketConfigurationId} | Deletes the single external ticket configuration.
|
81
|
+
*KoronaEntryClient::ExternalTicketConfigurationsApi* | [**get_external_ticket_configuration**](docs/ExternalTicketConfigurationsApi.md#get_external_ticket_configuration) | **GET** /{client}/externalTicketConfigurations/{externalTicketConfigurationId} | Returns the external ticket configuration.
|
82
|
+
*KoronaEntryClient::ExternalTicketConfigurationsApi* | [**get_external_ticket_configurations**](docs/ExternalTicketConfigurationsApi.md#get_external_ticket_configurations) | **GET** /{client}/externalTicketConfigurations | Returns all external ticket configurations
|
83
|
+
*KoronaEntryClient::ExternalTicketConfigurationsApi* | [**update_external_ticket_configuration**](docs/ExternalTicketConfigurationsApi.md#update_external_ticket_configuration) | **PATCH** /{client}/externalTicketConfigurations/{externalTicketConfigurationId} | Updates the single external ticket configuration.
|
84
|
+
*KoronaEntryClient::OrganizationalUnitsApi* | [**create_organizational_unit**](docs/OrganizationalUnitsApi.md#create_organizational_unit) | **POST** /{client}/organizationalUnits | Creates a new organizational unit.
|
85
|
+
*KoronaEntryClient::OrganizationalUnitsApi* | [**delete_organizational_unit**](docs/OrganizationalUnitsApi.md#delete_organizational_unit) | **DELETE** /{client}/organizationalUnits/{organizationalUnitId} | Deletes the single organizational unit.
|
86
|
+
*KoronaEntryClient::OrganizationalUnitsApi* | [**get_organizational_unit**](docs/OrganizationalUnitsApi.md#get_organizational_unit) | **GET** /{client}/organizationalUnits/{organizationalUnitId} | Returns the single organizational unit.
|
87
|
+
*KoronaEntryClient::OrganizationalUnitsApi* | [**get_organizational_units**](docs/OrganizationalUnitsApi.md#get_organizational_units) | **GET** /{client}/organizationalUnits | Returns all organizational unit
|
88
|
+
*KoronaEntryClient::OrganizationalUnitsApi* | [**update_organizational_unit**](docs/OrganizationalUnitsApi.md#update_organizational_unit) | **PATCH** /{client}/organizationalUnits/{organizationalUnitId} | Updates the single organizational unit.
|
89
|
+
*KoronaEntryClient::TicketsApi* | [**check_ticket**](docs/TicketsApi.md#check_ticket) | **GET** /{client}/checkTicket | Checks a ticket. The entry can optionally also be committed.
|
90
|
+
*KoronaEntryClient::TicketsApi* | [**create_ticket**](docs/TicketsApi.md#create_ticket) | **POST** /{client}/tickets | Creates a new ticket.
|
91
|
+
*KoronaEntryClient::TicketsApi* | [**delete_image**](docs/TicketsApi.md#delete_image) | **DELETE** /{client}/tickets/{ticketId}/image | Deletes the owners image of the ticket.
|
92
|
+
*KoronaEntryClient::TicketsApi* | [**delete_ticket**](docs/TicketsApi.md#delete_ticket) | **DELETE** /{client}/tickets/{ticketId} | Deletes the single ticket.
|
93
|
+
*KoronaEntryClient::TicketsApi* | [**get_image**](docs/TicketsApi.md#get_image) | **GET** /{client}/tickets/{ticketId}/image | Returns the owners image of the ticket
|
94
|
+
*KoronaEntryClient::TicketsApi* | [**get_logs**](docs/TicketsApi.md#get_logs) | **GET** /{client}/ticketEntryLogs | Returns the log for a optional single ticket and/or organizational unit
|
95
|
+
*KoronaEntryClient::TicketsApi* | [**get_ticket**](docs/TicketsApi.md#get_ticket) | **GET** /{client}/tickets/{ticketId} | Returns the single ticket.
|
96
|
+
*KoronaEntryClient::TicketsApi* | [**get_ticket_entry**](docs/TicketsApi.md#get_ticket_entry) | **GET** /{client}/tickets/{ticketId}/ticketEntries/{ticketEntryId} | Returns a single ticket entry.
|
97
|
+
*KoronaEntryClient::TicketsApi* | [**get_tickets**](docs/TicketsApi.md#get_tickets) | **GET** /{client}/tickets | Lists all tickets.
|
98
|
+
*KoronaEntryClient::TicketsApi* | [**update_image**](docs/TicketsApi.md#update_image) | **POST** /{client}/tickets/{ticketId}/image | Updates the owners image of the ticket
|
99
|
+
*KoronaEntryClient::TicketsApi* | [**update_ticket**](docs/TicketsApi.md#update_ticket) | **PATCH** /{client}/tickets/{ticketId} | Updates the single ticket.
|
100
|
+
|
101
|
+
|
102
|
+
## Documentation for Models
|
103
|
+
|
104
|
+
- [KoronaEntryClient::BadRequestError](docs/BadRequestError.md)
|
105
|
+
- [KoronaEntryClient::EntryResponse](docs/EntryResponse.md)
|
106
|
+
- [KoronaEntryClient::ExternalTicketConfiguration](docs/ExternalTicketConfiguration.md)
|
107
|
+
- [KoronaEntryClient::ExternalTicketConfigurationList](docs/ExternalTicketConfigurationList.md)
|
108
|
+
- [KoronaEntryClient::ModelReference](docs/ModelReference.md)
|
109
|
+
- [KoronaEntryClient::NotAcceptableError](docs/NotAcceptableError.md)
|
110
|
+
- [KoronaEntryClient::OrganizationalUnit](docs/OrganizationalUnit.md)
|
111
|
+
- [KoronaEntryClient::OrganizationalUnitList](docs/OrganizationalUnitList.md)
|
112
|
+
- [KoronaEntryClient::Ticket](docs/Ticket.md)
|
113
|
+
- [KoronaEntryClient::TicketEntry](docs/TicketEntry.md)
|
114
|
+
- [KoronaEntryClient::TicketEntryLog](docs/TicketEntryLog.md)
|
115
|
+
- [KoronaEntryClient::TicketEntryLogList](docs/TicketEntryLogList.md)
|
116
|
+
- [KoronaEntryClient::TicketImage](docs/TicketImage.md)
|
117
|
+
- [KoronaEntryClient::TicketInformation](docs/TicketInformation.md)
|
118
|
+
- [KoronaEntryClient::TicketList](docs/TicketList.md)
|
119
|
+
- [KoronaEntryClient::TicketPersonalization](docs/TicketPersonalization.md)
|
120
|
+
|
121
|
+
|
122
|
+
## Documentation for Authorization
|
123
|
+
|
124
|
+
|
125
|
+
### basicAuth
|
126
|
+
|
127
|
+
- **Type**: HTTP basic authentication
|
128
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# KoronaEntryClient::BadRequestError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**message** | **String** | A short description of the error in english. | [optional]
|
8
|
+
**code** | **String** | The code for client-side evaluation of the error. | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'KoronaEntryClient'
|
14
|
+
|
15
|
+
instance = KoronaEntryClient::BadRequestError.new(message: null,
|
16
|
+
code: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# KoronaEntryClient::EntryResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**ticket** | [**ModelReference**](ModelReference.md) | | [optional]
|
8
|
+
**ticket_entry** | [**ModelReference**](ModelReference.md) | | [optional]
|
9
|
+
**valid_to_max** | **DateTime** | maximum validity end date calculated. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'KoronaEntryClient'
|
15
|
+
|
16
|
+
instance = KoronaEntryClient::EntryResponse.new(ticket: null,
|
17
|
+
ticket_entry: null,
|
18
|
+
valid_to_max: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# KoronaEntryClient::ExternalTicketConfiguration
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **Integer** | Objects ID. | [optional]
|
8
|
+
**number** | **String** | Number of external ticket configuration. | [optional]
|
9
|
+
**name** | **String** | Name of external ticket configuration. | [optional]
|
10
|
+
**pattern** | **String** | Matching pattern for unkown external tickets. | [optional]
|
11
|
+
**valid_from_period** | **String** | Adjusts the validFrom value of TicketEntry while ticket creation dynamically to the ticket creation time plus the period. | [optional]
|
12
|
+
**valid_to_period** | **String** | Adjusts the validTo value of TicketEntry while ticket creation dynamically to the ticket creation time plus the period. | [optional]
|
13
|
+
**ticket_entries** | [**Array<TicketEntry>**](TicketEntry.md) | Validities for this configuration of external tickets. | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'KoronaEntryClient'
|
19
|
+
|
20
|
+
instance = KoronaEntryClient::ExternalTicketConfiguration.new(id: null,
|
21
|
+
number: null,
|
22
|
+
name: null,
|
23
|
+
pattern: null,
|
24
|
+
valid_from_period: null,
|
25
|
+
valid_to_period: null,
|
26
|
+
ticket_entries: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# KoronaEntryClient::ExternalTicketConfigurationList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**external_ticket_configurations** | [**Array<ExternalTicketConfiguration>**](ExternalTicketConfiguration.md) | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'KoronaEntryClient'
|
13
|
+
|
14
|
+
instance = KoronaEntryClient::ExternalTicketConfigurationList.new(external_ticket_configurations: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,247 @@
|
|
1
|
+
# KoronaEntryClient::ExternalTicketConfigurationsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://YourLocalInstance.com/korona.entry_server/services/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create_external_ticket_configurations**](ExternalTicketConfigurationsApi.md#create_external_ticket_configurations) | **POST** /{client}/externalTicketConfigurations | Creates a new external ticket configuration. If an unkown ticket number will be checked and the pattern of the ticket number will be equals to a pattern of a external ticket configuration, a new ticket will be created. The TicketEntry of the external ticket configuration will be copied and adjusted to the new ticket. The newly created ticket is then checked for validity.
|
8
|
+
[**delete_external_ticket_configuration**](ExternalTicketConfigurationsApi.md#delete_external_ticket_configuration) | **DELETE** /{client}/externalTicketConfigurations/{externalTicketConfigurationId} | Deletes the single external ticket configuration.
|
9
|
+
[**get_external_ticket_configuration**](ExternalTicketConfigurationsApi.md#get_external_ticket_configuration) | **GET** /{client}/externalTicketConfigurations/{externalTicketConfigurationId} | Returns the external ticket configuration.
|
10
|
+
[**get_external_ticket_configurations**](ExternalTicketConfigurationsApi.md#get_external_ticket_configurations) | **GET** /{client}/externalTicketConfigurations | Returns all external ticket configurations
|
11
|
+
[**update_external_ticket_configuration**](ExternalTicketConfigurationsApi.md#update_external_ticket_configuration) | **PATCH** /{client}/externalTicketConfigurations/{externalTicketConfigurationId} | Updates the single external ticket configuration.
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
## create_external_ticket_configurations
|
16
|
+
|
17
|
+
> ModelReference create_external_ticket_configurations(client, body)
|
18
|
+
|
19
|
+
Creates a new external ticket configuration. If an unkown ticket number will be checked and the pattern of the ticket number will be equals to a pattern of a external ticket configuration, a new ticket will be created. The TicketEntry of the external ticket configuration will be copied and adjusted to the new ticket. The newly created ticket is then checked for validity.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'korona-entry-client'
|
26
|
+
|
27
|
+
api_instance = KoronaEntryClient::ExternalTicketConfigurationsApi.new
|
28
|
+
client = 'client_example' # String | Identification of executing client.
|
29
|
+
body = KoronaEntryClient::ExternalTicketConfiguration.new # ExternalTicketConfiguration | Properties to update of the external ticket configuration.
|
30
|
+
|
31
|
+
begin
|
32
|
+
#Creates a new external ticket configuration. If an unkown ticket number will be checked and the pattern of the ticket number will be equals to a pattern of a external ticket configuration, a new ticket will be created. The TicketEntry of the external ticket configuration will be copied and adjusted to the new ticket. The newly created ticket is then checked for validity.
|
33
|
+
result = api_instance.create_external_ticket_configurations(client, body)
|
34
|
+
p result
|
35
|
+
rescue KoronaEntryClient::ApiError => e
|
36
|
+
puts "Exception when calling ExternalTicketConfigurationsApi->create_external_ticket_configurations: #{e}"
|
37
|
+
end
|
38
|
+
```
|
39
|
+
|
40
|
+
### Parameters
|
41
|
+
|
42
|
+
|
43
|
+
Name | Type | Description | Notes
|
44
|
+
------------- | ------------- | ------------- | -------------
|
45
|
+
**client** | **String**| Identification of executing client. |
|
46
|
+
**body** | [**ExternalTicketConfiguration**](ExternalTicketConfiguration.md)| Properties to update of the external ticket configuration. |
|
47
|
+
|
48
|
+
### Return type
|
49
|
+
|
50
|
+
[**ModelReference**](ModelReference.md)
|
51
|
+
|
52
|
+
### Authorization
|
53
|
+
|
54
|
+
No authorization required
|
55
|
+
|
56
|
+
### HTTP request headers
|
57
|
+
|
58
|
+
- **Content-Type**: application/json
|
59
|
+
- **Accept**: application/json
|
60
|
+
|
61
|
+
|
62
|
+
## delete_external_ticket_configuration
|
63
|
+
|
64
|
+
> delete_external_ticket_configuration(client, external_ticket_configuration_id)
|
65
|
+
|
66
|
+
Deletes the single external ticket configuration.
|
67
|
+
|
68
|
+
### Example
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
# load the gem
|
72
|
+
require 'korona-entry-client'
|
73
|
+
|
74
|
+
api_instance = KoronaEntryClient::ExternalTicketConfigurationsApi.new
|
75
|
+
client = 'client_example' # String | Identification of executing client.
|
76
|
+
external_ticket_configuration_id = 56 # Integer | ID to identify the external ticket configuration.
|
77
|
+
|
78
|
+
begin
|
79
|
+
#Deletes the single external ticket configuration.
|
80
|
+
api_instance.delete_external_ticket_configuration(client, external_ticket_configuration_id)
|
81
|
+
rescue KoronaEntryClient::ApiError => e
|
82
|
+
puts "Exception when calling ExternalTicketConfigurationsApi->delete_external_ticket_configuration: #{e}"
|
83
|
+
end
|
84
|
+
```
|
85
|
+
|
86
|
+
### Parameters
|
87
|
+
|
88
|
+
|
89
|
+
Name | Type | Description | Notes
|
90
|
+
------------- | ------------- | ------------- | -------------
|
91
|
+
**client** | **String**| Identification of executing client. |
|
92
|
+
**external_ticket_configuration_id** | **Integer**| ID to identify the external ticket configuration. |
|
93
|
+
|
94
|
+
### Return type
|
95
|
+
|
96
|
+
nil (empty response body)
|
97
|
+
|
98
|
+
### Authorization
|
99
|
+
|
100
|
+
No authorization required
|
101
|
+
|
102
|
+
### HTTP request headers
|
103
|
+
|
104
|
+
- **Content-Type**: Not defined
|
105
|
+
- **Accept**: application/json
|
106
|
+
|
107
|
+
|
108
|
+
## get_external_ticket_configuration
|
109
|
+
|
110
|
+
> ExternalTicketConfiguration get_external_ticket_configuration(client, external_ticket_configuration_id)
|
111
|
+
|
112
|
+
Returns the external ticket configuration.
|
113
|
+
|
114
|
+
### Example
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
# load the gem
|
118
|
+
require 'korona-entry-client'
|
119
|
+
|
120
|
+
api_instance = KoronaEntryClient::ExternalTicketConfigurationsApi.new
|
121
|
+
client = 'client_example' # String | Identification of executing client.
|
122
|
+
external_ticket_configuration_id = 56 # Integer | ID to identify the external ticket configuration.
|
123
|
+
|
124
|
+
begin
|
125
|
+
#Returns the external ticket configuration.
|
126
|
+
result = api_instance.get_external_ticket_configuration(client, external_ticket_configuration_id)
|
127
|
+
p result
|
128
|
+
rescue KoronaEntryClient::ApiError => e
|
129
|
+
puts "Exception when calling ExternalTicketConfigurationsApi->get_external_ticket_configuration: #{e}"
|
130
|
+
end
|
131
|
+
```
|
132
|
+
|
133
|
+
### Parameters
|
134
|
+
|
135
|
+
|
136
|
+
Name | Type | Description | Notes
|
137
|
+
------------- | ------------- | ------------- | -------------
|
138
|
+
**client** | **String**| Identification of executing client. |
|
139
|
+
**external_ticket_configuration_id** | **Integer**| ID to identify the external ticket configuration. |
|
140
|
+
|
141
|
+
### Return type
|
142
|
+
|
143
|
+
[**ExternalTicketConfiguration**](ExternalTicketConfiguration.md)
|
144
|
+
|
145
|
+
### Authorization
|
146
|
+
|
147
|
+
No authorization required
|
148
|
+
|
149
|
+
### HTTP request headers
|
150
|
+
|
151
|
+
- **Content-Type**: Not defined
|
152
|
+
- **Accept**: application/json
|
153
|
+
|
154
|
+
|
155
|
+
## get_external_ticket_configurations
|
156
|
+
|
157
|
+
> ExternalTicketConfigurationList get_external_ticket_configurations(client)
|
158
|
+
|
159
|
+
Returns all external ticket configurations
|
160
|
+
|
161
|
+
### Example
|
162
|
+
|
163
|
+
```ruby
|
164
|
+
# load the gem
|
165
|
+
require 'korona-entry-client'
|
166
|
+
|
167
|
+
api_instance = KoronaEntryClient::ExternalTicketConfigurationsApi.new
|
168
|
+
client = 'client_example' # String | Identification of executing client.
|
169
|
+
|
170
|
+
begin
|
171
|
+
#Returns all external ticket configurations
|
172
|
+
result = api_instance.get_external_ticket_configurations(client)
|
173
|
+
p result
|
174
|
+
rescue KoronaEntryClient::ApiError => e
|
175
|
+
puts "Exception when calling ExternalTicketConfigurationsApi->get_external_ticket_configurations: #{e}"
|
176
|
+
end
|
177
|
+
```
|
178
|
+
|
179
|
+
### Parameters
|
180
|
+
|
181
|
+
|
182
|
+
Name | Type | Description | Notes
|
183
|
+
------------- | ------------- | ------------- | -------------
|
184
|
+
**client** | **String**| Identification of executing client. |
|
185
|
+
|
186
|
+
### Return type
|
187
|
+
|
188
|
+
[**ExternalTicketConfigurationList**](ExternalTicketConfigurationList.md)
|
189
|
+
|
190
|
+
### Authorization
|
191
|
+
|
192
|
+
No authorization required
|
193
|
+
|
194
|
+
### HTTP request headers
|
195
|
+
|
196
|
+
- **Content-Type**: Not defined
|
197
|
+
- **Accept**: application/json
|
198
|
+
|
199
|
+
|
200
|
+
## update_external_ticket_configuration
|
201
|
+
|
202
|
+
> ModelReference update_external_ticket_configuration(client, external_ticket_configuration_id, body)
|
203
|
+
|
204
|
+
Updates the single external ticket configuration.
|
205
|
+
|
206
|
+
### Example
|
207
|
+
|
208
|
+
```ruby
|
209
|
+
# load the gem
|
210
|
+
require 'korona-entry-client'
|
211
|
+
|
212
|
+
api_instance = KoronaEntryClient::ExternalTicketConfigurationsApi.new
|
213
|
+
client = 'client_example' # String | Identification of executing client.
|
214
|
+
external_ticket_configuration_id = 56 # Integer | ID to identify the external ticket configuration.
|
215
|
+
body = KoronaEntryClient::ExternalTicketConfiguration.new # ExternalTicketConfiguration | Properties to update of the external ticket configuration.
|
216
|
+
|
217
|
+
begin
|
218
|
+
#Updates the single external ticket configuration.
|
219
|
+
result = api_instance.update_external_ticket_configuration(client, external_ticket_configuration_id, body)
|
220
|
+
p result
|
221
|
+
rescue KoronaEntryClient::ApiError => e
|
222
|
+
puts "Exception when calling ExternalTicketConfigurationsApi->update_external_ticket_configuration: #{e}"
|
223
|
+
end
|
224
|
+
```
|
225
|
+
|
226
|
+
### Parameters
|
227
|
+
|
228
|
+
|
229
|
+
Name | Type | Description | Notes
|
230
|
+
------------- | ------------- | ------------- | -------------
|
231
|
+
**client** | **String**| Identification of executing client. |
|
232
|
+
**external_ticket_configuration_id** | **Integer**| ID to identify the external ticket configuration. |
|
233
|
+
**body** | [**ExternalTicketConfiguration**](ExternalTicketConfiguration.md)| Properties to update of the external ticket configuration. |
|
234
|
+
|
235
|
+
### Return type
|
236
|
+
|
237
|
+
[**ModelReference**](ModelReference.md)
|
238
|
+
|
239
|
+
### Authorization
|
240
|
+
|
241
|
+
No authorization required
|
242
|
+
|
243
|
+
### HTTP request headers
|
244
|
+
|
245
|
+
- **Content-Type**: application/json
|
246
|
+
- **Accept**: application/json
|
247
|
+
|