korona-cloud-client 1.0.1 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +321 -23
- data/docs/Account.md +32 -29
- data/docs/AccountSummary.md +12 -11
- data/docs/AccountTransaction.md +20 -17
- data/docs/AccountsApi.md +426 -30
- data/docs/AddOrUpdateResult.md +20 -19
- data/docs/AdditionalInfo.md +10 -9
- data/docs/AdditionalReceiptInfoType.md +36 -35
- data/docs/AdditionalReceiptInfoTypesApi.md +64 -31
- data/docs/AddressInformation.md +22 -19
- data/docs/Admission.md +10 -9
- data/docs/Amount.md +16 -15
- data/docs/AmountCountData.md +10 -9
- data/docs/Assortment.md +22 -21
- data/docs/AssortmentsApi.md +204 -86
- data/docs/Attendance.md +26 -25
- data/docs/BadRequestError.md +10 -9
- data/docs/Capacity.md +10 -9
- data/docs/Cashier.md +46 -33
- data/docs/CashierRole.md +28 -0
- data/docs/CashierRolesApi.md +520 -0
- data/docs/CashierSummary.md +18 -17
- data/docs/CashierVerificationRequirement.md +36 -0
- data/docs/CashierVerificationRequirementApi.md +378 -0
- data/docs/CashierVerificationResult.md +28 -0
- data/docs/CashiersApi.md +433 -31
- data/docs/Category.md +12 -11
- data/docs/CloudSubscription.md +10 -9
- data/docs/CloudSubscriptionDetails.md +20 -0
- data/docs/CommodityGroup.md +20 -17
- data/docs/CommodityGroupSummary.md +14 -13
- data/docs/CommodityGroupsApi.md +204 -86
- data/docs/CompanyIdentification.md +10 -9
- data/docs/Coupon.md +20 -0
- data/docs/CouponPosition.md +28 -0
- data/docs/CouponsApi.md +159 -0
- data/docs/CreationTask.md +28 -27
- data/docs/CurrenciesApi.md +280 -30
- data/docs/Currency.md +30 -29
- data/docs/CurrencyDenomination.md +10 -9
- data/docs/CurrencyExchangeRate.md +10 -9
- data/docs/Customer.md +52 -43
- data/docs/CustomerCard.md +10 -9
- data/docs/CustomerData.md +10 -9
- data/docs/CustomerDisplayConfiguration.md +50 -0
- data/docs/CustomerDisplayConfigurationsApi.md +450 -0
- data/docs/CustomerGroup.md +18 -17
- data/docs/CustomerGroupSummary.md +14 -13
- data/docs/CustomerGroupsApi.md +426 -30
- data/docs/CustomerInformation.md +12 -11
- data/docs/CustomerOrder.md +44 -43
- data/docs/CustomerOrderItem.md +46 -0
- data/docs/CustomerOrdersApi.md +192 -83
- data/docs/CustomersApi.md +204 -86
- data/docs/DateInterval.md +20 -0
- data/docs/DayRating.md +26 -25
- data/docs/DayTimePeriod.md +10 -9
- data/docs/DeliveryNote.md +38 -37
- data/docs/DeliveryNoteItem.md +22 -21
- data/docs/DeliveryNotesApi.md +157 -73
- data/docs/Deposit.md +16 -15
- data/docs/DeviceConfiguration.md +34 -0
- data/docs/DeviceConfigurationVariable.md +26 -0
- data/docs/DeviceConfigurationVariableValue.md +20 -0
- data/docs/DeviceConfigurationVariablesApi.md +448 -0
- data/docs/DeviceInformation.md +10 -9
- data/docs/DeviceParameterItem.md +22 -0
- data/docs/Discount.md +16 -11
- data/docs/DispatchNotification.md +60 -0
- data/docs/DispatchNotificationItem.md +32 -0
- data/docs/DispatchNotificationItemAmount.md +20 -0
- data/docs/DispatchNotificationItemContainer.md +20 -0
- data/docs/DispatchNotificationItemIdentification.md +22 -0
- data/docs/DispatchNotificationsApi.md +329 -0
- data/docs/EconomicZone.md +16 -15
- data/docs/EconomicZonesApi.md +280 -30
- data/docs/EndOfDayStatement.md +24 -23
- data/docs/EndOfDayStatementSummary.md +18 -17
- data/docs/EntryGate.md +20 -19
- data/docs/Event.md +30 -29
- data/docs/ExternalSystemCall.md +34 -31
- data/docs/ExternalSystemCallsApi.md +204 -86
- data/docs/FiscalTransaction.md +44 -0
- data/docs/FiscalUnit.md +54 -0
- data/docs/FiscalUnitCertificateInfo.md +20 -0
- data/docs/FiscalUnitPreConfiguration.md +28 -0
- data/docs/FiscalUnitState.md +28 -0
- data/docs/FiscalUnitStateUsageLevel.md +24 -0
- data/docs/FiscalUnitStateUsageLevelValue.md +20 -0
- data/docs/FiscalUnitStateVersionInfo.md +22 -0
- data/docs/FiscalUnitsApi.md +383 -0
- data/docs/ForbiddenError.md +10 -9
- data/docs/GeoLocation.md +10 -9
- data/docs/ImagesApi.md +29 -13
- data/docs/InfoText.md +20 -17
- data/docs/InfoTextsApi.md +280 -30
- data/docs/Interval.md +10 -9
- data/docs/InventoriesApi.md +526 -217
- data/docs/Inventory.md +44 -43
- data/docs/InventoryList.md +38 -35
- data/docs/InventoryListItem.md +18 -17
- data/docs/InventoryListItemStock.md +10 -9
- data/docs/KoronaAccount.md +28 -25
- data/docs/KoronaAccountApi.md +29 -13
- data/docs/MediaUrl.md +8 -7
- data/docs/MethodNotAllowedError.md +10 -9
- data/docs/ModelReference.md +12 -11
- data/docs/NotFoundError.md +10 -9
- data/docs/OpeningHours.md +12 -11
- data/docs/OrganizationalUnit.md +34 -31
- data/docs/OrganizationalUnitsApi.md +721 -174
- data/docs/Payment.md +22 -15
- data/docs/PaymentMethod.md +38 -31
- data/docs/PaymentMethodsApi.md +426 -30
- data/docs/PaymentServiceConfiguration.md +26 -0
- data/docs/PaymentSummary.md +12 -11
- data/docs/PaymentTerminalReceipt.md +20 -0
- data/docs/Period.md +12 -11
- data/docs/PeriodListTopSeller.md +12 -11
- data/docs/PeriodMapStringRevenueData.md +12 -11
- data/docs/PeriodObject.md +12 -11
- data/docs/PeriodRevenueData.md +12 -11
- data/docs/PointsOfSaleApi.md +506 -132
- data/docs/Pos.md +76 -45
- data/docs/PosBalance.md +44 -0
- data/docs/PosBalanceItem.md +26 -0
- data/docs/PosBalanceSummary.md +22 -0
- data/docs/PosBalanceSummaryChangeset.md +26 -0
- data/docs/PosBalanceTotal.md +20 -0
- data/docs/PosButton.md +32 -0
- data/docs/PosButtonFunction.md +38 -0
- data/docs/PosButtonLayout.md +30 -0
- data/docs/PosButtonLayoutsApi.md +524 -0
- data/docs/PosPageLayout.md +26 -0
- data/docs/PosPageLayoutConfiguration.md +32 -0
- data/docs/PosPageLayoutConfigurationsApi.md +524 -0
- data/docs/PosProfile.md +98 -0
- data/docs/PosProfilesApi.md +524 -0
- data/docs/PrepaidCard.md +20 -0
- data/docs/PriceGroup.md +20 -19
- data/docs/PriceGroupsApi.md +280 -30
- data/docs/PriceRule.md +38 -0
- data/docs/PriceRuleCalculation.md +20 -0
- data/docs/PriceRuleCondition.md +30 -0
- data/docs/PriceRuleTimeValidityRepetitionInterval.md +20 -0
- data/docs/PriceRuleValidityPeriod.md +22 -0
- data/docs/PriceRulesApi.md +520 -0
- data/docs/Product.md +98 -93
- data/docs/ProductCode.md +12 -11
- data/docs/ProductDescription.md +12 -11
- data/docs/ProductPrice.md +16 -15
- data/docs/ProductSpecialPrice.md +22 -0
- data/docs/ProductStock.md +16 -15
- data/docs/ProductSubproduct.md +16 -11
- data/docs/ProductSupplierPrice.md +16 -15
- data/docs/ProductTransferInvolvedPartyInformation.md +18 -17
- data/docs/ProductTransferInvolvedPartyInformationData.md +12 -11
- data/docs/ProductionType.md +34 -0
- data/docs/ProductionTypesApi.md +378 -0
- data/docs/ProductsApi.md +255 -110
- data/docs/Promotion.md +44 -0
- data/docs/PromotionApplication.md +22 -0
- data/docs/PromotionBenefit.md +26 -0
- data/docs/PromotionBenefitCommonDiscount.md +34 -0
- data/docs/PromotionBenefitExtendedDiscount.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountDiscountCalculation.md +28 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelection.md +24 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCountAmount.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteria.md +24 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRange.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionCriteriaMinMaxRangeValueComperator.md +20 -0
- data/docs/PromotionBenefitExtendedDiscountPositionSelectionFilter.md +28 -0
- data/docs/PromotionBenefitReduceProductAmount.md +20 -0
- data/docs/PromotionBonuspoint.md +20 -0
- data/docs/PromotionBonuspointCreation.md +24 -0
- data/docs/PromotionBonuspointRedemption.md +24 -0
- data/docs/PromotionBonuspointRedemptionFixedDiscount.md +20 -0
- data/docs/PromotionBonuspointRedemptionPercentageDiscount.md +20 -0
- data/docs/PromotionBonuspointRedemptionTagDiscount.md +20 -0
- data/docs/PromotionCoupon.md +24 -0
- data/docs/PromotionCouponValidity.md +22 -0
- data/docs/PromotionCouponValidityDaysAfterPurchaseInterval.md +20 -0
- data/docs/PromotionLayer.md +20 -0
- data/docs/PromotionStamp.md +22 -0
- data/docs/PromotionTrigger.md +32 -0
- data/docs/PromotionTriggerProductAmountCondition.md +22 -0
- data/docs/PromotionTriggerReceiptProductAmountCondition.md +20 -0
- data/docs/PromotionTriggerReceiptRevenueCondition.md +20 -0
- data/docs/PromotionTriggerTagAmountCondition.md +22 -0
- data/docs/PromotionTriggerTagRevenueCondition.md +22 -0
- data/docs/PromotionValidity.md +26 -0
- data/docs/PromotionsApi.md +520 -0
- data/docs/Rating.md +12 -11
- data/docs/Receipt.md +82 -55
- data/docs/ReceiptItem.md +48 -31
- data/docs/ReceiptLayoutConfiguration.md +56 -0
- data/docs/ReceiptLayoutConfigurationsApi.md +524 -0
- data/docs/ReceiptMaxRevisions.md +28 -0
- data/docs/ReceiptRevenue.md +20 -0
- data/docs/ReceiptTotal.md +22 -0
- data/docs/ReceiptsApi.md +82 -43
- data/docs/ResultList.md +18 -17
- data/docs/ResultListAccount.md +18 -17
- data/docs/ResultListAdditionalReceiptInfoType.md +18 -17
- data/docs/ResultListAssortment.md +18 -17
- data/docs/ResultListAttendance.md +18 -17
- data/docs/ResultListCashier.md +18 -17
- data/docs/ResultListCashierRole.md +28 -0
- data/docs/ResultListCashierVerificationRequirement.md +28 -0
- data/docs/ResultListCommodityGroup.md +18 -17
- data/docs/ResultListCoupon.md +28 -0
- data/docs/ResultListCreationTask.md +18 -17
- data/docs/ResultListCurrency.md +18 -17
- data/docs/ResultListCustomer.md +18 -17
- data/docs/ResultListCustomerDisplayConfiguration.md +28 -0
- data/docs/ResultListCustomerGroup.md +18 -17
- data/docs/ResultListCustomerOrder.md +18 -17
- data/docs/ResultListDayRating.md +18 -17
- data/docs/ResultListDeliveryNote.md +18 -17
- data/docs/ResultListDeviceConfigurationVariable.md +28 -0
- data/docs/ResultListDispatchNotification.md +28 -0
- data/docs/ResultListDispatchNotificationItem.md +28 -0
- data/docs/ResultListEconomicZone.md +18 -17
- data/docs/ResultListEndOfDayStatement.md +18 -17
- data/docs/ResultListEntryGate.md +18 -17
- data/docs/ResultListEvent.md +18 -17
- data/docs/ResultListExternalSystemCall.md +18 -17
- data/docs/ResultListFiscalUnit.md +28 -0
- data/docs/ResultListInfoText.md +18 -17
- data/docs/ResultListInventory.md +18 -17
- data/docs/ResultListInventoryList.md +18 -17
- data/docs/ResultListInventoryListItem.md +18 -17
- data/docs/ResultListOrganizationalUnit.md +18 -17
- data/docs/ResultListPaymentMethod.md +18 -17
- data/docs/ResultListPos.md +18 -17
- data/docs/ResultListPosBalance.md +28 -0
- data/docs/ResultListPosButtonLayout.md +28 -0
- data/docs/ResultListPosPageLayoutConfiguration.md +28 -0
- data/docs/ResultListPosProfile.md +28 -0
- data/docs/ResultListPriceGroup.md +18 -17
- data/docs/ResultListPriceRule.md +28 -0
- data/docs/ResultListProduct.md +18 -17
- data/docs/ResultListProductStock.md +18 -17
- data/docs/ResultListProductionType.md +28 -0
- data/docs/ResultListPromotion.md +28 -0
- data/docs/ResultListReceipt.md +18 -17
- data/docs/ResultListReceiptLayoutConfiguration.md +28 -0
- data/docs/ResultListSalesTax.md +18 -17
- data/docs/ResultListSector.md +18 -17
- data/docs/ResultListSpecialPriceConfiguration.md +28 -0
- data/docs/ResultListStockAdjustment.md +28 -0
- data/docs/ResultListStockAdjustmentItem.md +28 -0
- data/docs/ResultListStockOrder.md +28 -0
- data/docs/ResultListStockOrderItem.md +28 -0
- data/docs/ResultListStockReceipt.md +18 -17
- data/docs/ResultListStockReceiptItem.md +18 -17
- data/docs/ResultListStoreOrder.md +28 -0
- data/docs/ResultListStoreOrderItem.md +28 -0
- data/docs/ResultListSupplier.md +18 -17
- data/docs/ResultListTag.md +18 -17
- data/docs/ResultListTicket.md +18 -17
- data/docs/ResultListTicketDefinition.md +18 -17
- data/docs/ResultListTimeTrackingEntity.md +18 -17
- data/docs/ResultListTimeTrackingEntry.md +18 -17
- data/docs/ResultListUserRole.md +28 -0
- data/docs/RevenueData.md +16 -15
- data/docs/SalesTax.md +24 -21
- data/docs/SalesTaxRate.md +10 -9
- data/docs/SalesTaxesApi.md +280 -30
- data/docs/Sector.md +20 -19
- data/docs/SectorRevenueAccountItem.md +10 -9
- data/docs/SectorSalesTaxItem.md +10 -9
- data/docs/SectorsApi.md +191 -53
- data/docs/Service.md +20 -0
- data/docs/Signature.md +12 -11
- data/docs/SpecialPrice.md +22 -0
- data/docs/SpecialPriceConfiguration.md +32 -0
- data/docs/SpecialPriceConfigurationsApi.md +449 -0
- data/docs/Statistic.md +12 -11
- data/docs/StatisticListTopSeller.md +12 -11
- data/docs/StatisticMapStringRevenueData.md +12 -11
- data/docs/StatisticRevenueData.md +12 -11
- data/docs/StatisticsApi.md +123 -56
- data/docs/StockAdjustment.md +44 -0
- data/docs/StockAdjustmentItem.md +24 -0
- data/docs/StockAdjustmentItemReason.md +20 -0
- data/docs/StockAdjustmentsApi.md +834 -0
- data/docs/StockOrder.md +76 -0
- data/docs/StockOrderItem.md +40 -0
- data/docs/StockOrdersApi.md +404 -0
- data/docs/StockReceipt.md +54 -49
- data/docs/StockReceiptItem.md +20 -19
- data/docs/StockReceiptItemAmount.md +10 -9
- data/docs/StockReceiptItemIdentification.md +12 -11
- data/docs/StockReceiptItemPurchasePrice.md +10 -9
- data/docs/StockReceiptsApi.md +336 -150
- data/docs/StoreOrder.md +42 -0
- data/docs/StoreOrderItem.md +24 -0
- data/docs/StoreOrdersApi.md +836 -0
- data/docs/Supplier.md +32 -29
- data/docs/SupplierContact.md +14 -13
- data/docs/SupplierContactPerson.md +20 -19
- data/docs/SupplierPaymentInformation.md +24 -23
- data/docs/SuppliersApi.md +280 -30
- data/docs/Tag.md +16 -15
- data/docs/TagsApi.md +203 -85
- data/docs/TaxPayment.md +14 -13
- data/docs/TaxSummary.md +12 -11
- data/docs/TerminalReceiptPrintLine.md +20 -0
- data/docs/Ticket.md +20 -19
- data/docs/TicketCreationApi.md +63 -30
- data/docs/TicketData.md +28 -27
- data/docs/TicketDefinition.md +38 -29
- data/docs/TicketPersonalization.md +14 -13
- data/docs/TicketingApi.md +913 -265
- data/docs/TimeOfDayInterval.md +20 -0
- data/docs/TimePeriod.md +20 -19
- data/docs/TimeTrackingApi.md +190 -89
- data/docs/TimeTrackingEntity.md +18 -17
- data/docs/TimeTrackingEntry.md +20 -19
- data/docs/TooManyRequestsError.md +10 -9
- data/docs/TopSeller.md +16 -15
- data/docs/TotalPeriod.md +10 -9
- data/docs/TotalPrice.md +16 -15
- data/docs/UserRole.md +28 -0
- data/docs/UserRolesApi.md +518 -0
- data/docs/Validity.md +14 -13
- data/docs/VoidedReceiptItem.md +26 -0
- data/docs/VoucherTransaction.md +36 -0
- data/docs/Weather.md +12 -11
- data/korona-cloud-client.gemspec +3 -4
- data/lib/korona-cloud-client/api/accounts_api.rb +368 -10
- data/lib/korona-cloud-client/api/additional_receipt_info_types_api.rb +10 -8
- data/lib/korona-cloud-client/api/assortments_api.rb +30 -23
- data/lib/korona-cloud-client/api/cashier_roles_api.rb +520 -0
- data/lib/korona-cloud-client/api/cashier_verification_requirement_api.rb +378 -0
- data/lib/korona-cloud-client/api/cashiers_api.rb +380 -8
- data/lib/korona-cloud-client/api/commodity_groups_api.rb +30 -23
- data/lib/korona-cloud-client/api/coupons_api.rb +165 -0
- data/lib/korona-cloud-client/api/currencies_api.rb +220 -8
- data/lib/korona-cloud-client/api/customer_display_configurations_api.rb +447 -0
- data/lib/korona-cloud-client/api/customer_groups_api.rb +366 -8
- data/lib/korona-cloud-client/api/customer_orders_api.rb +46 -28
- data/lib/korona-cloud-client/api/customers_api.rb +30 -23
- data/lib/korona-cloud-client/api/delivery_notes_api.rb +30 -25
- data/lib/korona-cloud-client/api/device_configuration_variables_api.rb +445 -0
- data/lib/korona-cloud-client/api/dispatch_notifications_api.rb +345 -0
- data/lib/korona-cloud-client/api/economic_zones_api.rb +220 -8
- data/lib/korona-cloud-client/api/external_system_calls_api.rb +30 -23
- data/lib/korona-cloud-client/api/fiscal_units_api.rb +394 -0
- data/lib/korona-cloud-client/api/images_api.rb +6 -5
- data/lib/korona-cloud-client/api/info_texts_api.rb +220 -8
- data/lib/korona-cloud-client/api/inventories_api.rb +217 -130
- data/lib/korona-cloud-client/api/korona_account_api.rb +6 -5
- data/lib/korona-cloud-client/api/organizational_units_api.rb +416 -51
- data/lib/korona-cloud-client/api/payment_methods_api.rb +366 -8
- data/lib/korona-cloud-client/api/points_of_sale_api.rb +279 -36
- data/lib/korona-cloud-client/api/pos_button_layouts_api.rb +524 -0
- data/lib/korona-cloud-client/api/pos_page_layout_configurations_api.rb +524 -0
- data/lib/korona-cloud-client/api/pos_profiles_api.rb +524 -0
- data/lib/korona-cloud-client/api/price_groups_api.rb +220 -8
- data/lib/korona-cloud-client/api/price_rules_api.rb +520 -0
- data/lib/korona-cloud-client/api/production_types_api.rb +378 -0
- data/lib/korona-cloud-client/api/products_api.rb +43 -26
- data/lib/korona-cloud-client/api/promotions_api.rb +520 -0
- data/lib/korona-cloud-client/api/receipt_layout_configurations_api.rb +524 -0
- data/lib/korona-cloud-client/api/receipts_api.rb +24 -16
- data/lib/korona-cloud-client/api/sales_taxes_api.rb +220 -8
- data/lib/korona-cloud-client/api/sectors_api.rb +87 -14
- data/lib/korona-cloud-client/api/special_price_configurations_api.rb +445 -0
- data/lib/korona-cloud-client/api/statistics_api.rb +18 -14
- data/lib/korona-cloud-client/api/stock_adjustments_api.rb +860 -0
- data/lib/korona-cloud-client/api/stock_orders_api.rb +415 -0
- data/lib/korona-cloud-client/api/stock_receipts_api.rb +54 -43
- data/lib/korona-cloud-client/api/store_orders_api.rb +860 -0
- data/lib/korona-cloud-client/api/suppliers_api.rb +220 -8
- data/lib/korona-cloud-client/api/tags_api.rb +30 -23
- data/lib/korona-cloud-client/api/ticket_creation_api.rb +14 -12
- data/lib/korona-cloud-client/api/ticketing_api.rb +376 -72
- data/lib/korona-cloud-client/api/time_tracking_api.rb +30 -24
- data/lib/korona-cloud-client/api/user_roles_api.rb +517 -0
- data/lib/korona-cloud-client/api_client.rb +51 -47
- data/lib/korona-cloud-client/api_error.rb +2 -2
- data/lib/korona-cloud-client/configuration.rb +39 -10
- data/lib/korona-cloud-client/models/account.rb +33 -12
- data/lib/korona-cloud-client/models/account_summary.rb +20 -8
- data/lib/korona-cloud-client/models/account_transaction.rb +43 -13
- data/lib/korona-cloud-client/models/add_or_update_result.rb +20 -8
- data/lib/korona-cloud-client/models/additional_info.rb +20 -8
- data/lib/korona-cloud-client/models/additional_receipt_info_type.rb +38 -8
- data/lib/korona-cloud-client/models/address_information.rb +30 -9
- data/lib/korona-cloud-client/models/admission.rb +20 -8
- data/lib/korona-cloud-client/models/amount.rb +20 -8
- data/lib/korona-cloud-client/models/amount_count_data.rb +20 -8
- data/lib/korona-cloud-client/models/assortment.rb +22 -9
- data/lib/korona-cloud-client/models/attendance.rb +24 -10
- data/lib/korona-cloud-client/models/bad_request_error.rb +22 -10
- data/lib/korona-cloud-client/models/capacity.rb +20 -8
- data/lib/korona-cloud-client/models/cashier.rb +93 -17
- data/lib/korona-cloud-client/models/cashier_role.rb +291 -0
- data/lib/korona-cloud-client/models/cashier_summary.rb +20 -8
- data/lib/korona-cloud-client/models/cashier_verification_requirement.rb +345 -0
- data/lib/korona-cloud-client/models/cashier_verification_result.rb +299 -0
- data/lib/korona-cloud-client/models/category.rb +20 -8
- data/lib/korona-cloud-client/models/cloud_subscription.rb +21 -9
- data/lib/korona-cloud-client/models/cloud_subscription_details.rb +261 -0
- data/lib/korona-cloud-client/models/commodity_group.rb +30 -9
- data/lib/korona-cloud-client/models/commodity_group_summary.rb +20 -8
- data/lib/korona-cloud-client/models/company_identification.rb +20 -8
- data/lib/korona-cloud-client/models/coupon.rb +227 -0
- data/lib/korona-cloud-client/models/coupon_position.rb +279 -0
- data/lib/korona-cloud-client/models/creation_task.rb +22 -9
- data/lib/korona-cloud-client/models/currency.rb +20 -8
- data/lib/korona-cloud-client/models/currency_denomination.rb +20 -8
- data/lib/korona-cloud-client/models/currency_exchange_rate.rb +22 -9
- data/lib/korona-cloud-client/models/customer.rb +70 -13
- data/lib/korona-cloud-client/models/customer_card.rb +20 -8
- data/lib/korona-cloud-client/models/customer_data.rb +20 -8
- data/lib/korona-cloud-client/models/customer_display_configuration.rb +424 -0
- data/lib/korona-cloud-client/models/customer_group.rb +20 -8
- data/lib/korona-cloud-client/models/customer_group_summary.rb +20 -8
- data/lib/korona-cloud-client/models/customer_information.rb +22 -9
- data/lib/korona-cloud-client/models/customer_order.rb +30 -13
- data/lib/korona-cloud-client/models/customer_order_item.rb +358 -0
- data/lib/korona-cloud-client/models/date_interval.rb +229 -0
- data/lib/korona-cloud-client/models/day_rating.rb +22 -9
- data/lib/korona-cloud-client/models/day_time_period.rb +20 -8
- data/lib/korona-cloud-client/models/delivery_note.rb +24 -10
- data/lib/korona-cloud-client/models/delivery_note_item.rb +20 -8
- data/lib/korona-cloud-client/models/deposit.rb +22 -9
- data/lib/korona-cloud-client/models/device_configuration.rb +356 -0
- data/lib/korona-cloud-client/models/device_configuration_variable.rb +258 -0
- data/lib/korona-cloud-client/models/device_configuration_variable_value.rb +227 -0
- data/lib/korona-cloud-client/models/device_information.rb +22 -8
- data/lib/korona-cloud-client/models/device_parameter_item.rb +236 -0
- data/lib/korona-cloud-client/models/discount.rb +50 -18
- data/lib/korona-cloud-client/models/dispatch_notification.rb +413 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item.rb +282 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_amount.rb +227 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_container.rb +227 -0
- data/lib/korona-cloud-client/models/dispatch_notification_item_identification.rb +236 -0
- data/lib/korona-cloud-client/models/economic_zone.rb +20 -8
- data/lib/korona-cloud-client/models/end_of_day_statement.rb +22 -9
- data/lib/korona-cloud-client/models/end_of_day_statement_summary.rb +56 -8
- data/lib/korona-cloud-client/models/entry_gate.rb +20 -8
- data/lib/korona-cloud-client/models/event.rb +34 -9
- data/lib/korona-cloud-client/models/external_system_call.rb +33 -12
- data/lib/korona-cloud-client/models/fiscal_transaction.rb +357 -0
- data/lib/korona-cloud-client/models/fiscal_unit.rb +436 -0
- data/lib/korona-cloud-client/models/fiscal_unit_certificate_info.rb +246 -0
- data/lib/korona-cloud-client/models/fiscal_unit_pre_configuration.rb +263 -0
- data/lib/korona-cloud-client/models/fiscal_unit_state.rb +299 -0
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level.rb +245 -0
- data/lib/korona-cloud-client/models/fiscal_unit_state_usage_level_value.rb +227 -0
- data/lib/korona-cloud-client/models/fiscal_unit_state_version_info.rb +236 -0
- data/lib/korona-cloud-client/models/forbidden_error.rb +20 -8
- data/lib/korona-cloud-client/models/geo_location.rb +20 -8
- data/lib/korona-cloud-client/models/info_text.rb +33 -12
- data/lib/korona-cloud-client/models/interval.rb +24 -10
- data/lib/korona-cloud-client/models/inventory.rb +30 -10
- data/lib/korona-cloud-client/models/inventory_list.rb +38 -13
- data/lib/korona-cloud-client/models/inventory_list_item.rb +20 -8
- data/lib/korona-cloud-client/models/inventory_list_item_stock.rb +20 -8
- data/lib/korona-cloud-client/models/korona_account.rb +38 -9
- data/lib/korona-cloud-client/models/media_url.rb +20 -8
- data/lib/korona-cloud-client/models/method_not_allowed_error.rb +20 -8
- data/lib/korona-cloud-client/models/model_reference.rb +20 -8
- data/lib/korona-cloud-client/models/not_found_error.rb +20 -8
- data/lib/korona-cloud-client/models/opening_hours.rb +22 -8
- data/lib/korona-cloud-client/models/organizational_unit.rb +68 -41
- data/lib/korona-cloud-client/models/payment.rb +57 -13
- data/lib/korona-cloud-client/models/payment_method.rb +51 -12
- data/lib/korona-cloud-client/models/payment_service_configuration.rb +288 -0
- data/lib/korona-cloud-client/models/payment_summary.rb +20 -8
- data/lib/korona-cloud-client/models/payment_terminal_receipt.rb +263 -0
- data/lib/korona-cloud-client/models/period.rb +24 -10
- data/lib/korona-cloud-client/models/period_list_top_seller.rb +24 -10
- data/lib/korona-cloud-client/models/period_map_string_revenue_data.rb +24 -10
- data/lib/korona-cloud-client/models/period_object.rb +24 -10
- data/lib/korona-cloud-client/models/period_revenue_data.rb +24 -10
- data/lib/korona-cloud-client/models/pos.rb +213 -21
- data/lib/korona-cloud-client/models/pos_balance.rb +365 -0
- data/lib/korona-cloud-client/models/pos_balance_item.rb +288 -0
- data/lib/korona-cloud-client/models/pos_balance_summary.rb +236 -0
- data/lib/korona-cloud-client/models/pos_balance_summary_changeset.rb +255 -0
- data/lib/korona-cloud-client/models/pos_balance_total.rb +227 -0
- data/lib/korona-cloud-client/models/pos_button.rb +329 -0
- data/lib/korona-cloud-client/models/pos_button_function.rb +366 -0
- data/lib/korona-cloud-client/models/pos_button_layout.rb +318 -0
- data/lib/korona-cloud-client/models/pos_page_layout.rb +288 -0
- data/lib/korona-cloud-client/models/pos_page_layout_configuration.rb +293 -0
- data/lib/korona-cloud-client/models/pos_profile.rb +658 -0
- data/lib/korona-cloud-client/models/prepaid_card.rb +227 -0
- data/lib/korona-cloud-client/models/price_group.rb +20 -8
- data/lib/korona-cloud-client/models/price_rule.rb +312 -0
- data/lib/korona-cloud-client/models/price_rule_calculation.rb +261 -0
- data/lib/korona-cloud-client/models/price_rule_condition.rb +306 -0
- data/lib/korona-cloud-client/models/price_rule_time_validity_repetition_interval.rb +261 -0
- data/lib/korona-cloud-client/models/price_rule_validity_period.rb +236 -0
- data/lib/korona-cloud-client/models/product.rb +53 -12
- data/lib/korona-cloud-client/models/product_code.rb +20 -8
- data/lib/korona-cloud-client/models/product_description.rb +20 -8
- data/lib/korona-cloud-client/models/product_price.rb +24 -9
- data/lib/korona-cloud-client/models/product_special_price.rb +237 -0
- data/lib/korona-cloud-client/models/product_stock.rb +20 -8
- data/lib/korona-cloud-client/models/product_subproduct.rb +76 -12
- data/lib/korona-cloud-client/models/product_supplier_price.rb +20 -8
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information.rb +20 -8
- data/lib/korona-cloud-client/models/product_transfer_involved_party_information_data.rb +20 -8
- data/lib/korona-cloud-client/models/production_type.rb +340 -0
- data/lib/korona-cloud-client/models/promotion.rb +383 -0
- data/lib/korona-cloud-client/models/promotion_application.rb +236 -0
- data/lib/korona-cloud-client/models/promotion_benefit.rb +288 -0
- data/lib/korona-cloud-client/models/promotion_benefit_common_discount.rb +360 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount.rb +229 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_discount_calculation.rb +321 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection.rb +279 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_count_amount.rb +261 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria.rb +247 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_value_comperator.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_benefit_extended_discount_position_selection_filter.rb +297 -0
- data/lib/korona-cloud-client/models/promotion_benefit_reduce_product_amount.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_creation.rb +279 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption.rb +279 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_fixed_discount.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_percentage_discount.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_bonuspoint_redemption_tag_discount.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_coupon.rb +287 -0
- data/lib/korona-cloud-client/models/promotion_coupon_validity.rb +270 -0
- data/lib/korona-cloud-client/models/promotion_coupon_validity_days_after_purchase_interval.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_layer.rb +227 -0
- data/lib/korona-cloud-client/models/promotion_stamp.rb +270 -0
- data/lib/korona-cloud-client/models/promotion_trigger.rb +298 -0
- data/lib/korona-cloud-client/models/promotion_trigger_product_amount_condition.rb +270 -0
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_product_amount_condition.rb +261 -0
- data/lib/korona-cloud-client/models/promotion_trigger_receipt_revenue_condition.rb +261 -0
- data/lib/korona-cloud-client/models/promotion_trigger_tag_amount_condition.rb +270 -0
- data/lib/korona-cloud-client/models/promotion_trigger_tag_revenue_condition.rb +270 -0
- data/lib/korona-cloud-client/models/promotion_validity.rb +294 -0
- data/lib/korona-cloud-client/models/rating.rb +20 -8
- data/lib/korona-cloud-client/models/receipt.rb +204 -39
- data/lib/korona-cloud-client/models/receipt_item.rb +163 -33
- data/lib/korona-cloud-client/models/receipt_layout_configuration.rb +427 -0
- data/lib/korona-cloud-client/models/receipt_max_revisions.rb +263 -0
- data/lib/korona-cloud-client/models/receipt_revenue.rb +227 -0
- data/lib/korona-cloud-client/models/receipt_total.rb +236 -0
- data/lib/korona-cloud-client/models/result_list.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_account.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_additional_receipt_info_type.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_assortment.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_attendance.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_cashier.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_cashier_role.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_cashier_verification_requirement.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_commodity_group.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_coupon.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_creation_task.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_currency.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_customer.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_customer_display_configuration.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_customer_group.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_customer_order.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_day_rating.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_delivery_note.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_device_configuration_variable.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_dispatch_notification.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_dispatch_notification_item.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_economic_zone.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_end_of_day_statement.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_entry_gate.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_event.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_external_system_call.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_fiscal_unit.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_info_text.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_inventory.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_inventory_list.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_inventory_list_item.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_organizational_unit.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_payment_method.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_pos.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_pos_balance.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_pos_button_layout.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_pos_page_layout_configuration.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_pos_profile.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_price_group.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_price_rule.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_product.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_product_stock.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_production_type.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_promotion.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_receipt.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_receipt_layout_configuration.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_sales_tax.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_sector.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_special_price_configuration.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_stock_adjustment.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_stock_adjustment_item.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_stock_order.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_stock_order_item.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_stock_receipt.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_stock_receipt_item.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_store_order.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_store_order_item.rb +303 -0
- data/lib/korona-cloud-client/models/result_list_supplier.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_tag.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_ticket.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_ticket_definition.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_time_tracking_entity.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_time_tracking_entry.rb +20 -8
- data/lib/korona-cloud-client/models/result_list_user_role.rb +303 -0
- data/lib/korona-cloud-client/models/revenue_data.rb +20 -8
- data/lib/korona-cloud-client/models/sales_tax.rb +64 -9
- data/lib/korona-cloud-client/models/sales_tax_rate.rb +22 -9
- data/lib/korona-cloud-client/models/sector.rb +20 -8
- data/lib/korona-cloud-client/models/sector_revenue_account_item.rb +20 -8
- data/lib/korona-cloud-client/models/sector_sales_tax_item.rb +20 -8
- data/lib/korona-cloud-client/models/service.rb +261 -0
- data/lib/korona-cloud-client/models/signature.rb +22 -9
- data/lib/korona-cloud-client/models/special_price.rb +237 -0
- data/lib/korona-cloud-client/models/special_price_configuration.rb +295 -0
- data/lib/korona-cloud-client/models/statistic.rb +20 -8
- data/lib/korona-cloud-client/models/statistic_list_top_seller.rb +20 -8
- data/lib/korona-cloud-client/models/statistic_map_string_revenue_data.rb +20 -8
- data/lib/korona-cloud-client/models/statistic_revenue_data.rb +20 -8
- data/lib/korona-cloud-client/models/stock_adjustment.rb +375 -0
- data/lib/korona-cloud-client/models/stock_adjustment_item.rb +245 -0
- data/lib/korona-cloud-client/models/stock_adjustment_item_reason.rb +261 -0
- data/lib/korona-cloud-client/models/stock_order.rb +524 -0
- data/lib/korona-cloud-client/models/stock_order_item.rb +318 -0
- data/lib/korona-cloud-client/models/stock_receipt.rb +45 -12
- data/lib/korona-cloud-client/models/stock_receipt_item.rb +22 -9
- data/lib/korona-cloud-client/models/stock_receipt_item_amount.rb +20 -8
- data/lib/korona-cloud-client/models/stock_receipt_item_identification.rb +20 -8
- data/lib/korona-cloud-client/models/stock_receipt_item_purchase_price.rb +20 -8
- data/lib/korona-cloud-client/models/store_order.rb +333 -0
- data/lib/korona-cloud-client/models/store_order_item.rb +245 -0
- data/lib/korona-cloud-client/models/supplier.rb +33 -12
- data/lib/korona-cloud-client/models/supplier_contact.rb +20 -8
- data/lib/korona-cloud-client/models/supplier_contact_person.rb +20 -8
- data/lib/korona-cloud-client/models/supplier_payment_information.rb +20 -8
- data/lib/korona-cloud-client/models/tag.rb +20 -8
- data/lib/korona-cloud-client/models/tax_payment.rb +20 -8
- data/lib/korona-cloud-client/models/tax_summary.rb +20 -8
- data/lib/korona-cloud-client/models/terminal_receipt_print_line.rb +261 -0
- data/lib/korona-cloud-client/models/ticket.rb +24 -10
- data/lib/korona-cloud-client/models/ticket_data.rb +26 -10
- data/lib/korona-cloud-client/models/ticket_definition.rb +63 -9
- data/lib/korona-cloud-client/models/ticket_personalization.rb +20 -8
- data/lib/korona-cloud-client/models/time_of_day_interval.rb +229 -0
- data/lib/korona-cloud-client/models/time_period.rb +20 -8
- data/lib/korona-cloud-client/models/time_tracking_entity.rb +20 -8
- data/lib/korona-cloud-client/models/time_tracking_entry.rb +22 -9
- data/lib/korona-cloud-client/models/too_many_requests_error.rb +20 -8
- data/lib/korona-cloud-client/models/top_seller.rb +20 -8
- data/lib/korona-cloud-client/models/total_period.rb +24 -10
- data/lib/korona-cloud-client/models/total_price.rb +20 -8
- data/lib/korona-cloud-client/models/user_role.rb +291 -0
- data/lib/korona-cloud-client/models/validity.rb +26 -8
- data/lib/korona-cloud-client/models/voided_receipt_item.rb +254 -0
- data/lib/korona-cloud-client/models/voucher_transaction.rb +335 -0
- data/lib/korona-cloud-client/models/weather.rb +20 -8
- data/lib/korona-cloud-client/version.rb +3 -3
- data/lib/korona-cloud-client.rb +142 -2
- data/spec/api/accounts_api_spec.rb +67 -3
- data/spec/api/additional_receipt_info_types_api_spec.rb +2 -2
- data/spec/api/assortments_api_spec.rb +2 -2
- data/spec/api/cashier_roles_api_spec.rb +126 -0
- data/spec/api/cashier_verification_requirement_api_spec.rb +101 -0
- data/spec/api/cashiers_api_spec.rb +68 -2
- data/spec/api/commodity_groups_api_spec.rb +2 -2
- data/spec/api/coupons_api_spec.rb +63 -0
- data/spec/api/currencies_api_spec.rb +39 -2
- data/spec/api/customer_display_configurations_api_spec.rb +114 -0
- data/spec/api/customer_groups_api_spec.rb +66 -2
- data/spec/api/customer_orders_api_spec.rb +10 -6
- data/spec/api/customers_api_spec.rb +2 -2
- data/spec/api/delivery_notes_api_spec.rb +6 -6
- data/spec/api/device_configuration_variables_api_spec.rb +113 -0
- data/spec/api/dispatch_notifications_api_spec.rb +100 -0
- data/spec/api/economic_zones_api_spec.rb +39 -2
- data/spec/api/external_system_calls_api_spec.rb +2 -2
- data/spec/api/fiscal_units_api_spec.rb +104 -0
- data/spec/api/images_api_spec.rb +2 -2
- data/spec/api/info_texts_api_spec.rb +39 -2
- data/spec/api/inventories_api_spec.rb +37 -24
- data/spec/api/korona_account_api_spec.rb +2 -2
- data/spec/api/organizational_units_api_spec.rb +73 -10
- data/spec/api/payment_methods_api_spec.rb +66 -2
- data/spec/api/points_of_sale_api_spec.rb +53 -7
- data/spec/api/pos_button_layouts_api_spec.rb +128 -0
- data/spec/api/pos_page_layout_configurations_api_spec.rb +128 -0
- data/spec/api/pos_profiles_api_spec.rb +128 -0
- data/spec/api/price_groups_api_spec.rb +39 -2
- data/spec/api/price_rules_api_spec.rb +126 -0
- data/spec/api/production_types_api_spec.rb +101 -0
- data/spec/api/products_api_spec.rb +5 -2
- data/spec/api/promotions_api_spec.rb +126 -0
- data/spec/api/receipt_layout_configurations_api_spec.rb +128 -0
- data/spec/api/receipts_api_spec.rb +8 -6
- data/spec/api/sales_taxes_api_spec.rb +39 -2
- data/spec/api/sectors_api_spec.rb +14 -2
- data/spec/api/special_price_configurations_api_spec.rb +113 -0
- data/spec/api/statistics_api_spec.rb +2 -2
- data/spec/api/stock_adjustments_api_spec.rb +190 -0
- data/spec/api/stock_orders_api_spec.rb +114 -0
- data/spec/api/stock_receipts_api_spec.rb +6 -6
- data/spec/api/store_orders_api_spec.rb +190 -0
- data/spec/api/suppliers_api_spec.rb +39 -2
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/ticket_creation_api_spec.rb +4 -4
- data/spec/api/ticketing_api_spec.rb +55 -4
- data/spec/api/time_tracking_api_spec.rb +4 -4
- data/spec/api/user_roles_api_spec.rb +125 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/account_spec.rb +12 -13
- data/spec/models/account_summary_spec.rb +5 -12
- data/spec/models/account_transaction_spec.rb +11 -12
- data/spec/models/add_or_update_result_spec.rb +7 -14
- data/spec/models/additional_info_spec.rb +5 -12
- data/spec/models/additional_receipt_info_type_spec.rb +5 -12
- data/spec/models/address_information_spec.rb +11 -12
- data/spec/models/admission_spec.rb +5 -12
- data/spec/models/amount_count_data_spec.rb +5 -12
- data/spec/models/amount_spec.rb +5 -12
- data/spec/models/assortment_spec.rb +5 -12
- data/spec/models/attendance_spec.rb +5 -12
- data/spec/models/bad_request_error_spec.rb +7 -14
- data/spec/models/capacity_spec.rb +5 -12
- data/spec/models/cashier_role_spec.rb +68 -0
- data/spec/models/cashier_spec.rb +45 -16
- data/spec/models/cashier_summary_spec.rb +5 -12
- data/spec/models/cashier_verification_requirement_spec.rb +92 -0
- data/spec/models/cashier_verification_result_spec.rb +68 -0
- data/spec/models/category_spec.rb +5 -12
- data/spec/models/cloud_subscription_details_spec.rb +44 -0
- data/spec/models/cloud_subscription_spec.rb +6 -13
- data/spec/models/commodity_group_spec.rb +11 -12
- data/spec/models/commodity_group_summary_spec.rb +5 -12
- data/spec/models/company_identification_spec.rb +5 -12
- data/spec/models/coupon_position_spec.rb +64 -0
- data/spec/models/coupon_spec.rb +40 -0
- data/spec/models/creation_task_spec.rb +6 -13
- data/spec/models/currency_denomination_spec.rb +6 -13
- data/spec/models/currency_exchange_rate_spec.rb +5 -12
- data/spec/models/currency_spec.rb +5 -12
- data/spec/models/customer_card_spec.rb +6 -13
- data/spec/models/customer_data_spec.rb +5 -12
- data/spec/models/customer_display_configuration_spec.rb +142 -0
- data/spec/models/customer_group_spec.rb +5 -12
- data/spec/models/customer_group_summary_spec.rb +5 -12
- data/spec/models/customer_information_spec.rb +5 -12
- data/spec/models/customer_order_item_spec.rb +118 -0
- data/spec/models/customer_order_spec.rb +5 -12
- data/spec/models/customer_spec.rb +30 -13
- data/spec/models/date_interval_spec.rb +40 -0
- data/spec/models/day_rating_spec.rb +5 -12
- data/spec/models/day_time_period_spec.rb +5 -12
- data/spec/models/delivery_note_item_spec.rb +5 -12
- data/spec/models/delivery_note_spec.rb +5 -12
- data/spec/models/deposit_spec.rb +5 -12
- data/spec/models/device_configuration_spec.rb +94 -0
- data/spec/models/device_configuration_variable_spec.rb +58 -0
- data/spec/models/device_configuration_variable_value_spec.rb +40 -0
- data/spec/models/device_information_spec.rb +5 -12
- data/spec/models/device_parameter_item_spec.rb +46 -0
- data/spec/models/discount_spec.rb +18 -13
- data/spec/models/dispatch_notification_item_amount_spec.rb +40 -0
- data/spec/models/dispatch_notification_item_container_spec.rb +40 -0
- data/spec/models/dispatch_notification_item_identification_spec.rb +46 -0
- data/spec/models/dispatch_notification_item_spec.rb +76 -0
- data/spec/models/dispatch_notification_spec.rb +160 -0
- data/spec/models/economic_zone_spec.rb +5 -12
- data/spec/models/end_of_day_statement_spec.rb +5 -12
- data/spec/models/end_of_day_statement_summary_spec.rb +5 -12
- data/spec/models/entry_gate_spec.rb +5 -12
- data/spec/models/event_spec.rb +5 -12
- data/spec/models/external_system_call_spec.rb +11 -12
- data/spec/models/fiscal_transaction_spec.rb +112 -0
- data/spec/models/fiscal_unit_certificate_info_spec.rb +40 -0
- data/spec/models/fiscal_unit_pre_configuration_spec.rb +64 -0
- data/spec/models/fiscal_unit_spec.rb +146 -0
- data/spec/models/fiscal_unit_state_spec.rb +68 -0
- data/spec/models/fiscal_unit_state_usage_level_spec.rb +52 -0
- data/spec/models/fiscal_unit_state_usage_level_value_spec.rb +40 -0
- data/spec/models/fiscal_unit_state_version_info_spec.rb +46 -0
- data/spec/models/forbidden_error_spec.rb +6 -13
- data/spec/models/geo_location_spec.rb +5 -12
- data/spec/models/info_text_spec.rb +12 -13
- data/spec/models/interval_spec.rb +5 -12
- data/spec/models/inventory_list_item_spec.rb +5 -12
- data/spec/models/inventory_list_item_stock_spec.rb +5 -12
- data/spec/models/inventory_list_spec.rb +12 -13
- data/spec/models/inventory_spec.rb +8 -15
- data/spec/models/korona_account_spec.rb +13 -14
- data/spec/models/media_url_spec.rb +5 -12
- data/spec/models/method_not_allowed_error_spec.rb +6 -13
- data/spec/models/model_reference_spec.rb +5 -12
- data/spec/models/not_found_error_spec.rb +6 -13
- data/spec/models/opening_hours_spec.rb +6 -13
- data/spec/models/organizational_unit_spec.rb +18 -19
- data/spec/models/payment_method_spec.rb +23 -12
- data/spec/models/payment_service_configuration_spec.rb +62 -0
- data/spec/models/payment_spec.rb +23 -12
- data/spec/models/payment_summary_spec.rb +5 -12
- data/spec/models/payment_terminal_receipt_spec.rb +44 -0
- data/spec/models/period_list_top_seller_spec.rb +5 -12
- data/spec/models/period_map_string_revenue_data_spec.rb +5 -12
- data/spec/models/period_object_spec.rb +5 -12
- data/spec/models/period_revenue_data_spec.rb +5 -12
- data/spec/models/period_spec.rb +5 -12
- data/spec/models/pos_balance_item_spec.rb +62 -0
- data/spec/models/pos_balance_spec.rb +112 -0
- data/spec/models/pos_balance_summary_changeset_spec.rb +58 -0
- data/spec/models/pos_balance_summary_spec.rb +46 -0
- data/spec/models/pos_balance_total_spec.rb +40 -0
- data/spec/models/pos_button_function_spec.rb +106 -0
- data/spec/models/pos_button_layout_spec.rb +74 -0
- data/spec/models/pos_button_spec.rb +84 -0
- data/spec/models/pos_page_layout_configuration_spec.rb +76 -0
- data/spec/models/pos_page_layout_spec.rb +62 -0
- data/spec/models/pos_profile_spec.rb +282 -0
- data/spec/models/pos_spec.rb +101 -14
- data/spec/models/prepaid_card_spec.rb +40 -0
- data/spec/models/price_group_spec.rb +5 -12
- data/spec/models/price_rule_calculation_spec.rb +44 -0
- data/spec/models/price_rule_condition_spec.rb +74 -0
- data/spec/models/price_rule_spec.rb +94 -0
- data/spec/models/price_rule_time_validity_repetition_interval_spec.rb +44 -0
- data/spec/models/price_rule_validity_period_spec.rb +46 -0
- data/spec/models/product_code_spec.rb +5 -12
- data/spec/models/product_description_spec.rb +6 -13
- data/spec/models/product_price_spec.rb +5 -12
- data/spec/models/product_spec.rb +20 -15
- data/spec/models/product_special_price_spec.rb +46 -0
- data/spec/models/product_stock_spec.rb +5 -12
- data/spec/models/product_subproduct_spec.rb +21 -12
- data/spec/models/product_supplier_price_spec.rb +5 -12
- data/spec/models/product_transfer_involved_party_information_data_spec.rb +5 -12
- data/spec/models/product_transfer_involved_party_information_spec.rb +5 -12
- data/spec/models/production_type_spec.rb +90 -0
- data/spec/models/promotion_application_spec.rb +46 -0
- data/spec/models/promotion_benefit_common_discount_spec.rb +98 -0
- data/spec/models/promotion_benefit_ext_discount_pos_selection_criteria_min_max_range_value_comp_spec.rb +40 -0
- data/spec/models/promotion_benefit_extended_discount_discount_calculation_spec.rb +76 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_count_amount_spec.rb +44 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_min_max_range_spec.rb +40 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_criteria_spec.rb +52 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_filter_spec.rb +68 -0
- data/spec/models/promotion_benefit_extended_discount_position_selection_spec.rb +56 -0
- data/spec/models/promotion_benefit_extended_discount_spec.rb +40 -0
- data/spec/models/promotion_benefit_reduce_product_amount_spec.rb +40 -0
- data/spec/models/promotion_benefit_spec.rb +62 -0
- data/spec/models/promotion_bonuspoint_creation_spec.rb +56 -0
- data/spec/models/promotion_bonuspoint_redemption_fixed_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_redemption_percentage_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_redemption_spec.rb +56 -0
- data/spec/models/promotion_bonuspoint_redemption_tag_discount_spec.rb +40 -0
- data/spec/models/promotion_bonuspoint_spec.rb +40 -0
- data/spec/models/promotion_coupon_spec.rb +56 -0
- data/spec/models/promotion_coupon_validity_days_after_purchase_interval_spec.rb +40 -0
- data/spec/models/promotion_coupon_validity_spec.rb +50 -0
- data/spec/models/promotion_layer_spec.rb +40 -0
- data/spec/models/promotion_spec.rb +116 -0
- data/spec/models/promotion_stamp_spec.rb +50 -0
- data/spec/models/promotion_trigger_product_amount_condition_spec.rb +50 -0
- data/spec/models/promotion_trigger_receipt_product_amount_condition_spec.rb +44 -0
- data/spec/models/promotion_trigger_receipt_revenue_condition_spec.rb +44 -0
- data/spec/models/promotion_trigger_spec.rb +76 -0
- data/spec/models/promotion_trigger_tag_amount_condition_spec.rb +50 -0
- data/spec/models/promotion_trigger_tag_revenue_condition_spec.rb +50 -0
- data/spec/models/promotion_validity_spec.rb +62 -0
- data/spec/models/rating_spec.rb +5 -12
- data/spec/models/receipt_item_spec.rb +64 -19
- data/spec/models/receipt_layout_configuration_spec.rb +152 -0
- data/spec/models/receipt_max_revisions_spec.rb +64 -0
- data/spec/models/receipt_revenue_spec.rb +40 -0
- data/spec/models/receipt_spec.rb +88 -17
- data/spec/models/receipt_total_spec.rb +46 -0
- data/spec/models/result_list_account_spec.rb +5 -12
- data/spec/models/result_list_additional_receipt_info_type_spec.rb +5 -12
- data/spec/models/result_list_assortment_spec.rb +5 -12
- data/spec/models/result_list_attendance_spec.rb +5 -12
- data/spec/models/result_list_cashier_role_spec.rb +64 -0
- data/spec/models/result_list_cashier_spec.rb +5 -12
- data/spec/models/result_list_cashier_verification_requirement_spec.rb +64 -0
- data/spec/models/result_list_commodity_group_spec.rb +5 -12
- data/spec/models/result_list_coupon_spec.rb +64 -0
- data/spec/models/result_list_creation_task_spec.rb +5 -12
- data/spec/models/result_list_currency_spec.rb +5 -12
- data/spec/models/result_list_customer_display_configuration_spec.rb +64 -0
- data/spec/models/result_list_customer_group_spec.rb +5 -12
- data/spec/models/result_list_customer_order_spec.rb +5 -12
- data/spec/models/result_list_customer_spec.rb +5 -12
- data/spec/models/result_list_day_rating_spec.rb +5 -12
- data/spec/models/result_list_delivery_note_spec.rb +5 -12
- data/spec/models/result_list_device_configuration_variable_spec.rb +64 -0
- data/spec/models/result_list_dispatch_notification_item_spec.rb +64 -0
- data/spec/models/result_list_dispatch_notification_spec.rb +64 -0
- data/spec/models/result_list_economic_zone_spec.rb +5 -12
- data/spec/models/result_list_end_of_day_statement_spec.rb +5 -12
- data/spec/models/result_list_entry_gate_spec.rb +5 -12
- data/spec/models/result_list_event_spec.rb +5 -12
- data/spec/models/result_list_external_system_call_spec.rb +5 -12
- data/spec/models/result_list_fiscal_unit_spec.rb +64 -0
- data/spec/models/result_list_info_text_spec.rb +5 -12
- data/spec/models/result_list_inventory_list_item_spec.rb +5 -12
- data/spec/models/result_list_inventory_list_spec.rb +5 -12
- data/spec/models/result_list_inventory_spec.rb +5 -12
- data/spec/models/result_list_organizational_unit_spec.rb +5 -12
- data/spec/models/result_list_payment_method_spec.rb +5 -12
- data/spec/models/result_list_pos_balance_spec.rb +64 -0
- data/spec/models/result_list_pos_button_layout_spec.rb +64 -0
- data/spec/models/result_list_pos_page_layout_configuration_spec.rb +64 -0
- data/spec/models/result_list_pos_profile_spec.rb +64 -0
- data/spec/models/result_list_pos_spec.rb +5 -12
- data/spec/models/result_list_price_group_spec.rb +5 -12
- data/spec/models/result_list_price_rule_spec.rb +64 -0
- data/spec/models/result_list_product_spec.rb +5 -12
- data/spec/models/result_list_product_stock_spec.rb +5 -12
- data/spec/models/result_list_production_type_spec.rb +64 -0
- data/spec/models/result_list_promotion_spec.rb +64 -0
- data/spec/models/result_list_receipt_layout_configuration_spec.rb +64 -0
- data/spec/models/result_list_receipt_spec.rb +5 -12
- data/spec/models/result_list_sales_tax_spec.rb +5 -12
- data/spec/models/result_list_sector_spec.rb +5 -12
- data/spec/models/result_list_spec.rb +5 -12
- data/spec/models/result_list_special_price_configuration_spec.rb +64 -0
- data/spec/models/result_list_stock_adjustment_item_spec.rb +64 -0
- data/spec/models/result_list_stock_adjustment_spec.rb +64 -0
- data/spec/models/result_list_stock_order_item_spec.rb +64 -0
- data/spec/models/result_list_stock_order_spec.rb +64 -0
- data/spec/models/result_list_stock_receipt_item_spec.rb +5 -12
- data/spec/models/result_list_stock_receipt_spec.rb +5 -12
- data/spec/models/result_list_store_order_item_spec.rb +64 -0
- data/spec/models/result_list_store_order_spec.rb +64 -0
- data/spec/models/result_list_supplier_spec.rb +5 -12
- data/spec/models/result_list_tag_spec.rb +5 -12
- data/spec/models/result_list_ticket_definition_spec.rb +5 -12
- data/spec/models/result_list_ticket_spec.rb +5 -12
- data/spec/models/result_list_time_tracking_entity_spec.rb +5 -12
- data/spec/models/result_list_time_tracking_entry_spec.rb +5 -12
- data/spec/models/result_list_user_role_spec.rb +64 -0
- data/spec/models/revenue_data_spec.rb +5 -12
- data/spec/models/sales_tax_rate_spec.rb +5 -12
- data/spec/models/sales_tax_spec.rb +15 -12
- data/spec/models/sector_revenue_account_item_spec.rb +5 -12
- data/spec/models/sector_sales_tax_item_spec.rb +5 -12
- data/spec/models/sector_spec.rb +5 -12
- data/spec/models/service_spec.rb +44 -0
- data/spec/models/signature_spec.rb +5 -12
- data/spec/models/special_price_configuration_spec.rb +76 -0
- data/spec/models/special_price_spec.rb +46 -0
- data/spec/models/statistic_list_top_seller_spec.rb +5 -12
- data/spec/models/statistic_map_string_revenue_data_spec.rb +5 -12
- data/spec/models/statistic_revenue_data_spec.rb +5 -12
- data/spec/models/statistic_spec.rb +5 -12
- data/spec/models/stock_adjustment_item_reason_spec.rb +44 -0
- data/spec/models/stock_adjustment_item_spec.rb +52 -0
- data/spec/models/stock_adjustment_spec.rb +116 -0
- data/spec/models/stock_order_item_spec.rb +100 -0
- data/spec/models/stock_order_spec.rb +212 -0
- data/spec/models/stock_receipt_item_amount_spec.rb +5 -12
- data/spec/models/stock_receipt_item_identification_spec.rb +5 -12
- data/spec/models/stock_receipt_item_purchase_price_spec.rb +5 -12
- data/spec/models/stock_receipt_item_spec.rb +5 -12
- data/spec/models/stock_receipt_spec.rb +18 -13
- data/spec/models/store_order_item_spec.rb +52 -0
- data/spec/models/store_order_spec.rb +106 -0
- data/spec/models/supplier_contact_person_spec.rb +5 -12
- data/spec/models/supplier_contact_spec.rb +5 -12
- data/spec/models/supplier_payment_information_spec.rb +6 -13
- data/spec/models/supplier_spec.rb +11 -12
- data/spec/models/tag_spec.rb +5 -12
- data/spec/models/tax_payment_spec.rb +5 -12
- data/spec/models/tax_summary_spec.rb +5 -12
- data/spec/models/terminal_receipt_print_line_spec.rb +44 -0
- data/spec/models/ticket_data_spec.rb +5 -12
- data/spec/models/ticket_definition_spec.rb +29 -12
- data/spec/models/ticket_personalization_spec.rb +5 -12
- data/spec/models/ticket_spec.rb +5 -12
- data/spec/models/time_of_day_interval_spec.rb +40 -0
- data/spec/models/time_period_spec.rb +5 -12
- data/spec/models/time_tracking_entity_spec.rb +5 -12
- data/spec/models/time_tracking_entry_spec.rb +5 -12
- data/spec/models/too_many_requests_error_spec.rb +6 -13
- data/spec/models/top_seller_spec.rb +5 -12
- data/spec/models/total_period_spec.rb +5 -12
- data/spec/models/total_price_spec.rb +5 -12
- data/spec/models/user_role_spec.rb +68 -0
- data/spec/models/validity_spec.rb +6 -13
- data/spec/models/voided_receipt_item_spec.rb +58 -0
- data/spec/models/voucher_transaction_spec.rb +92 -0
- data/spec/models/weather_spec.rb +6 -13
- data/spec/spec_helper.rb +2 -2
- metadata +567 -29
- data/korona-cloud-client-1.0.0.gem +0 -0
data/docs/TicketingApi.md
CHANGED
@@ -2,42 +2,119 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
13
|
-
[**
|
14
|
-
[**
|
15
|
-
[**
|
16
|
-
[**
|
17
|
-
[**
|
18
|
-
[**
|
19
|
-
[**
|
20
|
-
[**
|
21
|
-
[**
|
22
|
-
[**
|
23
|
-
[**
|
24
|
-
[**
|
25
|
-
[**
|
26
|
-
[**
|
27
|
-
[**
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_entry_gates**](TicketingApi.md#add_entry_gates) | **POST** /accounts/{koronaAccountId}/entryGates | adds a batch of new entry gates |
|
8
|
+
| [**add_events**](TicketingApi.md#add_events) | **POST** /accounts/{koronaAccountId}/events | adds a batch of new events |
|
9
|
+
| [**add_or_update_attendances**](TicketingApi.md#add_or_update_attendances) | **POST** /accounts/{koronaAccountId}/attendances | updates/adds attendances |
|
10
|
+
| [**add_ticket_definitions**](TicketingApi.md#add_ticket_definitions) | **POST** /accounts/{koronaAccountId}/ticketDefinitions | adds a batch of new ticket definitions |
|
11
|
+
| [**cancel_attendance**](TicketingApi.md#cancel_attendance) | **DELETE** /accounts/{koronaAccountId}/attendances/{attendanceId} | cancel the attendance |
|
12
|
+
| [**delete_entry_gates**](TicketingApi.md#delete_entry_gates) | **DELETE** /accounts/{koronaAccountId}/entryGates | deletes a batch of entry gates |
|
13
|
+
| [**delete_event**](TicketingApi.md#delete_event) | **DELETE** /accounts/{koronaAccountId}/events/{eventId} | deletes the single event |
|
14
|
+
| [**delete_ticket_definition**](TicketingApi.md#delete_ticket_definition) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions/{ticketDefinitionId} | deletes the single ticket definition |
|
15
|
+
| [**delete_ticket_definitions**](TicketingApi.md#delete_ticket_definitions) | **DELETE** /accounts/{koronaAccountId}/ticketDefinitions | deletes a batch of ticket definitions |
|
16
|
+
| [**get_attendance**](TicketingApi.md#get_attendance) | **GET** /accounts/{koronaAccountId}/attendances/{attendanceId} | returns the single attendance |
|
17
|
+
| [**get_attendances**](TicketingApi.md#get_attendances) | **GET** /accounts/{koronaAccountId}/attendances | lists all attendances |
|
18
|
+
| [**get_entry_gate**](TicketingApi.md#get_entry_gate) | **GET** /accounts/{koronaAccountId}/entryGates/{entryGateId} | returns the single entry gate |
|
19
|
+
| [**get_entry_gates**](TicketingApi.md#get_entry_gates) | **GET** /accounts/{koronaAccountId}/entryGates | lists all entry gates |
|
20
|
+
| [**get_event**](TicketingApi.md#get_event) | **GET** /accounts/{koronaAccountId}/events/{eventId} | returns the single event |
|
21
|
+
| [**get_events**](TicketingApi.md#get_events) | **GET** /accounts/{koronaAccountId}/events | lists all events |
|
22
|
+
| [**get_ticket_definition**](TicketingApi.md#get_ticket_definition) | **GET** /accounts/{koronaAccountId}/ticketDefinitions/{ticketDefinitionId} | returns the single ticket definition |
|
23
|
+
| [**get_ticket_definitions**](TicketingApi.md#get_ticket_definitions) | **GET** /accounts/{koronaAccountId}/ticketDefinitions | lists all ticket definitions |
|
24
|
+
| [**get_tickets**](TicketingApi.md#get_tickets) | **GET** /accounts/{koronaAccountId}/tickets | lists all tickets |
|
25
|
+
| [**lock_ticket**](TicketingApi.md#lock_ticket) | **DELETE** /accounts/{koronaAccountId}/tickets/{ticketNumber} | locks the single ticket |
|
26
|
+
| [**unlock_ticket**](TicketingApi.md#unlock_ticket) | **POST** /accounts/{koronaAccountId}/tickets/{ticketNumber} | unlocks the single ticket |
|
27
|
+
| [**update_entry_gates**](TicketingApi.md#update_entry_gates) | **PATCH** /accounts/{koronaAccountId}/entryGates | updates a batch of entry gates |
|
28
|
+
| [**update_event**](TicketingApi.md#update_event) | **PATCH** /accounts/{koronaAccountId}/events/{eventId} | updates the single event |
|
29
|
+
| [**update_events**](TicketingApi.md#update_events) | **PATCH** /accounts/{koronaAccountId}/events | updates a batch of events |
|
30
|
+
| [**update_ticket**](TicketingApi.md#update_ticket) | **PATCH** /accounts/{koronaAccountId}/tickets/{ticketNumber} | updates the single ticket |
|
31
|
+
| [**update_ticket_definitions**](TicketingApi.md#update_ticket_definitions) | **PATCH** /accounts/{koronaAccountId}/ticketDefinitions | updates a batch of ticket definitions |
|
32
|
+
|
33
|
+
|
34
|
+
## add_entry_gates
|
35
|
+
|
36
|
+
> <Array<AddOrUpdateResult>> add_entry_gates(korona_account_id, body, opts)
|
37
|
+
|
38
|
+
adds a batch of new entry gates
|
39
|
+
|
40
|
+
### Examples
|
28
41
|
|
42
|
+
```ruby
|
43
|
+
require 'time'
|
44
|
+
require 'korona-cloud-client'
|
45
|
+
# setup authorization
|
46
|
+
KoronaCloudClient.configure do |config|
|
47
|
+
# Configure HTTP basic authorization: basicAuth
|
48
|
+
config.username = 'YOUR USERNAME'
|
49
|
+
config.password = 'YOUR PASSWORD'
|
50
|
+
end
|
51
|
+
|
52
|
+
api_instance = KoronaCloudClient::TicketingApi.new
|
53
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
54
|
+
body = [KoronaCloudClient::EntryGate.new] # Array<EntryGate> | array of new entry gates
|
55
|
+
opts = {
|
56
|
+
upsert: true # Boolean | when set to true, updates the object instead of generating a already-exists-error
|
57
|
+
}
|
58
|
+
|
59
|
+
begin
|
60
|
+
# adds a batch of new entry gates
|
61
|
+
result = api_instance.add_entry_gates(korona_account_id, body, opts)
|
62
|
+
p result
|
63
|
+
rescue KoronaCloudClient::ApiError => e
|
64
|
+
puts "Error when calling TicketingApi->add_entry_gates: #{e}"
|
65
|
+
end
|
66
|
+
```
|
67
|
+
|
68
|
+
#### Using the add_entry_gates_with_http_info variant
|
69
|
+
|
70
|
+
This returns an Array which contains the response data, status code and headers.
|
71
|
+
|
72
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_entry_gates_with_http_info(korona_account_id, body, opts)
|
73
|
+
|
74
|
+
```ruby
|
75
|
+
begin
|
76
|
+
# adds a batch of new entry gates
|
77
|
+
data, status_code, headers = api_instance.add_entry_gates_with_http_info(korona_account_id, body, opts)
|
78
|
+
p status_code # => 2xx
|
79
|
+
p headers # => { ... }
|
80
|
+
p data # => <Array<AddOrUpdateResult>>
|
81
|
+
rescue KoronaCloudClient::ApiError => e
|
82
|
+
puts "Error when calling TicketingApi->add_entry_gates_with_http_info: #{e}"
|
83
|
+
end
|
84
|
+
```
|
85
|
+
|
86
|
+
### Parameters
|
87
|
+
|
88
|
+
| Name | Type | Description | Notes |
|
89
|
+
| ---- | ---- | ----------- | ----- |
|
90
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
91
|
+
| **body** | [**Array<EntryGate>**](EntryGate.md) | array of new entry gates | |
|
92
|
+
| **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
|
93
|
+
|
94
|
+
### Return type
|
95
|
+
|
96
|
+
[**Array<AddOrUpdateResult>**](AddOrUpdateResult.md)
|
97
|
+
|
98
|
+
### Authorization
|
99
|
+
|
100
|
+
[basicAuth](../README.md#basicAuth)
|
101
|
+
|
102
|
+
### HTTP request headers
|
103
|
+
|
104
|
+
- **Content-Type**: application/json
|
105
|
+
- **Accept**: application/json
|
29
106
|
|
30
107
|
|
31
108
|
## add_events
|
32
109
|
|
33
|
-
> Array
|
110
|
+
> <Array<AddOrUpdateResult>> add_events(korona_account_id, body, opts)
|
34
111
|
|
35
112
|
adds a batch of new events
|
36
113
|
|
37
|
-
###
|
114
|
+
### Examples
|
38
115
|
|
39
116
|
```ruby
|
40
|
-
|
117
|
+
require 'time'
|
41
118
|
require 'korona-cloud-client'
|
42
119
|
# setup authorization
|
43
120
|
KoronaCloudClient.configure do |config|
|
@@ -54,22 +131,39 @@ opts = {
|
|
54
131
|
}
|
55
132
|
|
56
133
|
begin
|
57
|
-
#adds a batch of new events
|
134
|
+
# adds a batch of new events
|
58
135
|
result = api_instance.add_events(korona_account_id, body, opts)
|
59
136
|
p result
|
60
137
|
rescue KoronaCloudClient::ApiError => e
|
61
|
-
puts "
|
138
|
+
puts "Error when calling TicketingApi->add_events: #{e}"
|
62
139
|
end
|
63
140
|
```
|
64
141
|
|
65
|
-
|
142
|
+
#### Using the add_events_with_http_info variant
|
66
143
|
|
144
|
+
This returns an Array which contains the response data, status code and headers.
|
67
145
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
146
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_events_with_http_info(korona_account_id, body, opts)
|
147
|
+
|
148
|
+
```ruby
|
149
|
+
begin
|
150
|
+
# adds a batch of new events
|
151
|
+
data, status_code, headers = api_instance.add_events_with_http_info(korona_account_id, body, opts)
|
152
|
+
p status_code # => 2xx
|
153
|
+
p headers # => { ... }
|
154
|
+
p data # => <Array<AddOrUpdateResult>>
|
155
|
+
rescue KoronaCloudClient::ApiError => e
|
156
|
+
puts "Error when calling TicketingApi->add_events_with_http_info: #{e}"
|
157
|
+
end
|
158
|
+
```
|
159
|
+
|
160
|
+
### Parameters
|
161
|
+
|
162
|
+
| Name | Type | Description | Notes |
|
163
|
+
| ---- | ---- | ----------- | ----- |
|
164
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
165
|
+
| **body** | [**Array<Event>**](Event.md) | an array of new events | |
|
166
|
+
| **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
|
73
167
|
|
74
168
|
### Return type
|
75
169
|
|
@@ -87,14 +181,14 @@ Name | Type | Description | Notes
|
|
87
181
|
|
88
182
|
## add_or_update_attendances
|
89
183
|
|
90
|
-
> Array
|
184
|
+
> <Array<AddOrUpdateResult>> add_or_update_attendances(korona_account_id, body)
|
91
185
|
|
92
186
|
updates/adds attendances
|
93
187
|
|
94
|
-
###
|
188
|
+
### Examples
|
95
189
|
|
96
190
|
```ruby
|
97
|
-
|
191
|
+
require 'time'
|
98
192
|
require 'korona-cloud-client'
|
99
193
|
# setup authorization
|
100
194
|
KoronaCloudClient.configure do |config|
|
@@ -108,21 +202,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
108
202
|
body = [KoronaCloudClient::Attendance.new] # Array<Attendance> | an array of attendances
|
109
203
|
|
110
204
|
begin
|
111
|
-
#updates/adds attendances
|
205
|
+
# updates/adds attendances
|
112
206
|
result = api_instance.add_or_update_attendances(korona_account_id, body)
|
113
207
|
p result
|
114
208
|
rescue KoronaCloudClient::ApiError => e
|
115
|
-
puts "
|
209
|
+
puts "Error when calling TicketingApi->add_or_update_attendances: #{e}"
|
116
210
|
end
|
117
211
|
```
|
118
212
|
|
119
|
-
|
213
|
+
#### Using the add_or_update_attendances_with_http_info variant
|
214
|
+
|
215
|
+
This returns an Array which contains the response data, status code and headers.
|
120
216
|
|
217
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_or_update_attendances_with_http_info(korona_account_id, body)
|
121
218
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
219
|
+
```ruby
|
220
|
+
begin
|
221
|
+
# updates/adds attendances
|
222
|
+
data, status_code, headers = api_instance.add_or_update_attendances_with_http_info(korona_account_id, body)
|
223
|
+
p status_code # => 2xx
|
224
|
+
p headers # => { ... }
|
225
|
+
p data # => <Array<AddOrUpdateResult>>
|
226
|
+
rescue KoronaCloudClient::ApiError => e
|
227
|
+
puts "Error when calling TicketingApi->add_or_update_attendances_with_http_info: #{e}"
|
228
|
+
end
|
229
|
+
```
|
230
|
+
|
231
|
+
### Parameters
|
232
|
+
|
233
|
+
| Name | Type | Description | Notes |
|
234
|
+
| ---- | ---- | ----------- | ----- |
|
235
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
236
|
+
| **body** | [**Array<Attendance>**](Attendance.md) | an array of attendances | |
|
126
237
|
|
127
238
|
### Return type
|
128
239
|
|
@@ -140,14 +251,14 @@ Name | Type | Description | Notes
|
|
140
251
|
|
141
252
|
## add_ticket_definitions
|
142
253
|
|
143
|
-
> Array
|
254
|
+
> <Array<AddOrUpdateResult>> add_ticket_definitions(korona_account_id, body, opts)
|
144
255
|
|
145
256
|
adds a batch of new ticket definitions
|
146
257
|
|
147
|
-
###
|
258
|
+
### Examples
|
148
259
|
|
149
260
|
```ruby
|
150
|
-
|
261
|
+
require 'time'
|
151
262
|
require 'korona-cloud-client'
|
152
263
|
# setup authorization
|
153
264
|
KoronaCloudClient.configure do |config|
|
@@ -164,22 +275,39 @@ opts = {
|
|
164
275
|
}
|
165
276
|
|
166
277
|
begin
|
167
|
-
#adds a batch of new ticket definitions
|
278
|
+
# adds a batch of new ticket definitions
|
168
279
|
result = api_instance.add_ticket_definitions(korona_account_id, body, opts)
|
169
280
|
p result
|
170
281
|
rescue KoronaCloudClient::ApiError => e
|
171
|
-
puts "
|
282
|
+
puts "Error when calling TicketingApi->add_ticket_definitions: #{e}"
|
172
283
|
end
|
173
284
|
```
|
174
285
|
|
175
|
-
|
286
|
+
#### Using the add_ticket_definitions_with_http_info variant
|
287
|
+
|
288
|
+
This returns an Array which contains the response data, status code and headers.
|
289
|
+
|
290
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> add_ticket_definitions_with_http_info(korona_account_id, body, opts)
|
291
|
+
|
292
|
+
```ruby
|
293
|
+
begin
|
294
|
+
# adds a batch of new ticket definitions
|
295
|
+
data, status_code, headers = api_instance.add_ticket_definitions_with_http_info(korona_account_id, body, opts)
|
296
|
+
p status_code # => 2xx
|
297
|
+
p headers # => { ... }
|
298
|
+
p data # => <Array<AddOrUpdateResult>>
|
299
|
+
rescue KoronaCloudClient::ApiError => e
|
300
|
+
puts "Error when calling TicketingApi->add_ticket_definitions_with_http_info: #{e}"
|
301
|
+
end
|
302
|
+
```
|
176
303
|
|
304
|
+
### Parameters
|
177
305
|
|
178
|
-
Name | Type | Description
|
179
|
-
|
180
|
-
**korona_account_id** | **String
|
181
|
-
**body** | [**Array<TicketDefinition>**](TicketDefinition.md)| array of new ticket definitions |
|
182
|
-
**upsert** | **Boolean
|
306
|
+
| Name | Type | Description | Notes |
|
307
|
+
| ---- | ---- | ----------- | ----- |
|
308
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
309
|
+
| **body** | [**Array<TicketDefinition>**](TicketDefinition.md) | array of new ticket definitions | |
|
310
|
+
| **upsert** | **Boolean** | when set to true, updates the object instead of generating a already-exists-error | [optional] |
|
183
311
|
|
184
312
|
### Return type
|
185
313
|
|
@@ -201,10 +329,10 @@ Name | Type | Description | Notes
|
|
201
329
|
|
202
330
|
cancel the attendance
|
203
331
|
|
204
|
-
###
|
332
|
+
### Examples
|
205
333
|
|
206
334
|
```ruby
|
207
|
-
|
335
|
+
require 'time'
|
208
336
|
require 'korona-cloud-client'
|
209
337
|
# setup authorization
|
210
338
|
KoronaCloudClient.configure do |config|
|
@@ -218,20 +346,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
218
346
|
attendance_id = 'attendance_id_example' # String | id of the related object (important: id should match the uuid-format)
|
219
347
|
|
220
348
|
begin
|
221
|
-
#cancel the attendance
|
349
|
+
# cancel the attendance
|
222
350
|
api_instance.cancel_attendance(korona_account_id, attendance_id)
|
223
351
|
rescue KoronaCloudClient::ApiError => e
|
224
|
-
puts "
|
352
|
+
puts "Error when calling TicketingApi->cancel_attendance: #{e}"
|
225
353
|
end
|
226
354
|
```
|
227
355
|
|
228
|
-
|
356
|
+
#### Using the cancel_attendance_with_http_info variant
|
229
357
|
|
358
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
230
359
|
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
360
|
+
> <Array(nil, Integer, Hash)> cancel_attendance_with_http_info(korona_account_id, attendance_id)
|
361
|
+
|
362
|
+
```ruby
|
363
|
+
begin
|
364
|
+
# cancel the attendance
|
365
|
+
data, status_code, headers = api_instance.cancel_attendance_with_http_info(korona_account_id, attendance_id)
|
366
|
+
p status_code # => 2xx
|
367
|
+
p headers # => { ... }
|
368
|
+
p data # => nil
|
369
|
+
rescue KoronaCloudClient::ApiError => e
|
370
|
+
puts "Error when calling TicketingApi->cancel_attendance_with_http_info: #{e}"
|
371
|
+
end
|
372
|
+
```
|
373
|
+
|
374
|
+
### Parameters
|
375
|
+
|
376
|
+
| Name | Type | Description | Notes |
|
377
|
+
| ---- | ---- | ----------- | ----- |
|
378
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
379
|
+
| **attendance_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
235
380
|
|
236
381
|
### Return type
|
237
382
|
|
@@ -247,16 +392,86 @@ nil (empty response body)
|
|
247
392
|
- **Accept**: application/json
|
248
393
|
|
249
394
|
|
395
|
+
## delete_entry_gates
|
396
|
+
|
397
|
+
> <Array<AddOrUpdateResult>> delete_entry_gates(korona_account_id, body)
|
398
|
+
|
399
|
+
deletes a batch of entry gates
|
400
|
+
|
401
|
+
### Examples
|
402
|
+
|
403
|
+
```ruby
|
404
|
+
require 'time'
|
405
|
+
require 'korona-cloud-client'
|
406
|
+
# setup authorization
|
407
|
+
KoronaCloudClient.configure do |config|
|
408
|
+
# Configure HTTP basic authorization: basicAuth
|
409
|
+
config.username = 'YOUR USERNAME'
|
410
|
+
config.password = 'YOUR PASSWORD'
|
411
|
+
end
|
412
|
+
|
413
|
+
api_instance = KoronaCloudClient::TicketingApi.new
|
414
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
415
|
+
body = [KoronaCloudClient::EntryGate.new] # Array<EntryGate> | array of existing entry gates (id or number required)
|
416
|
+
|
417
|
+
begin
|
418
|
+
# deletes a batch of entry gates
|
419
|
+
result = api_instance.delete_entry_gates(korona_account_id, body)
|
420
|
+
p result
|
421
|
+
rescue KoronaCloudClient::ApiError => e
|
422
|
+
puts "Error when calling TicketingApi->delete_entry_gates: #{e}"
|
423
|
+
end
|
424
|
+
```
|
425
|
+
|
426
|
+
#### Using the delete_entry_gates_with_http_info variant
|
427
|
+
|
428
|
+
This returns an Array which contains the response data, status code and headers.
|
429
|
+
|
430
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> delete_entry_gates_with_http_info(korona_account_id, body)
|
431
|
+
|
432
|
+
```ruby
|
433
|
+
begin
|
434
|
+
# deletes a batch of entry gates
|
435
|
+
data, status_code, headers = api_instance.delete_entry_gates_with_http_info(korona_account_id, body)
|
436
|
+
p status_code # => 2xx
|
437
|
+
p headers # => { ... }
|
438
|
+
p data # => <Array<AddOrUpdateResult>>
|
439
|
+
rescue KoronaCloudClient::ApiError => e
|
440
|
+
puts "Error when calling TicketingApi->delete_entry_gates_with_http_info: #{e}"
|
441
|
+
end
|
442
|
+
```
|
443
|
+
|
444
|
+
### Parameters
|
445
|
+
|
446
|
+
| Name | Type | Description | Notes |
|
447
|
+
| ---- | ---- | ----------- | ----- |
|
448
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
449
|
+
| **body** | [**Array<EntryGate>**](EntryGate.md) | array of existing entry gates (id or number required) | |
|
450
|
+
|
451
|
+
### Return type
|
452
|
+
|
453
|
+
[**Array<AddOrUpdateResult>**](AddOrUpdateResult.md)
|
454
|
+
|
455
|
+
### Authorization
|
456
|
+
|
457
|
+
[basicAuth](../README.md#basicAuth)
|
458
|
+
|
459
|
+
### HTTP request headers
|
460
|
+
|
461
|
+
- **Content-Type**: application/json
|
462
|
+
- **Accept**: application/json
|
463
|
+
|
464
|
+
|
250
465
|
## delete_event
|
251
466
|
|
252
467
|
> delete_event(korona_account_id, event_id)
|
253
468
|
|
254
469
|
deletes the single event
|
255
470
|
|
256
|
-
###
|
471
|
+
### Examples
|
257
472
|
|
258
473
|
```ruby
|
259
|
-
|
474
|
+
require 'time'
|
260
475
|
require 'korona-cloud-client'
|
261
476
|
# setup authorization
|
262
477
|
KoronaCloudClient.configure do |config|
|
@@ -270,20 +485,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
270
485
|
event_id = 'event_id_example' # String | id of the related object (important: id should match the uuid-format)
|
271
486
|
|
272
487
|
begin
|
273
|
-
#deletes the single event
|
488
|
+
# deletes the single event
|
274
489
|
api_instance.delete_event(korona_account_id, event_id)
|
275
490
|
rescue KoronaCloudClient::ApiError => e
|
276
|
-
puts "
|
491
|
+
puts "Error when calling TicketingApi->delete_event: #{e}"
|
277
492
|
end
|
278
493
|
```
|
279
494
|
|
280
|
-
|
495
|
+
#### Using the delete_event_with_http_info variant
|
281
496
|
|
497
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
282
498
|
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
499
|
+
> <Array(nil, Integer, Hash)> delete_event_with_http_info(korona_account_id, event_id)
|
500
|
+
|
501
|
+
```ruby
|
502
|
+
begin
|
503
|
+
# deletes the single event
|
504
|
+
data, status_code, headers = api_instance.delete_event_with_http_info(korona_account_id, event_id)
|
505
|
+
p status_code # => 2xx
|
506
|
+
p headers # => { ... }
|
507
|
+
p data # => nil
|
508
|
+
rescue KoronaCloudClient::ApiError => e
|
509
|
+
puts "Error when calling TicketingApi->delete_event_with_http_info: #{e}"
|
510
|
+
end
|
511
|
+
```
|
512
|
+
|
513
|
+
### Parameters
|
514
|
+
|
515
|
+
| Name | Type | Description | Notes |
|
516
|
+
| ---- | ---- | ----------- | ----- |
|
517
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
518
|
+
| **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
287
519
|
|
288
520
|
### Return type
|
289
521
|
|
@@ -305,10 +537,10 @@ nil (empty response body)
|
|
305
537
|
|
306
538
|
deletes the single ticket definition
|
307
539
|
|
308
|
-
###
|
540
|
+
### Examples
|
309
541
|
|
310
542
|
```ruby
|
311
|
-
|
543
|
+
require 'time'
|
312
544
|
require 'korona-cloud-client'
|
313
545
|
# setup authorization
|
314
546
|
KoronaCloudClient.configure do |config|
|
@@ -322,20 +554,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
322
554
|
ticket_definition_id = 'ticket_definition_id_example' # String | id of the related object (important: id should match the uuid-format)
|
323
555
|
|
324
556
|
begin
|
325
|
-
#deletes the single ticket definition
|
557
|
+
# deletes the single ticket definition
|
326
558
|
api_instance.delete_ticket_definition(korona_account_id, ticket_definition_id)
|
327
559
|
rescue KoronaCloudClient::ApiError => e
|
328
|
-
puts "
|
560
|
+
puts "Error when calling TicketingApi->delete_ticket_definition: #{e}"
|
329
561
|
end
|
330
562
|
```
|
331
563
|
|
332
|
-
|
564
|
+
#### Using the delete_ticket_definition_with_http_info variant
|
565
|
+
|
566
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
567
|
+
|
568
|
+
> <Array(nil, Integer, Hash)> delete_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
|
569
|
+
|
570
|
+
```ruby
|
571
|
+
begin
|
572
|
+
# deletes the single ticket definition
|
573
|
+
data, status_code, headers = api_instance.delete_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
|
574
|
+
p status_code # => 2xx
|
575
|
+
p headers # => { ... }
|
576
|
+
p data # => nil
|
577
|
+
rescue KoronaCloudClient::ApiError => e
|
578
|
+
puts "Error when calling TicketingApi->delete_ticket_definition_with_http_info: #{e}"
|
579
|
+
end
|
580
|
+
```
|
333
581
|
|
582
|
+
### Parameters
|
334
583
|
|
335
|
-
Name | Type | Description
|
336
|
-
|
337
|
-
**korona_account_id** | **String
|
338
|
-
**ticket_definition_id** | **String
|
584
|
+
| Name | Type | Description | Notes |
|
585
|
+
| ---- | ---- | ----------- | ----- |
|
586
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
587
|
+
| **ticket_definition_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
339
588
|
|
340
589
|
### Return type
|
341
590
|
|
@@ -353,14 +602,14 @@ nil (empty response body)
|
|
353
602
|
|
354
603
|
## delete_ticket_definitions
|
355
604
|
|
356
|
-
> Array
|
605
|
+
> <Array<AddOrUpdateResult>> delete_ticket_definitions(korona_account_id, body)
|
357
606
|
|
358
607
|
deletes a batch of ticket definitions
|
359
608
|
|
360
|
-
###
|
609
|
+
### Examples
|
361
610
|
|
362
611
|
```ruby
|
363
|
-
|
612
|
+
require 'time'
|
364
613
|
require 'korona-cloud-client'
|
365
614
|
# setup authorization
|
366
615
|
KoronaCloudClient.configure do |config|
|
@@ -374,21 +623,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
374
623
|
body = [KoronaCloudClient::TicketDefinition.new] # Array<TicketDefinition> | array of existing ticket definitions (id or number required)
|
375
624
|
|
376
625
|
begin
|
377
|
-
#deletes a batch of ticket definitions
|
626
|
+
# deletes a batch of ticket definitions
|
378
627
|
result = api_instance.delete_ticket_definitions(korona_account_id, body)
|
379
628
|
p result
|
380
629
|
rescue KoronaCloudClient::ApiError => e
|
381
|
-
puts "
|
630
|
+
puts "Error when calling TicketingApi->delete_ticket_definitions: #{e}"
|
382
631
|
end
|
383
632
|
```
|
384
633
|
|
385
|
-
|
634
|
+
#### Using the delete_ticket_definitions_with_http_info variant
|
386
635
|
|
636
|
+
This returns an Array which contains the response data, status code and headers.
|
387
637
|
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
638
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> delete_ticket_definitions_with_http_info(korona_account_id, body)
|
639
|
+
|
640
|
+
```ruby
|
641
|
+
begin
|
642
|
+
# deletes a batch of ticket definitions
|
643
|
+
data, status_code, headers = api_instance.delete_ticket_definitions_with_http_info(korona_account_id, body)
|
644
|
+
p status_code # => 2xx
|
645
|
+
p headers # => { ... }
|
646
|
+
p data # => <Array<AddOrUpdateResult>>
|
647
|
+
rescue KoronaCloudClient::ApiError => e
|
648
|
+
puts "Error when calling TicketingApi->delete_ticket_definitions_with_http_info: #{e}"
|
649
|
+
end
|
650
|
+
```
|
651
|
+
|
652
|
+
### Parameters
|
653
|
+
|
654
|
+
| Name | Type | Description | Notes |
|
655
|
+
| ---- | ---- | ----------- | ----- |
|
656
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
657
|
+
| **body** | [**Array<TicketDefinition>**](TicketDefinition.md) | array of existing ticket definitions (id or number required) | |
|
392
658
|
|
393
659
|
### Return type
|
394
660
|
|
@@ -404,16 +670,86 @@ Name | Type | Description | Notes
|
|
404
670
|
- **Accept**: application/json
|
405
671
|
|
406
672
|
|
673
|
+
## get_attendance
|
674
|
+
|
675
|
+
> <Attendance> get_attendance(korona_account_id, attendance_id)
|
676
|
+
|
677
|
+
returns the single attendance
|
678
|
+
|
679
|
+
### Examples
|
680
|
+
|
681
|
+
```ruby
|
682
|
+
require 'time'
|
683
|
+
require 'korona-cloud-client'
|
684
|
+
# setup authorization
|
685
|
+
KoronaCloudClient.configure do |config|
|
686
|
+
# Configure HTTP basic authorization: basicAuth
|
687
|
+
config.username = 'YOUR USERNAME'
|
688
|
+
config.password = 'YOUR PASSWORD'
|
689
|
+
end
|
690
|
+
|
691
|
+
api_instance = KoronaCloudClient::TicketingApi.new
|
692
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
693
|
+
attendance_id = 'attendance_id_example' # String | id of the related object (important: id should match the uuid-format)
|
694
|
+
|
695
|
+
begin
|
696
|
+
# returns the single attendance
|
697
|
+
result = api_instance.get_attendance(korona_account_id, attendance_id)
|
698
|
+
p result
|
699
|
+
rescue KoronaCloudClient::ApiError => e
|
700
|
+
puts "Error when calling TicketingApi->get_attendance: #{e}"
|
701
|
+
end
|
702
|
+
```
|
703
|
+
|
704
|
+
#### Using the get_attendance_with_http_info variant
|
705
|
+
|
706
|
+
This returns an Array which contains the response data, status code and headers.
|
707
|
+
|
708
|
+
> <Array(<Attendance>, Integer, Hash)> get_attendance_with_http_info(korona_account_id, attendance_id)
|
709
|
+
|
710
|
+
```ruby
|
711
|
+
begin
|
712
|
+
# returns the single attendance
|
713
|
+
data, status_code, headers = api_instance.get_attendance_with_http_info(korona_account_id, attendance_id)
|
714
|
+
p status_code # => 2xx
|
715
|
+
p headers # => { ... }
|
716
|
+
p data # => <Attendance>
|
717
|
+
rescue KoronaCloudClient::ApiError => e
|
718
|
+
puts "Error when calling TicketingApi->get_attendance_with_http_info: #{e}"
|
719
|
+
end
|
720
|
+
```
|
721
|
+
|
722
|
+
### Parameters
|
723
|
+
|
724
|
+
| Name | Type | Description | Notes |
|
725
|
+
| ---- | ---- | ----------- | ----- |
|
726
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
727
|
+
| **attendance_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
728
|
+
|
729
|
+
### Return type
|
730
|
+
|
731
|
+
[**Attendance**](Attendance.md)
|
732
|
+
|
733
|
+
### Authorization
|
734
|
+
|
735
|
+
[basicAuth](../README.md#basicAuth)
|
736
|
+
|
737
|
+
### HTTP request headers
|
738
|
+
|
739
|
+
- **Content-Type**: Not defined
|
740
|
+
- **Accept**: application/json
|
741
|
+
|
742
|
+
|
407
743
|
## get_attendances
|
408
744
|
|
409
|
-
> ResultListAttendance get_attendances(korona_account_id, opts)
|
745
|
+
> <ResultListAttendance> get_attendances(korona_account_id, opts)
|
410
746
|
|
411
747
|
lists all attendances
|
412
748
|
|
413
|
-
###
|
749
|
+
### Examples
|
414
750
|
|
415
751
|
```ruby
|
416
|
-
|
752
|
+
require 'time'
|
417
753
|
require 'korona-cloud-client'
|
418
754
|
# setup authorization
|
419
755
|
KoronaCloudClient.configure do |config|
|
@@ -428,30 +764,47 @@ opts = {
|
|
428
764
|
page: 56, # Integer | number of the page to fetch
|
429
765
|
size: 56, # Integer | amount of objects to return per page
|
430
766
|
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
431
|
-
revision:
|
767
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
432
768
|
include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
|
433
769
|
}
|
434
770
|
|
435
771
|
begin
|
436
|
-
#lists all attendances
|
772
|
+
# lists all attendances
|
437
773
|
result = api_instance.get_attendances(korona_account_id, opts)
|
438
774
|
p result
|
439
775
|
rescue KoronaCloudClient::ApiError => e
|
440
|
-
puts "
|
776
|
+
puts "Error when calling TicketingApi->get_attendances: #{e}"
|
441
777
|
end
|
442
778
|
```
|
443
779
|
|
444
|
-
|
780
|
+
#### Using the get_attendances_with_http_info variant
|
445
781
|
|
782
|
+
This returns an Array which contains the response data, status code and headers.
|
446
783
|
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
784
|
+
> <Array(<ResultListAttendance>, Integer, Hash)> get_attendances_with_http_info(korona_account_id, opts)
|
785
|
+
|
786
|
+
```ruby
|
787
|
+
begin
|
788
|
+
# lists all attendances
|
789
|
+
data, status_code, headers = api_instance.get_attendances_with_http_info(korona_account_id, opts)
|
790
|
+
p status_code # => 2xx
|
791
|
+
p headers # => { ... }
|
792
|
+
p data # => <ResultListAttendance>
|
793
|
+
rescue KoronaCloudClient::ApiError => e
|
794
|
+
puts "Error when calling TicketingApi->get_attendances_with_http_info: #{e}"
|
795
|
+
end
|
796
|
+
```
|
797
|
+
|
798
|
+
### Parameters
|
799
|
+
|
800
|
+
| Name | Type | Description | Notes |
|
801
|
+
| ---- | ---- | ----------- | ----- |
|
802
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
803
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
804
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
805
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
806
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
807
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
455
808
|
|
456
809
|
### Return type
|
457
810
|
|
@@ -469,14 +822,14 @@ Name | Type | Description | Notes
|
|
469
822
|
|
470
823
|
## get_entry_gate
|
471
824
|
|
472
|
-
> EntryGate get_entry_gate(korona_account_id, entry_gate_id)
|
825
|
+
> <EntryGate> get_entry_gate(korona_account_id, entry_gate_id)
|
473
826
|
|
474
827
|
returns the single entry gate
|
475
828
|
|
476
|
-
###
|
829
|
+
### Examples
|
477
830
|
|
478
831
|
```ruby
|
479
|
-
|
832
|
+
require 'time'
|
480
833
|
require 'korona-cloud-client'
|
481
834
|
# setup authorization
|
482
835
|
KoronaCloudClient.configure do |config|
|
@@ -490,21 +843,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
490
843
|
entry_gate_id = 'entry_gate_id_example' # String | id of the related object (important: id should match the uuid-format)
|
491
844
|
|
492
845
|
begin
|
493
|
-
#returns the single entry gate
|
846
|
+
# returns the single entry gate
|
494
847
|
result = api_instance.get_entry_gate(korona_account_id, entry_gate_id)
|
495
848
|
p result
|
496
849
|
rescue KoronaCloudClient::ApiError => e
|
497
|
-
puts "
|
850
|
+
puts "Error when calling TicketingApi->get_entry_gate: #{e}"
|
498
851
|
end
|
499
852
|
```
|
500
853
|
|
501
|
-
|
854
|
+
#### Using the get_entry_gate_with_http_info variant
|
855
|
+
|
856
|
+
This returns an Array which contains the response data, status code and headers.
|
857
|
+
|
858
|
+
> <Array(<EntryGate>, Integer, Hash)> get_entry_gate_with_http_info(korona_account_id, entry_gate_id)
|
859
|
+
|
860
|
+
```ruby
|
861
|
+
begin
|
862
|
+
# returns the single entry gate
|
863
|
+
data, status_code, headers = api_instance.get_entry_gate_with_http_info(korona_account_id, entry_gate_id)
|
864
|
+
p status_code # => 2xx
|
865
|
+
p headers # => { ... }
|
866
|
+
p data # => <EntryGate>
|
867
|
+
rescue KoronaCloudClient::ApiError => e
|
868
|
+
puts "Error when calling TicketingApi->get_entry_gate_with_http_info: #{e}"
|
869
|
+
end
|
870
|
+
```
|
502
871
|
|
872
|
+
### Parameters
|
503
873
|
|
504
|
-
Name | Type | Description
|
505
|
-
|
506
|
-
**korona_account_id** | **String
|
507
|
-
**entry_gate_id** | **String
|
874
|
+
| Name | Type | Description | Notes |
|
875
|
+
| ---- | ---- | ----------- | ----- |
|
876
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
877
|
+
| **entry_gate_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
508
878
|
|
509
879
|
### Return type
|
510
880
|
|
@@ -522,14 +892,14 @@ Name | Type | Description | Notes
|
|
522
892
|
|
523
893
|
## get_entry_gates
|
524
894
|
|
525
|
-
> ResultListEntryGate get_entry_gates(korona_account_id, opts)
|
895
|
+
> <ResultListEntryGate> get_entry_gates(korona_account_id, opts)
|
526
896
|
|
527
897
|
lists all entry gates
|
528
898
|
|
529
|
-
###
|
899
|
+
### Examples
|
530
900
|
|
531
901
|
```ruby
|
532
|
-
|
902
|
+
require 'time'
|
533
903
|
require 'korona-cloud-client'
|
534
904
|
# setup authorization
|
535
905
|
KoronaCloudClient.configure do |config|
|
@@ -544,32 +914,49 @@ opts = {
|
|
544
914
|
page: 56, # Integer | number of the page to fetch
|
545
915
|
size: 56, # Integer | amount of objects to return per page
|
546
916
|
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
547
|
-
revision:
|
917
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
548
918
|
include_deleted: true, # Boolean | indicates deleted objects should be loaded or not (default: false)
|
549
919
|
number: 'number_example' # String | number of the related object
|
550
920
|
}
|
551
921
|
|
552
922
|
begin
|
553
|
-
#lists all entry gates
|
923
|
+
# lists all entry gates
|
554
924
|
result = api_instance.get_entry_gates(korona_account_id, opts)
|
555
925
|
p result
|
556
926
|
rescue KoronaCloudClient::ApiError => e
|
557
|
-
puts "
|
927
|
+
puts "Error when calling TicketingApi->get_entry_gates: #{e}"
|
558
928
|
end
|
559
929
|
```
|
560
930
|
|
561
|
-
|
931
|
+
#### Using the get_entry_gates_with_http_info variant
|
562
932
|
|
933
|
+
This returns an Array which contains the response data, status code and headers.
|
563
934
|
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
935
|
+
> <Array(<ResultListEntryGate>, Integer, Hash)> get_entry_gates_with_http_info(korona_account_id, opts)
|
936
|
+
|
937
|
+
```ruby
|
938
|
+
begin
|
939
|
+
# lists all entry gates
|
940
|
+
data, status_code, headers = api_instance.get_entry_gates_with_http_info(korona_account_id, opts)
|
941
|
+
p status_code # => 2xx
|
942
|
+
p headers # => { ... }
|
943
|
+
p data # => <ResultListEntryGate>
|
944
|
+
rescue KoronaCloudClient::ApiError => e
|
945
|
+
puts "Error when calling TicketingApi->get_entry_gates_with_http_info: #{e}"
|
946
|
+
end
|
947
|
+
```
|
948
|
+
|
949
|
+
### Parameters
|
950
|
+
|
951
|
+
| Name | Type | Description | Notes |
|
952
|
+
| ---- | ---- | ----------- | ----- |
|
953
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
954
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
955
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
956
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
957
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
958
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
959
|
+
| **number** | **String** | number of the related object | [optional] |
|
573
960
|
|
574
961
|
### Return type
|
575
962
|
|
@@ -587,14 +974,14 @@ Name | Type | Description | Notes
|
|
587
974
|
|
588
975
|
## get_event
|
589
976
|
|
590
|
-
> Event get_event(korona_account_id, event_id)
|
977
|
+
> <Event> get_event(korona_account_id, event_id)
|
591
978
|
|
592
979
|
returns the single event
|
593
980
|
|
594
|
-
###
|
981
|
+
### Examples
|
595
982
|
|
596
983
|
```ruby
|
597
|
-
|
984
|
+
require 'time'
|
598
985
|
require 'korona-cloud-client'
|
599
986
|
# setup authorization
|
600
987
|
KoronaCloudClient.configure do |config|
|
@@ -608,21 +995,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
608
995
|
event_id = 'event_id_example' # String | id of the related object (important: id should match the uuid-format)
|
609
996
|
|
610
997
|
begin
|
611
|
-
#returns the single event
|
998
|
+
# returns the single event
|
612
999
|
result = api_instance.get_event(korona_account_id, event_id)
|
613
1000
|
p result
|
614
1001
|
rescue KoronaCloudClient::ApiError => e
|
615
|
-
puts "
|
1002
|
+
puts "Error when calling TicketingApi->get_event: #{e}"
|
616
1003
|
end
|
617
1004
|
```
|
618
1005
|
|
619
|
-
|
1006
|
+
#### Using the get_event_with_http_info variant
|
1007
|
+
|
1008
|
+
This returns an Array which contains the response data, status code and headers.
|
1009
|
+
|
1010
|
+
> <Array(<Event>, Integer, Hash)> get_event_with_http_info(korona_account_id, event_id)
|
1011
|
+
|
1012
|
+
```ruby
|
1013
|
+
begin
|
1014
|
+
# returns the single event
|
1015
|
+
data, status_code, headers = api_instance.get_event_with_http_info(korona_account_id, event_id)
|
1016
|
+
p status_code # => 2xx
|
1017
|
+
p headers # => { ... }
|
1018
|
+
p data # => <Event>
|
1019
|
+
rescue KoronaCloudClient::ApiError => e
|
1020
|
+
puts "Error when calling TicketingApi->get_event_with_http_info: #{e}"
|
1021
|
+
end
|
1022
|
+
```
|
620
1023
|
|
1024
|
+
### Parameters
|
621
1025
|
|
622
|
-
Name | Type | Description
|
623
|
-
|
624
|
-
**korona_account_id** | **String
|
625
|
-
**event_id** | **String
|
1026
|
+
| Name | Type | Description | Notes |
|
1027
|
+
| ---- | ---- | ----------- | ----- |
|
1028
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1029
|
+
| **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
626
1030
|
|
627
1031
|
### Return type
|
628
1032
|
|
@@ -640,14 +1044,14 @@ Name | Type | Description | Notes
|
|
640
1044
|
|
641
1045
|
## get_events
|
642
1046
|
|
643
|
-
> ResultListEvent get_events(korona_account_id, opts)
|
1047
|
+
> <ResultListEvent> get_events(korona_account_id, opts)
|
644
1048
|
|
645
1049
|
lists all events
|
646
1050
|
|
647
|
-
###
|
1051
|
+
### Examples
|
648
1052
|
|
649
1053
|
```ruby
|
650
|
-
|
1054
|
+
require 'time'
|
651
1055
|
require 'korona-cloud-client'
|
652
1056
|
# setup authorization
|
653
1057
|
KoronaCloudClient.configure do |config|
|
@@ -662,30 +1066,51 @@ opts = {
|
|
662
1066
|
page: 56, # Integer | number of the page to fetch
|
663
1067
|
size: 56, # Integer | amount of objects to return per page
|
664
1068
|
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
665
|
-
revision:
|
666
|
-
include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
|
1069
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
1070
|
+
include_deleted: true, # Boolean | indicates deleted objects should be loaded or not (default: false)
|
1071
|
+
min_start_time: Time.parse('2013-10-20T19:20:30+01:00'), # Time | min (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
1072
|
+
max_start_time: Time.parse('2013-10-20T19:20:30+01:00') # Time | max (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional)
|
667
1073
|
}
|
668
1074
|
|
669
1075
|
begin
|
670
|
-
#lists all events
|
1076
|
+
# lists all events
|
671
1077
|
result = api_instance.get_events(korona_account_id, opts)
|
672
1078
|
p result
|
673
1079
|
rescue KoronaCloudClient::ApiError => e
|
674
|
-
puts "
|
1080
|
+
puts "Error when calling TicketingApi->get_events: #{e}"
|
675
1081
|
end
|
676
1082
|
```
|
677
1083
|
|
678
|
-
|
1084
|
+
#### Using the get_events_with_http_info variant
|
679
1085
|
|
1086
|
+
This returns an Array which contains the response data, status code and headers.
|
680
1087
|
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
1088
|
+
> <Array(<ResultListEvent>, Integer, Hash)> get_events_with_http_info(korona_account_id, opts)
|
1089
|
+
|
1090
|
+
```ruby
|
1091
|
+
begin
|
1092
|
+
# lists all events
|
1093
|
+
data, status_code, headers = api_instance.get_events_with_http_info(korona_account_id, opts)
|
1094
|
+
p status_code # => 2xx
|
1095
|
+
p headers # => { ... }
|
1096
|
+
p data # => <ResultListEvent>
|
1097
|
+
rescue KoronaCloudClient::ApiError => e
|
1098
|
+
puts "Error when calling TicketingApi->get_events_with_http_info: #{e}"
|
1099
|
+
end
|
1100
|
+
```
|
1101
|
+
|
1102
|
+
### Parameters
|
1103
|
+
|
1104
|
+
| Name | Type | Description | Notes |
|
1105
|
+
| ---- | ---- | ----------- | ----- |
|
1106
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1107
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
1108
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
1109
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
1110
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
1111
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
1112
|
+
| **min_start_time** | **Time** | min (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
1113
|
+
| **max_start_time** | **Time** | max (inclusive) start time of the event (ISO 8601; Format: YYYY-MM-DDTHH:MM:SS; timezone optional) | [optional] |
|
689
1114
|
|
690
1115
|
### Return type
|
691
1116
|
|
@@ -703,14 +1128,14 @@ Name | Type | Description | Notes
|
|
703
1128
|
|
704
1129
|
## get_ticket_definition
|
705
1130
|
|
706
|
-
> TicketDefinition get_ticket_definition(korona_account_id, ticket_definition_id)
|
1131
|
+
> <TicketDefinition> get_ticket_definition(korona_account_id, ticket_definition_id)
|
707
1132
|
|
708
1133
|
returns the single ticket definition
|
709
1134
|
|
710
|
-
###
|
1135
|
+
### Examples
|
711
1136
|
|
712
1137
|
```ruby
|
713
|
-
|
1138
|
+
require 'time'
|
714
1139
|
require 'korona-cloud-client'
|
715
1140
|
# setup authorization
|
716
1141
|
KoronaCloudClient.configure do |config|
|
@@ -724,21 +1149,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
724
1149
|
ticket_definition_id = 'ticket_definition_id_example' # String | id of the related object (important: id should match the uuid-format)
|
725
1150
|
|
726
1151
|
begin
|
727
|
-
#returns the single ticket definition
|
1152
|
+
# returns the single ticket definition
|
728
1153
|
result = api_instance.get_ticket_definition(korona_account_id, ticket_definition_id)
|
729
1154
|
p result
|
730
1155
|
rescue KoronaCloudClient::ApiError => e
|
731
|
-
puts "
|
1156
|
+
puts "Error when calling TicketingApi->get_ticket_definition: #{e}"
|
732
1157
|
end
|
733
1158
|
```
|
734
1159
|
|
735
|
-
|
1160
|
+
#### Using the get_ticket_definition_with_http_info variant
|
736
1161
|
|
1162
|
+
This returns an Array which contains the response data, status code and headers.
|
737
1163
|
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
1164
|
+
> <Array(<TicketDefinition>, Integer, Hash)> get_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
|
1165
|
+
|
1166
|
+
```ruby
|
1167
|
+
begin
|
1168
|
+
# returns the single ticket definition
|
1169
|
+
data, status_code, headers = api_instance.get_ticket_definition_with_http_info(korona_account_id, ticket_definition_id)
|
1170
|
+
p status_code # => 2xx
|
1171
|
+
p headers # => { ... }
|
1172
|
+
p data # => <TicketDefinition>
|
1173
|
+
rescue KoronaCloudClient::ApiError => e
|
1174
|
+
puts "Error when calling TicketingApi->get_ticket_definition_with_http_info: #{e}"
|
1175
|
+
end
|
1176
|
+
```
|
1177
|
+
|
1178
|
+
### Parameters
|
1179
|
+
|
1180
|
+
| Name | Type | Description | Notes |
|
1181
|
+
| ---- | ---- | ----------- | ----- |
|
1182
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1183
|
+
| **ticket_definition_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
742
1184
|
|
743
1185
|
### Return type
|
744
1186
|
|
@@ -756,14 +1198,14 @@ Name | Type | Description | Notes
|
|
756
1198
|
|
757
1199
|
## get_ticket_definitions
|
758
1200
|
|
759
|
-
> ResultListTicketDefinition get_ticket_definitions(korona_account_id, opts)
|
1201
|
+
> <ResultListTicketDefinition> get_ticket_definitions(korona_account_id, opts)
|
760
1202
|
|
761
1203
|
lists all ticket definitions
|
762
1204
|
|
763
|
-
###
|
1205
|
+
### Examples
|
764
1206
|
|
765
1207
|
```ruby
|
766
|
-
|
1208
|
+
require 'time'
|
767
1209
|
require 'korona-cloud-client'
|
768
1210
|
# setup authorization
|
769
1211
|
KoronaCloudClient.configure do |config|
|
@@ -778,30 +1220,47 @@ opts = {
|
|
778
1220
|
page: 56, # Integer | number of the page to fetch
|
779
1221
|
size: 56, # Integer | amount of objects to return per page
|
780
1222
|
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
781
|
-
revision:
|
1223
|
+
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
782
1224
|
include_deleted: true # Boolean | indicates deleted objects should be loaded or not (default: false)
|
783
1225
|
}
|
784
1226
|
|
785
1227
|
begin
|
786
|
-
#lists all ticket definitions
|
1228
|
+
# lists all ticket definitions
|
787
1229
|
result = api_instance.get_ticket_definitions(korona_account_id, opts)
|
788
1230
|
p result
|
789
1231
|
rescue KoronaCloudClient::ApiError => e
|
790
|
-
puts "
|
1232
|
+
puts "Error when calling TicketingApi->get_ticket_definitions: #{e}"
|
791
1233
|
end
|
792
1234
|
```
|
793
1235
|
|
794
|
-
|
1236
|
+
#### Using the get_ticket_definitions_with_http_info variant
|
1237
|
+
|
1238
|
+
This returns an Array which contains the response data, status code and headers.
|
1239
|
+
|
1240
|
+
> <Array(<ResultListTicketDefinition>, Integer, Hash)> get_ticket_definitions_with_http_info(korona_account_id, opts)
|
795
1241
|
|
1242
|
+
```ruby
|
1243
|
+
begin
|
1244
|
+
# lists all ticket definitions
|
1245
|
+
data, status_code, headers = api_instance.get_ticket_definitions_with_http_info(korona_account_id, opts)
|
1246
|
+
p status_code # => 2xx
|
1247
|
+
p headers # => { ... }
|
1248
|
+
p data # => <ResultListTicketDefinition>
|
1249
|
+
rescue KoronaCloudClient::ApiError => e
|
1250
|
+
puts "Error when calling TicketingApi->get_ticket_definitions_with_http_info: #{e}"
|
1251
|
+
end
|
1252
|
+
```
|
1253
|
+
|
1254
|
+
### Parameters
|
796
1255
|
|
797
|
-
Name | Type | Description
|
798
|
-
|
799
|
-
**korona_account_id** | **String
|
800
|
-
**page** | **Integer
|
801
|
-
**size** | **Integer
|
802
|
-
**sort** | **String
|
803
|
-
**revision** | **Integer
|
804
|
-
**include_deleted** | **Boolean
|
1256
|
+
| Name | Type | Description | Notes |
|
1257
|
+
| ---- | ---- | ----------- | ----- |
|
1258
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1259
|
+
| **page** | **Integer** | number of the page to fetch | [optional] |
|
1260
|
+
| **size** | **Integer** | amount of objects to return per page | [optional] |
|
1261
|
+
| **sort** | **String** | attribute to sort by (multiple separated by comma; max. 5) | [optional] |
|
1262
|
+
| **revision** | **Integer** | last revision number, objects with a greater revision than this will be returned | [optional] |
|
1263
|
+
| **include_deleted** | **Boolean** | indicates deleted objects should be loaded or not (default: false) | [optional] |
|
805
1264
|
|
806
1265
|
### Return type
|
807
1266
|
|
@@ -819,14 +1278,14 @@ Name | Type | Description | Notes
|
|
819
1278
|
|
820
1279
|
## get_tickets
|
821
1280
|
|
822
|
-
> ResultListTicket get_tickets(korona_account_id, page, size, opts)
|
1281
|
+
> <ResultListTicket> get_tickets(korona_account_id, page, size, opts)
|
823
1282
|
|
824
1283
|
lists all tickets
|
825
1284
|
|
826
|
-
###
|
1285
|
+
### Examples
|
827
1286
|
|
828
1287
|
```ruby
|
829
|
-
|
1288
|
+
require 'time'
|
830
1289
|
require 'korona-cloud-client'
|
831
1290
|
# setup authorization
|
832
1291
|
KoronaCloudClient.configure do |config|
|
@@ -842,8 +1301,8 @@ size = 56 # Integer | amount of objects to return per page
|
|
842
1301
|
opts = {
|
843
1302
|
ticket_number: 'ticket_number_example', # String | ticket number
|
844
1303
|
customer_number: 'customer_number_example', # String | customer number
|
845
|
-
creation_date_from:
|
846
|
-
creation_date_to:
|
1304
|
+
creation_date_from: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation date from
|
1305
|
+
creation_date_to: Time.parse('2013-10-20T19:20:30+01:00'), # Time | creation date to
|
847
1306
|
locked: true, # Boolean | is ticket locked
|
848
1307
|
owner_last_name: 'owner_last_name_example', # String | last name of owner
|
849
1308
|
owner_first_name: 'owner_first_name_example', # String | first name of owner
|
@@ -851,30 +1310,47 @@ opts = {
|
|
851
1310
|
}
|
852
1311
|
|
853
1312
|
begin
|
854
|
-
#lists all tickets
|
1313
|
+
# lists all tickets
|
855
1314
|
result = api_instance.get_tickets(korona_account_id, page, size, opts)
|
856
1315
|
p result
|
857
1316
|
rescue KoronaCloudClient::ApiError => e
|
858
|
-
puts "
|
1317
|
+
puts "Error when calling TicketingApi->get_tickets: #{e}"
|
859
1318
|
end
|
860
1319
|
```
|
861
1320
|
|
862
|
-
|
1321
|
+
#### Using the get_tickets_with_http_info variant
|
863
1322
|
|
1323
|
+
This returns an Array which contains the response data, status code and headers.
|
864
1324
|
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
1325
|
+
> <Array(<ResultListTicket>, Integer, Hash)> get_tickets_with_http_info(korona_account_id, page, size, opts)
|
1326
|
+
|
1327
|
+
```ruby
|
1328
|
+
begin
|
1329
|
+
# lists all tickets
|
1330
|
+
data, status_code, headers = api_instance.get_tickets_with_http_info(korona_account_id, page, size, opts)
|
1331
|
+
p status_code # => 2xx
|
1332
|
+
p headers # => { ... }
|
1333
|
+
p data # => <ResultListTicket>
|
1334
|
+
rescue KoronaCloudClient::ApiError => e
|
1335
|
+
puts "Error when calling TicketingApi->get_tickets_with_http_info: #{e}"
|
1336
|
+
end
|
1337
|
+
```
|
1338
|
+
|
1339
|
+
### Parameters
|
1340
|
+
|
1341
|
+
| Name | Type | Description | Notes |
|
1342
|
+
| ---- | ---- | ----------- | ----- |
|
1343
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1344
|
+
| **page** | **Integer** | number of the page to fetch | |
|
1345
|
+
| **size** | **Integer** | amount of objects to return per page | |
|
1346
|
+
| **ticket_number** | **String** | ticket number | [optional] |
|
1347
|
+
| **customer_number** | **String** | customer number | [optional] |
|
1348
|
+
| **creation_date_from** | **Time** | creation date from | [optional] |
|
1349
|
+
| **creation_date_to** | **Time** | creation date to | [optional] |
|
1350
|
+
| **locked** | **Boolean** | is ticket locked | [optional] |
|
1351
|
+
| **owner_last_name** | **String** | last name of owner | [optional] |
|
1352
|
+
| **owner_first_name** | **String** | first name of owner | [optional] |
|
1353
|
+
| **load_owner_image** | **Boolean** | set true if you want to load the owner's image | [optional] |
|
878
1354
|
|
879
1355
|
### Return type
|
880
1356
|
|
@@ -896,10 +1372,10 @@ Name | Type | Description | Notes
|
|
896
1372
|
|
897
1373
|
locks the single ticket
|
898
1374
|
|
899
|
-
###
|
1375
|
+
### Examples
|
900
1376
|
|
901
1377
|
```ruby
|
902
|
-
|
1378
|
+
require 'time'
|
903
1379
|
require 'korona-cloud-client'
|
904
1380
|
# setup authorization
|
905
1381
|
KoronaCloudClient.configure do |config|
|
@@ -913,20 +1389,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
913
1389
|
ticket_number = 'ticket_number_example' # String | id of the related object (important: id should match the uuid-format)
|
914
1390
|
|
915
1391
|
begin
|
916
|
-
#locks the single ticket
|
1392
|
+
# locks the single ticket
|
917
1393
|
api_instance.lock_ticket(korona_account_id, ticket_number)
|
918
1394
|
rescue KoronaCloudClient::ApiError => e
|
919
|
-
puts "
|
1395
|
+
puts "Error when calling TicketingApi->lock_ticket: #{e}"
|
920
1396
|
end
|
921
1397
|
```
|
922
1398
|
|
923
|
-
|
1399
|
+
#### Using the lock_ticket_with_http_info variant
|
1400
|
+
|
1401
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1402
|
+
|
1403
|
+
> <Array(nil, Integer, Hash)> lock_ticket_with_http_info(korona_account_id, ticket_number)
|
1404
|
+
|
1405
|
+
```ruby
|
1406
|
+
begin
|
1407
|
+
# locks the single ticket
|
1408
|
+
data, status_code, headers = api_instance.lock_ticket_with_http_info(korona_account_id, ticket_number)
|
1409
|
+
p status_code # => 2xx
|
1410
|
+
p headers # => { ... }
|
1411
|
+
p data # => nil
|
1412
|
+
rescue KoronaCloudClient::ApiError => e
|
1413
|
+
puts "Error when calling TicketingApi->lock_ticket_with_http_info: #{e}"
|
1414
|
+
end
|
1415
|
+
```
|
924
1416
|
|
1417
|
+
### Parameters
|
925
1418
|
|
926
|
-
Name | Type | Description
|
927
|
-
|
928
|
-
**korona_account_id** | **String
|
929
|
-
**ticket_number** | **String
|
1419
|
+
| Name | Type | Description | Notes |
|
1420
|
+
| ---- | ---- | ----------- | ----- |
|
1421
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1422
|
+
| **ticket_number** | **String** | id of the related object (important: id should match the uuid-format) | |
|
930
1423
|
|
931
1424
|
### Return type
|
932
1425
|
|
@@ -948,10 +1441,10 @@ nil (empty response body)
|
|
948
1441
|
|
949
1442
|
unlocks the single ticket
|
950
1443
|
|
951
|
-
###
|
1444
|
+
### Examples
|
952
1445
|
|
953
1446
|
```ruby
|
954
|
-
|
1447
|
+
require 'time'
|
955
1448
|
require 'korona-cloud-client'
|
956
1449
|
# setup authorization
|
957
1450
|
KoronaCloudClient.configure do |config|
|
@@ -965,20 +1458,37 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
965
1458
|
ticket_number = 'ticket_number_example' # String | id of the related object (important: id should match the uuid-format)
|
966
1459
|
|
967
1460
|
begin
|
968
|
-
#unlocks the single ticket
|
1461
|
+
# unlocks the single ticket
|
969
1462
|
api_instance.unlock_ticket(korona_account_id, ticket_number)
|
970
1463
|
rescue KoronaCloudClient::ApiError => e
|
971
|
-
puts "
|
1464
|
+
puts "Error when calling TicketingApi->unlock_ticket: #{e}"
|
972
1465
|
end
|
973
1466
|
```
|
974
1467
|
|
975
|
-
|
1468
|
+
#### Using the unlock_ticket_with_http_info variant
|
976
1469
|
|
1470
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
977
1471
|
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
1472
|
+
> <Array(nil, Integer, Hash)> unlock_ticket_with_http_info(korona_account_id, ticket_number)
|
1473
|
+
|
1474
|
+
```ruby
|
1475
|
+
begin
|
1476
|
+
# unlocks the single ticket
|
1477
|
+
data, status_code, headers = api_instance.unlock_ticket_with_http_info(korona_account_id, ticket_number)
|
1478
|
+
p status_code # => 2xx
|
1479
|
+
p headers # => { ... }
|
1480
|
+
p data # => nil
|
1481
|
+
rescue KoronaCloudClient::ApiError => e
|
1482
|
+
puts "Error when calling TicketingApi->unlock_ticket_with_http_info: #{e}"
|
1483
|
+
end
|
1484
|
+
```
|
1485
|
+
|
1486
|
+
### Parameters
|
1487
|
+
|
1488
|
+
| Name | Type | Description | Notes |
|
1489
|
+
| ---- | ---- | ----------- | ----- |
|
1490
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1491
|
+
| **ticket_number** | **String** | id of the related object (important: id should match the uuid-format) | |
|
982
1492
|
|
983
1493
|
### Return type
|
984
1494
|
|
@@ -994,16 +1504,86 @@ nil (empty response body)
|
|
994
1504
|
- **Accept**: application/json
|
995
1505
|
|
996
1506
|
|
1507
|
+
## update_entry_gates
|
1508
|
+
|
1509
|
+
> <Array<AddOrUpdateResult>> update_entry_gates(korona_account_id, body)
|
1510
|
+
|
1511
|
+
updates a batch of entry gates
|
1512
|
+
|
1513
|
+
### Examples
|
1514
|
+
|
1515
|
+
```ruby
|
1516
|
+
require 'time'
|
1517
|
+
require 'korona-cloud-client'
|
1518
|
+
# setup authorization
|
1519
|
+
KoronaCloudClient.configure do |config|
|
1520
|
+
# Configure HTTP basic authorization: basicAuth
|
1521
|
+
config.username = 'YOUR USERNAME'
|
1522
|
+
config.password = 'YOUR PASSWORD'
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
api_instance = KoronaCloudClient::TicketingApi.new
|
1526
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
1527
|
+
body = [KoronaCloudClient::EntryGate.new] # Array<EntryGate> | array of existing entry gates (id or number required)
|
1528
|
+
|
1529
|
+
begin
|
1530
|
+
# updates a batch of entry gates
|
1531
|
+
result = api_instance.update_entry_gates(korona_account_id, body)
|
1532
|
+
p result
|
1533
|
+
rescue KoronaCloudClient::ApiError => e
|
1534
|
+
puts "Error when calling TicketingApi->update_entry_gates: #{e}"
|
1535
|
+
end
|
1536
|
+
```
|
1537
|
+
|
1538
|
+
#### Using the update_entry_gates_with_http_info variant
|
1539
|
+
|
1540
|
+
This returns an Array which contains the response data, status code and headers.
|
1541
|
+
|
1542
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_entry_gates_with_http_info(korona_account_id, body)
|
1543
|
+
|
1544
|
+
```ruby
|
1545
|
+
begin
|
1546
|
+
# updates a batch of entry gates
|
1547
|
+
data, status_code, headers = api_instance.update_entry_gates_with_http_info(korona_account_id, body)
|
1548
|
+
p status_code # => 2xx
|
1549
|
+
p headers # => { ... }
|
1550
|
+
p data # => <Array<AddOrUpdateResult>>
|
1551
|
+
rescue KoronaCloudClient::ApiError => e
|
1552
|
+
puts "Error when calling TicketingApi->update_entry_gates_with_http_info: #{e}"
|
1553
|
+
end
|
1554
|
+
```
|
1555
|
+
|
1556
|
+
### Parameters
|
1557
|
+
|
1558
|
+
| Name | Type | Description | Notes |
|
1559
|
+
| ---- | ---- | ----------- | ----- |
|
1560
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1561
|
+
| **body** | [**Array<EntryGate>**](EntryGate.md) | array of existing entry gates (id or number required) | |
|
1562
|
+
|
1563
|
+
### Return type
|
1564
|
+
|
1565
|
+
[**Array<AddOrUpdateResult>**](AddOrUpdateResult.md)
|
1566
|
+
|
1567
|
+
### Authorization
|
1568
|
+
|
1569
|
+
[basicAuth](../README.md#basicAuth)
|
1570
|
+
|
1571
|
+
### HTTP request headers
|
1572
|
+
|
1573
|
+
- **Content-Type**: application/json
|
1574
|
+
- **Accept**: application/json
|
1575
|
+
|
1576
|
+
|
997
1577
|
## update_event
|
998
1578
|
|
999
1579
|
> update_event(korona_account_id, event_id, body)
|
1000
1580
|
|
1001
1581
|
updates the single event
|
1002
1582
|
|
1003
|
-
###
|
1583
|
+
### Examples
|
1004
1584
|
|
1005
1585
|
```ruby
|
1006
|
-
|
1586
|
+
require 'time'
|
1007
1587
|
require 'korona-cloud-client'
|
1008
1588
|
# setup authorization
|
1009
1589
|
KoronaCloudClient.configure do |config|
|
@@ -1018,21 +1598,38 @@ event_id = 'event_id_example' # String | id of the related object (important: id
|
|
1018
1598
|
body = KoronaCloudClient::Event.new # Event | the properties to update of the event
|
1019
1599
|
|
1020
1600
|
begin
|
1021
|
-
#updates the single event
|
1601
|
+
# updates the single event
|
1022
1602
|
api_instance.update_event(korona_account_id, event_id, body)
|
1023
1603
|
rescue KoronaCloudClient::ApiError => e
|
1024
|
-
puts "
|
1604
|
+
puts "Error when calling TicketingApi->update_event: #{e}"
|
1025
1605
|
end
|
1026
1606
|
```
|
1027
1607
|
|
1028
|
-
|
1608
|
+
#### Using the update_event_with_http_info variant
|
1029
1609
|
|
1610
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1030
1611
|
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1612
|
+
> <Array(nil, Integer, Hash)> update_event_with_http_info(korona_account_id, event_id, body)
|
1613
|
+
|
1614
|
+
```ruby
|
1615
|
+
begin
|
1616
|
+
# updates the single event
|
1617
|
+
data, status_code, headers = api_instance.update_event_with_http_info(korona_account_id, event_id, body)
|
1618
|
+
p status_code # => 2xx
|
1619
|
+
p headers # => { ... }
|
1620
|
+
p data # => nil
|
1621
|
+
rescue KoronaCloudClient::ApiError => e
|
1622
|
+
puts "Error when calling TicketingApi->update_event_with_http_info: #{e}"
|
1623
|
+
end
|
1624
|
+
```
|
1625
|
+
|
1626
|
+
### Parameters
|
1627
|
+
|
1628
|
+
| Name | Type | Description | Notes |
|
1629
|
+
| ---- | ---- | ----------- | ----- |
|
1630
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1631
|
+
| **event_id** | **String** | id of the related object (important: id should match the uuid-format) | |
|
1632
|
+
| **body** | [**Event**](Event.md) | the properties to update of the event | |
|
1036
1633
|
|
1037
1634
|
### Return type
|
1038
1635
|
|
@@ -1050,16 +1647,16 @@ nil (empty response body)
|
|
1050
1647
|
|
1051
1648
|
## update_events
|
1052
1649
|
|
1053
|
-
> Array
|
1650
|
+
> <Array<AddOrUpdateResult>> update_events(korona_account_id, body)
|
1054
1651
|
|
1055
1652
|
updates a batch of events
|
1056
1653
|
|
1057
1654
|
[number] must be set in the objects, otherwise the object cannot be updated
|
1058
1655
|
|
1059
|
-
###
|
1656
|
+
### Examples
|
1060
1657
|
|
1061
1658
|
```ruby
|
1062
|
-
|
1659
|
+
require 'time'
|
1063
1660
|
require 'korona-cloud-client'
|
1064
1661
|
# setup authorization
|
1065
1662
|
KoronaCloudClient.configure do |config|
|
@@ -1073,21 +1670,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
1073
1670
|
body = [KoronaCloudClient::Event.new] # Array<Event> | an array of existing events
|
1074
1671
|
|
1075
1672
|
begin
|
1076
|
-
#updates a batch of events
|
1673
|
+
# updates a batch of events
|
1077
1674
|
result = api_instance.update_events(korona_account_id, body)
|
1078
1675
|
p result
|
1079
1676
|
rescue KoronaCloudClient::ApiError => e
|
1080
|
-
puts "
|
1677
|
+
puts "Error when calling TicketingApi->update_events: #{e}"
|
1081
1678
|
end
|
1082
1679
|
```
|
1083
1680
|
|
1084
|
-
|
1681
|
+
#### Using the update_events_with_http_info variant
|
1682
|
+
|
1683
|
+
This returns an Array which contains the response data, status code and headers.
|
1684
|
+
|
1685
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_events_with_http_info(korona_account_id, body)
|
1686
|
+
|
1687
|
+
```ruby
|
1688
|
+
begin
|
1689
|
+
# updates a batch of events
|
1690
|
+
data, status_code, headers = api_instance.update_events_with_http_info(korona_account_id, body)
|
1691
|
+
p status_code # => 2xx
|
1692
|
+
p headers # => { ... }
|
1693
|
+
p data # => <Array<AddOrUpdateResult>>
|
1694
|
+
rescue KoronaCloudClient::ApiError => e
|
1695
|
+
puts "Error when calling TicketingApi->update_events_with_http_info: #{e}"
|
1696
|
+
end
|
1697
|
+
```
|
1085
1698
|
|
1699
|
+
### Parameters
|
1086
1700
|
|
1087
|
-
Name | Type | Description
|
1088
|
-
|
1089
|
-
**korona_account_id** | **String
|
1090
|
-
**body** | [**Array<Event>**](Event.md)| an array of existing events |
|
1701
|
+
| Name | Type | Description | Notes |
|
1702
|
+
| ---- | ---- | ----------- | ----- |
|
1703
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1704
|
+
| **body** | [**Array<Event>**](Event.md) | an array of existing events | |
|
1091
1705
|
|
1092
1706
|
### Return type
|
1093
1707
|
|
@@ -1109,10 +1723,10 @@ Name | Type | Description | Notes
|
|
1109
1723
|
|
1110
1724
|
updates the single ticket
|
1111
1725
|
|
1112
|
-
###
|
1726
|
+
### Examples
|
1113
1727
|
|
1114
1728
|
```ruby
|
1115
|
-
|
1729
|
+
require 'time'
|
1116
1730
|
require 'korona-cloud-client'
|
1117
1731
|
# setup authorization
|
1118
1732
|
KoronaCloudClient.configure do |config|
|
@@ -1131,23 +1745,40 @@ opts = {
|
|
1131
1745
|
}
|
1132
1746
|
|
1133
1747
|
begin
|
1134
|
-
#updates the single ticket
|
1748
|
+
# updates the single ticket
|
1135
1749
|
api_instance.update_ticket(korona_account_id, ticket_number, opts)
|
1136
1750
|
rescue KoronaCloudClient::ApiError => e
|
1137
|
-
puts "
|
1751
|
+
puts "Error when calling TicketingApi->update_ticket: #{e}"
|
1138
1752
|
end
|
1139
1753
|
```
|
1140
1754
|
|
1141
|
-
|
1755
|
+
#### Using the update_ticket_with_http_info variant
|
1142
1756
|
|
1757
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
1143
1758
|
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1759
|
+
> <Array(nil, Integer, Hash)> update_ticket_with_http_info(korona_account_id, ticket_number, opts)
|
1760
|
+
|
1761
|
+
```ruby
|
1762
|
+
begin
|
1763
|
+
# updates the single ticket
|
1764
|
+
data, status_code, headers = api_instance.update_ticket_with_http_info(korona_account_id, ticket_number, opts)
|
1765
|
+
p status_code # => 2xx
|
1766
|
+
p headers # => { ... }
|
1767
|
+
p data # => nil
|
1768
|
+
rescue KoronaCloudClient::ApiError => e
|
1769
|
+
puts "Error when calling TicketingApi->update_ticket_with_http_info: #{e}"
|
1770
|
+
end
|
1771
|
+
```
|
1772
|
+
|
1773
|
+
### Parameters
|
1774
|
+
|
1775
|
+
| Name | Type | Description | Notes |
|
1776
|
+
| ---- | ---- | ----------- | ----- |
|
1777
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1778
|
+
| **ticket_number** | **String** | old ticket number | |
|
1779
|
+
| **new_ticket_number** | **String** | new ticket number | [optional] |
|
1780
|
+
| **first_name** | **String** | ticket owner's first name | [optional] |
|
1781
|
+
| **last_name** | **String** | ticket owner's last name | [optional] |
|
1151
1782
|
|
1152
1783
|
### Return type
|
1153
1784
|
|
@@ -1165,14 +1796,14 @@ nil (empty response body)
|
|
1165
1796
|
|
1166
1797
|
## update_ticket_definitions
|
1167
1798
|
|
1168
|
-
> Array
|
1799
|
+
> <Array<AddOrUpdateResult>> update_ticket_definitions(korona_account_id, body)
|
1169
1800
|
|
1170
1801
|
updates a batch of ticket definitions
|
1171
1802
|
|
1172
|
-
###
|
1803
|
+
### Examples
|
1173
1804
|
|
1174
1805
|
```ruby
|
1175
|
-
|
1806
|
+
require 'time'
|
1176
1807
|
require 'korona-cloud-client'
|
1177
1808
|
# setup authorization
|
1178
1809
|
KoronaCloudClient.configure do |config|
|
@@ -1186,21 +1817,38 @@ korona_account_id = 'korona_account_id_example' # String | account id of the KOR
|
|
1186
1817
|
body = [KoronaCloudClient::TicketDefinition.new] # Array<TicketDefinition> | array of existing ticket definitions (id or number required)
|
1187
1818
|
|
1188
1819
|
begin
|
1189
|
-
#updates a batch of ticket definitions
|
1820
|
+
# updates a batch of ticket definitions
|
1190
1821
|
result = api_instance.update_ticket_definitions(korona_account_id, body)
|
1191
1822
|
p result
|
1192
1823
|
rescue KoronaCloudClient::ApiError => e
|
1193
|
-
puts "
|
1824
|
+
puts "Error when calling TicketingApi->update_ticket_definitions: #{e}"
|
1194
1825
|
end
|
1195
1826
|
```
|
1196
1827
|
|
1197
|
-
|
1828
|
+
#### Using the update_ticket_definitions_with_http_info variant
|
1829
|
+
|
1830
|
+
This returns an Array which contains the response data, status code and headers.
|
1831
|
+
|
1832
|
+
> <Array(<Array<AddOrUpdateResult>>, Integer, Hash)> update_ticket_definitions_with_http_info(korona_account_id, body)
|
1833
|
+
|
1834
|
+
```ruby
|
1835
|
+
begin
|
1836
|
+
# updates a batch of ticket definitions
|
1837
|
+
data, status_code, headers = api_instance.update_ticket_definitions_with_http_info(korona_account_id, body)
|
1838
|
+
p status_code # => 2xx
|
1839
|
+
p headers # => { ... }
|
1840
|
+
p data # => <Array<AddOrUpdateResult>>
|
1841
|
+
rescue KoronaCloudClient::ApiError => e
|
1842
|
+
puts "Error when calling TicketingApi->update_ticket_definitions_with_http_info: #{e}"
|
1843
|
+
end
|
1844
|
+
```
|
1198
1845
|
|
1846
|
+
### Parameters
|
1199
1847
|
|
1200
|
-
Name | Type | Description
|
1201
|
-
|
1202
|
-
**korona_account_id** | **String
|
1203
|
-
**body** | [**Array<TicketDefinition>**](TicketDefinition.md)| array of existing ticket definitions (id or number required) |
|
1848
|
+
| Name | Type | Description | Notes |
|
1849
|
+
| ---- | ---- | ----------- | ----- |
|
1850
|
+
| **korona_account_id** | **String** | account id of the KORONA.cloud account | |
|
1851
|
+
| **body** | [**Array<TicketDefinition>**](TicketDefinition.md) | array of existing ticket definitions (id or number required) | |
|
1204
1852
|
|
1205
1853
|
### Return type
|
1206
1854
|
|