korona_client 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +171 -89
- data/config.json +6 -0
- data/docs/AccountTransaction.md +2 -0
- data/docs/AccountsApi.md +12 -12
- data/docs/AddOrUpdateResult.md +1 -0
- data/docs/AdditionalInfo.md +9 -0
- data/docs/AdditionalReceiptInfoType.md +22 -0
- data/docs/AdditionalReceiptInfoTypesApi.md +133 -0
- data/docs/AssortmentsApi.md +217 -48
- data/docs/Attendance.md +17 -0
- data/docs/Cashier.md +1 -0
- data/docs/CashiersApi.md +15 -13
- data/docs/Category.md +1 -0
- data/docs/CommodityGroupsApi.md +423 -0
- data/docs/CreationTask.md +17 -0
- data/docs/CurrenciesApi.md +15 -13
- data/docs/CustomerGroupsApi.md +15 -13
- data/docs/CustomerOrder.md +2 -2
- data/docs/CustomerOrdersApi.md +52 -46
- data/docs/CustomersApi.md +108 -45
- data/docs/DayTimePeriod.md +9 -0
- data/docs/DeliveryNote.md +22 -0
- data/docs/DeliveryNoteItem.md +14 -0
- data/docs/DeliveryNotesApi.md +316 -0
- data/docs/Deposit.md +12 -0
- data/docs/Discount.md +10 -0
- data/docs/EconomicZonesApi.md +15 -13
- data/docs/EndOfDayStatement.md +1 -1
- data/docs/Event.md +2 -0
- data/docs/ExternalSystemCall.md +20 -0
- data/docs/ExternalSystemCallsApi.md +423 -0
- data/docs/ImagesApi.md +8 -7
- data/docs/InfoTextsApi.md +15 -13
- data/docs/InventoriesApi.md +894 -0
- data/docs/KoronaAccount.md +1 -0
- data/docs/KoronaAccountApi.md +5 -5
- data/docs/MediaUrl.md +8 -0
- data/docs/OrganizationalUnit.md +1 -0
- data/docs/OrganizationalUnitsApi.md +108 -104
- data/docs/PaymentMethod.md +3 -0
- data/docs/PaymentMethodsApi.md +15 -13
- data/docs/PointsOfSaleApi.md +85 -74
- data/docs/Pos.md +5 -3
- data/docs/PriceGroupsApi.md +15 -13
- data/docs/Product.md +2 -0
- data/docs/ProductsApi.md +121 -58
- data/docs/Receipt.md +5 -1
- data/docs/ReceiptItem.md +3 -0
- data/docs/ReceiptsApi.md +20 -14
- data/docs/ResultListAdditionalReceiptInfoType.md +13 -0
- data/docs/ResultListAttendance.md +13 -0
- data/docs/ResultListCreationTask.md +13 -0
- data/docs/ResultListDeliveryNote.md +13 -0
- data/docs/ResultListExternalSystemCall.md +13 -0
- data/docs/ResultListTicket.md +13 -0
- data/docs/ResultListTimeTrackingEntity.md +13 -0
- data/docs/ResultListTimeTrackingEntry.md +13 -0
- data/docs/SalesTaxesApi.md +15 -13
- data/docs/Sector.md +1 -0
- data/docs/SectorRevenueAccountItem.md +9 -0
- data/docs/SectorsApi.md +15 -13
- data/docs/Signature.md +10 -0
- data/docs/StatisticsApi.md +28 -28
- data/docs/StockReceipt.md +1 -0
- data/docs/StockReceiptsApi.md +687 -0
- data/docs/SuppliersApi.md +15 -13
- data/docs/TagsApi.md +303 -13
- data/docs/Ticket.md +14 -0
- data/docs/TicketCreationApi.md +127 -0
- data/docs/TicketPersonalization.md +11 -0
- data/docs/TicketingApi.md +975 -76
- data/docs/TimeTrackingApi.md +388 -0
- data/docs/TimeTrackingEntity.md +13 -0
- data/docs/TimeTrackingEntry.md +14 -0
- data/docs/TotalPeriod.md +9 -0
- data/docs/Validity.md +11 -0
- data/korona_client-1.0.0.gem +0 -0
- data/korona_client.gemspec +7 -8
- data/lib/korona_client.rb +38 -5
- data/lib/korona_client/api/accounts_api.rb +24 -26
- data/lib/korona_client/api/additional_receipt_info_types_api.rb +155 -0
- data/lib/korona_client/api/assortments_api.rb +259 -82
- data/lib/korona_client/api/cashiers_api.rb +27 -26
- data/lib/korona_client/api/commodity_groups_api.rb +462 -0
- data/lib/korona_client/api/currencies_api.rb +27 -26
- data/lib/korona_client/api/customer_groups_api.rb +27 -26
- data/lib/korona_client/api/customer_orders_api.rb +78 -78
- data/lib/korona_client/api/customers_api.rb +137 -77
- data/lib/korona_client/api/delivery_notes_api.rb +354 -0
- data/lib/korona_client/api/economic_zones_api.rb +27 -26
- data/lib/korona_client/api/external_system_calls_api.rb +462 -0
- data/lib/korona_client/api/images_api.rb +16 -16
- data/lib/korona_client/api/info_texts_api.rb +27 -26
- data/lib/korona_client/api/inventories_api.rb +1014 -0
- data/lib/korona_client/api/korona_account_api.rb +11 -12
- data/lib/korona_client/api/organizational_units_api.rb +157 -162
- data/lib/korona_client/api/payment_methods_api.rb +27 -26
- data/lib/korona_client/api/points_of_sale_api.rb +127 -121
- data/lib/korona_client/api/price_groups_api.rb +27 -26
- data/lib/korona_client/api/products_api.rb +154 -95
- data/lib/korona_client/api/receipts_api.rb +27 -20
- data/lib/korona_client/api/sales_taxes_api.rb +27 -26
- data/lib/korona_client/api/sectors_api.rb +27 -26
- data/lib/korona_client/api/statistics_api.rb +32 -36
- data/lib/korona_client/api/stock_receipts_api.rb +769 -0
- data/lib/korona_client/api/suppliers_api.rb +27 -26
- data/lib/korona_client/api/tags_api.rb +326 -21
- data/lib/korona_client/api/ticket_creation_api.rb +149 -0
- data/lib/korona_client/api/ticketing_api.rb +1084 -132
- data/lib/korona_client/api/time_tracking_api.rb +425 -0
- data/lib/korona_client/api_client.rb +11 -11
- data/lib/korona_client/api_error.rb +3 -3
- data/lib/korona_client/configuration.rb +4 -4
- data/lib/korona_client/models/account.rb +11 -15
- data/lib/korona_client/models/account_summary.rb +8 -13
- data/lib/korona_client/models/account_transaction.rb +32 -15
- data/lib/korona_client/models/add_or_update_result.rb +24 -19
- data/lib/korona_client/models/additional_info.rb +192 -0
- data/lib/korona_client/models/additional_receipt_info_type.rb +319 -0
- data/lib/korona_client/models/address_information.rb +8 -13
- data/lib/korona_client/models/admission.rb +8 -13
- data/lib/korona_client/models/amount.rb +8 -13
- data/lib/korona_client/models/amount_count_data.rb +8 -13
- data/lib/korona_client/models/assortment.rb +8 -13
- data/lib/korona_client/models/attendance.rb +268 -0
- data/lib/korona_client/models/bad_request_error.rb +11 -15
- data/lib/korona_client/models/capacity.rb +8 -13
- data/lib/korona_client/models/cashier.rb +21 -16
- data/lib/korona_client/models/cashier_summary.rb +8 -13
- data/lib/korona_client/models/category.rb +19 -15
- data/lib/korona_client/models/cloud_subscription.rb +11 -15
- data/lib/korona_client/models/commodity_group.rb +8 -13
- data/lib/korona_client/models/commodity_group_summary.rb +8 -13
- data/lib/korona_client/models/company_identification.rb +8 -13
- data/lib/korona_client/models/creation_task.rb +298 -0
- data/lib/korona_client/models/currency.rb +8 -13
- data/lib/korona_client/models/currency_denomination.rb +11 -15
- data/lib/korona_client/models/currency_exchange_rate.rb +8 -13
- data/lib/korona_client/models/customer.rb +11 -15
- data/lib/korona_client/models/customer_card.rb +11 -15
- data/lib/korona_client/models/customer_data.rb +8 -13
- data/lib/korona_client/models/customer_group.rb +8 -13
- data/lib/korona_client/models/customer_group_summary.rb +8 -13
- data/lib/korona_client/models/customer_information.rb +8 -13
- data/lib/korona_client/models/customer_order.rb +28 -29
- data/lib/korona_client/models/day_rating.rb +8 -13
- data/lib/korona_client/models/day_time_period.rb +192 -0
- data/lib/korona_client/models/delivery_note.rb +316 -0
- data/lib/korona_client/models/delivery_note_item.rb +239 -0
- data/lib/korona_client/models/deposit.rb +219 -0
- data/lib/korona_client/models/device_information.rb +8 -13
- data/lib/korona_client/models/discount.rb +201 -0
- data/lib/korona_client/models/economic_zone.rb +8 -13
- data/lib/korona_client/models/end_of_day_statement.rb +15 -20
- data/lib/korona_client/models/end_of_day_statement_summary.rb +8 -13
- data/lib/korona_client/models/entry_gate.rb +8 -13
- data/lib/korona_client/models/event.rb +30 -15
- data/lib/korona_client/models/external_system_call.rb +295 -0
- data/lib/korona_client/models/forbidden_error.rb +11 -15
- data/lib/korona_client/models/geo_location.rb +8 -13
- data/lib/korona_client/models/info_text.rb +11 -15
- data/lib/korona_client/models/interval.rb +8 -13
- data/lib/korona_client/models/inventory.rb +14 -18
- data/lib/korona_client/models/inventory_list.rb +11 -15
- data/lib/korona_client/models/inventory_list_item.rb +8 -13
- data/lib/korona_client/models/inventory_list_item_stock.rb +8 -13
- data/lib/korona_client/models/korona_account.rb +41 -13
- data/lib/korona_client/models/media_url.rb +183 -0
- data/lib/korona_client/models/method_not_allowed_error.rb +11 -15
- data/lib/korona_client/models/model_reference.rb +8 -12
- data/lib/korona_client/models/not_found_error.rb +11 -15
- data/lib/korona_client/models/organizational_unit.rb +20 -16
- data/lib/korona_client/models/payment.rb +8 -13
- data/lib/korona_client/models/payment_method.rb +37 -15
- data/lib/korona_client/models/payment_summary.rb +8 -13
- data/lib/korona_client/models/period.rb +8 -13
- data/lib/korona_client/models/period_list_top_seller.rb +8 -13
- data/lib/korona_client/models/period_map_string_revenue_data.rb +8 -13
- data/lib/korona_client/models/period_object.rb +8 -13
- data/lib/korona_client/models/period_revenue_data.rb +8 -13
- data/lib/korona_client/models/pos.rb +31 -15
- data/lib/korona_client/models/price_group.rb +8 -13
- data/lib/korona_client/models/product.rb +35 -19
- data/lib/korona_client/models/product_code.rb +8 -13
- data/lib/korona_client/models/product_description.rb +11 -15
- data/lib/korona_client/models/product_price.rb +8 -13
- data/lib/korona_client/models/product_stock.rb +8 -13
- data/lib/korona_client/models/product_subproduct.rb +8 -13
- data/lib/korona_client/models/product_supplier_price.rb +8 -13
- data/lib/korona_client/models/product_transfer_involved_party_information.rb +8 -13
- data/lib/korona_client/models/product_transfer_involved_party_information_data.rb +8 -13
- data/lib/korona_client/models/rating.rb +8 -13
- data/lib/korona_client/models/receipt.rb +55 -20
- data/lib/korona_client/models/receipt_item.rb +40 -14
- data/lib/korona_client/models/result_list.rb +14 -19
- data/lib/korona_client/models/result_list_account.rb +14 -19
- data/lib/korona_client/models/result_list_additional_receipt_info_type.rb +268 -0
- data/lib/korona_client/models/result_list_assortment.rb +14 -19
- data/lib/korona_client/models/result_list_attendance.rb +268 -0
- data/lib/korona_client/models/result_list_cashier.rb +14 -19
- data/lib/korona_client/models/result_list_commodity_group.rb +14 -19
- data/lib/korona_client/models/result_list_creation_task.rb +268 -0
- data/lib/korona_client/models/result_list_currency.rb +14 -19
- data/lib/korona_client/models/result_list_customer.rb +14 -19
- data/lib/korona_client/models/result_list_customer_group.rb +14 -19
- data/lib/korona_client/models/result_list_customer_order.rb +14 -19
- data/lib/korona_client/models/result_list_day_rating.rb +14 -19
- data/lib/korona_client/models/result_list_delivery_note.rb +268 -0
- data/lib/korona_client/models/result_list_economic_zone.rb +14 -19
- data/lib/korona_client/models/result_list_end_of_day_statement.rb +14 -19
- data/lib/korona_client/models/result_list_entry_gate.rb +14 -19
- data/lib/korona_client/models/result_list_event.rb +14 -19
- data/lib/korona_client/models/result_list_external_system_call.rb +268 -0
- data/lib/korona_client/models/result_list_info_text.rb +14 -19
- data/lib/korona_client/models/result_list_inventory.rb +14 -19
- data/lib/korona_client/models/result_list_inventory_list.rb +14 -19
- data/lib/korona_client/models/result_list_inventory_list_item.rb +14 -19
- data/lib/korona_client/models/result_list_organizational_unit.rb +14 -19
- data/lib/korona_client/models/result_list_payment_method.rb +14 -19
- data/lib/korona_client/models/result_list_pos.rb +14 -19
- data/lib/korona_client/models/result_list_price_group.rb +14 -19
- data/lib/korona_client/models/result_list_product.rb +14 -19
- data/lib/korona_client/models/result_list_product_stock.rb +14 -19
- data/lib/korona_client/models/result_list_receipt.rb +14 -19
- data/lib/korona_client/models/result_list_sales_tax.rb +14 -19
- data/lib/korona_client/models/result_list_sector.rb +14 -19
- data/lib/korona_client/models/result_list_stock_receipt.rb +14 -19
- data/lib/korona_client/models/result_list_stock_receipt_item.rb +14 -19
- data/lib/korona_client/models/result_list_supplier.rb +14 -19
- data/lib/korona_client/models/result_list_tag.rb +14 -19
- data/lib/korona_client/models/result_list_ticket.rb +268 -0
- data/lib/korona_client/models/result_list_ticket_definition.rb +14 -19
- data/lib/korona_client/models/result_list_time_tracking_entity.rb +268 -0
- data/lib/korona_client/models/result_list_time_tracking_entry.rb +268 -0
- data/lib/korona_client/models/revenue_data.rb +8 -13
- data/lib/korona_client/models/sales_tax.rb +8 -13
- data/lib/korona_client/models/sales_tax_rate.rb +8 -13
- data/lib/korona_client/models/sector.rb +21 -15
- data/lib/korona_client/models/sector_revenue_account_item.rb +192 -0
- data/lib/korona_client/models/sector_sales_tax_item.rb +8 -13
- data/lib/korona_client/models/signature.rb +216 -0
- data/lib/korona_client/models/statistic.rb +8 -13
- data/lib/korona_client/models/statistic_list_top_seller.rb +8 -13
- data/lib/korona_client/models/statistic_map_string_revenue_data.rb +8 -13
- data/lib/korona_client/models/statistic_revenue_data.rb +8 -13
- data/lib/korona_client/models/stock_receipt.rb +21 -16
- data/lib/korona_client/models/stock_receipt_item.rb +8 -13
- data/lib/korona_client/models/stock_receipt_item_amount.rb +8 -13
- data/lib/korona_client/models/stock_receipt_item_identification.rb +8 -13
- data/lib/korona_client/models/stock_receipt_item_purchase_price.rb +8 -13
- data/lib/korona_client/models/supplier.rb +8 -13
- data/lib/korona_client/models/supplier_contact.rb +8 -13
- data/lib/korona_client/models/supplier_contact_person.rb +8 -13
- data/lib/korona_client/models/supplier_payment_information.rb +11 -15
- data/lib/korona_client/models/tag.rb +8 -13
- data/lib/korona_client/models/tax_payment.rb +8 -13
- data/lib/korona_client/models/tax_summary.rb +8 -13
- data/lib/korona_client/models/ticket.rb +237 -0
- data/lib/korona_client/models/ticket_definition.rb +8 -13
- data/lib/korona_client/models/ticket_personalization.rb +225 -0
- data/lib/korona_client/models/time_period.rb +8 -13
- data/lib/korona_client/models/time_tracking_entity.rb +232 -0
- data/lib/korona_client/models/time_tracking_entry.rb +240 -0
- data/lib/korona_client/models/too_many_requests_error.rb +11 -15
- data/lib/korona_client/models/top_seller.rb +8 -13
- data/lib/korona_client/models/total_period.rb +192 -0
- data/lib/korona_client/models/total_price.rb +10 -14
- data/lib/korona_client/models/validity.rb +236 -0
- data/lib/korona_client/models/weather.rb +11 -15
- data/lib/korona_client/version.rb +4 -4
- data/node_modules/.yarn-integrity +12 -0
- data/spec/api/additional_receipt_info_types_api_spec.rb +66 -0
- data/spec/api/commodity_groups_api_spec.rb +133 -0
- data/spec/api/delivery_notes_api_spec.rb +112 -0
- data/spec/api/external_system_calls_api_spec.rb +133 -0
- data/spec/api/inventories_api_spec.rb +253 -0
- data/spec/api/stock_receipts_api_spec.rb +201 -0
- data/spec/api/ticket_creation_api_spec.rb +63 -0
- data/spec/api/time_tracking_api_spec.rb +129 -0
- data/spec/models/additional_info_spec.rb +47 -0
- data/spec/models/additional_receipt_info_type_spec.rb +125 -0
- data/spec/models/attendance_spec.rb +95 -0
- data/spec/models/creation_task_spec.rb +99 -0
- data/spec/models/day_time_period_spec.rb +47 -0
- data/spec/models/delivery_note_item_spec.rb +77 -0
- data/spec/models/delivery_note_spec.rb +125 -0
- data/spec/models/deposit_spec.rb +65 -0
- data/spec/models/discount_spec.rb +53 -0
- data/spec/models/external_system_call_spec.rb +113 -0
- data/spec/models/media_url_spec.rb +41 -0
- data/spec/models/result_list_additional_receipt_info_type_spec.rb +71 -0
- data/spec/models/result_list_attendance_spec.rb +71 -0
- data/spec/models/result_list_creation_task_spec.rb +71 -0
- data/spec/models/result_list_delivery_note_spec.rb +71 -0
- data/spec/models/result_list_external_system_call_spec.rb +71 -0
- data/spec/models/result_list_ticket_spec.rb +71 -0
- data/spec/models/result_list_time_tracking_entity_spec.rb +71 -0
- data/spec/models/result_list_time_tracking_entry_spec.rb +71 -0
- data/spec/models/sector_revenue_account_item_spec.rb +47 -0
- data/spec/models/signature_spec.rb +53 -0
- data/spec/models/ticket_personalization_spec.rb +59 -0
- data/spec/models/ticket_spec.rb +77 -0
- data/spec/models/time_tracking_entity_spec.rb +71 -0
- data/spec/models/time_tracking_entry_spec.rb +77 -0
- data/spec/models/total_period_spec.rb +47 -0
- data/spec/models/validity_spec.rb +63 -0
- data/yarn.lock +4 -0
- metadata +162 -18
data/docs/Receipt.md
CHANGED
@@ -8,13 +8,14 @@ Name | Type | Description | Notes
|
|
8
8
|
**number** | **String** | number of the object, like it is set in backoffice; will be removed when active=false | [optional]
|
9
9
|
**revision** | **Integer** | the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers. | [optional]
|
10
10
|
**account_transactions** | [**Array<AccountTransaction>**](AccountTransaction.md) | | [optional]
|
11
|
+
**additional_info** | [**Array<AdditionalInfo>**](AdditionalInfo.md) | | [optional]
|
11
12
|
**booking_time** | **DateTime** | | [optional]
|
12
13
|
**cashier** | [**ModelReference**](ModelReference.md) | | [optional]
|
13
14
|
**creation_time** | **DateTime** | | [optional]
|
14
15
|
**currency** | [**ModelReference**](ModelReference.md) | | [optional]
|
15
16
|
**customer** | [**ModelReference**](ModelReference.md) | | [optional]
|
16
17
|
**customer_group** | [**ModelReference**](ModelReference.md) | | [optional]
|
17
|
-
**
|
18
|
+
**order_number** | **String** | | [optional]
|
18
19
|
**deposit_amount** | **Float** | | [optional]
|
19
20
|
**geo_location** | [**GeoLocation**](GeoLocation.md) | | [optional]
|
20
21
|
**items** | [**Array<ReceiptItem>**](ReceiptItem.md) | | [optional]
|
@@ -23,6 +24,9 @@ Name | Type | Description | Notes
|
|
23
24
|
**point_of_sale** | [**ModelReference**](ModelReference.md) | | [optional]
|
24
25
|
**price_group** | [**ModelReference**](ModelReference.md) | | [optional]
|
25
26
|
**voided** | **BOOLEAN** | | [optional]
|
27
|
+
**signature** | [**Signature**](Signature.md) | | [optional]
|
28
|
+
**cancelled** | **BOOLEAN** | | [optional]
|
29
|
+
**info_texts** | **Array<String>** | | [optional]
|
26
30
|
**zcounter** | **Integer** | | [optional]
|
27
31
|
|
28
32
|
|
data/docs/ReceiptItem.md
CHANGED
@@ -7,10 +7,13 @@ Name | Type | Description | Notes
|
|
7
7
|
**commodity_group** | [**ModelReference**](ModelReference.md) | | [optional]
|
8
8
|
**indent** | **Integer** | | [optional]
|
9
9
|
**info_texts** | **Array<String>** | | [optional]
|
10
|
+
**discounts** | [**Array<Discount>**](Discount.md) | | [optional]
|
10
11
|
**manual_price** | **BOOLEAN** | | [optional]
|
11
12
|
**product** | [**ModelReference**](ModelReference.md) | | [optional]
|
12
13
|
**quantity** | **Float** | | [optional]
|
14
|
+
**recognition_number** | **String** | | [optional]
|
13
15
|
**sector** | [**ModelReference**](ModelReference.md) | | [optional]
|
16
|
+
**serial_numbers** | **Array<String>** | | [optional]
|
14
17
|
**total** | [**TotalPrice**](TotalPrice.md) | | [optional]
|
15
18
|
|
16
19
|
|
data/docs/ReceiptsApi.md
CHANGED
@@ -4,14 +4,14 @@ All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get_receipt**](ReceiptsApi.md#get_receipt) | **GET** /accounts/{koronaAccountId}/receipts/receiptId} |
|
7
|
+
[**get_receipt**](ReceiptsApi.md#get_receipt) | **GET** /accounts/{koronaAccountId}/receipts/{receiptId} | returns the single receipt
|
8
8
|
[**get_receipts**](ReceiptsApi.md#get_receipts) | **GET** /accounts/{koronaAccountId}/receipts | lists all receipts
|
9
9
|
|
10
10
|
|
11
11
|
# **get_receipt**
|
12
12
|
> Receipt get_receipt(korona_account_id, receipt_id)
|
13
13
|
|
14
|
-
|
14
|
+
returns the single receipt
|
15
15
|
|
16
16
|
|
17
17
|
|
@@ -28,13 +28,13 @@ end
|
|
28
28
|
|
29
29
|
api_instance = KoronaClient::ReceiptsApi.new
|
30
30
|
|
31
|
-
korona_account_id =
|
31
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
32
32
|
|
33
|
-
receipt_id =
|
33
|
+
receipt_id = 'receipt_id_example' # String | id of the receipt
|
34
34
|
|
35
35
|
|
36
36
|
begin
|
37
|
-
#
|
37
|
+
#returns the single receipt
|
38
38
|
result = api_instance.get_receipt(korona_account_id, receipt_id)
|
39
39
|
p result
|
40
40
|
rescue KoronaClient::ApiError => e
|
@@ -46,8 +46,8 @@ end
|
|
46
46
|
|
47
47
|
Name | Type | Description | Notes
|
48
48
|
------------- | ------------- | ------------- | -------------
|
49
|
-
**korona_account_id** | **String**| the account
|
50
|
-
**receipt_id** | **String**|
|
49
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
50
|
+
**receipt_id** | **String**| id of the receipt |
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
@@ -84,18 +84,21 @@ end
|
|
84
84
|
|
85
85
|
api_instance = KoronaClient::ReceiptsApi.new
|
86
86
|
|
87
|
-
korona_account_id =
|
87
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
88
88
|
|
89
89
|
opts = {
|
90
90
|
page: 56, # Integer | number of the page to fetch
|
91
91
|
size: 56, # Integer | amount of objects to return per page
|
92
|
-
sort:
|
92
|
+
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
93
93
|
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
94
|
-
point_of_sale:
|
95
|
-
organizational_unit:
|
94
|
+
point_of_sale: 'point_of_sale_example', # String | point of sale
|
95
|
+
organizational_unit: 'organizational_unit_example', # String | organizational unit
|
96
96
|
z_count: 789, # Integer | z-count of the receipt
|
97
|
-
min_create_time: DateTime.parse(
|
98
|
-
max_create_time: DateTime.parse(
|
97
|
+
min_create_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | min (inclusive) create time of the receipt (ISO 8601; date, time and timezone)
|
98
|
+
max_create_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | max (inclusive) create time of the receipt (ISO 8601; date, time and timezone)
|
99
|
+
number: 'number_example', # String | number of the related object
|
100
|
+
min_booking_time: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | min (inclusive) booking time of the receipt (ISO 8601; date, time and timezone)
|
101
|
+
max_booking_time: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | max (inclusive) booking time of the receipt (ISO 8601; date, time and timezone)
|
99
102
|
}
|
100
103
|
|
101
104
|
begin
|
@@ -111,7 +114,7 @@ end
|
|
111
114
|
|
112
115
|
Name | Type | Description | Notes
|
113
116
|
------------- | ------------- | ------------- | -------------
|
114
|
-
**korona_account_id** | **String**| the account
|
117
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
115
118
|
**page** | **Integer**| number of the page to fetch | [optional]
|
116
119
|
**size** | **Integer**| amount of objects to return per page | [optional]
|
117
120
|
**sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
|
@@ -121,6 +124,9 @@ Name | Type | Description | Notes
|
|
121
124
|
**z_count** | **Integer**| z-count of the receipt | [optional]
|
122
125
|
**min_create_time** | **DateTime**| min (inclusive) create time of the receipt (ISO 8601; date, time and timezone) | [optional]
|
123
126
|
**max_create_time** | **DateTime**| max (inclusive) create time of the receipt (ISO 8601; date, time and timezone) | [optional]
|
127
|
+
**number** | **String**| number of the related object | [optional]
|
128
|
+
**min_booking_time** | **DateTime**| min (inclusive) booking time of the receipt (ISO 8601; date, time and timezone) | [optional]
|
129
|
+
**max_booking_time** | **DateTime**| max (inclusive) booking time of the receipt (ISO 8601; date, time and timezone) | [optional]
|
124
130
|
|
125
131
|
### Return type
|
126
132
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# KoronaClient::ResultListAdditionalReceiptInfoType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**current_page** | **Integer** | number of the current page, starting from 1 |
|
7
|
+
**links** | **Hash<String, String>** | navigation links (previous, self, next) |
|
8
|
+
**pages_total** | **Integer** | pages count total |
|
9
|
+
**results** | [**Array<AdditionalReceiptInfoType>**](AdditionalReceiptInfoType.md) | result list |
|
10
|
+
**results_of_page** | **Integer** | result count of the current page |
|
11
|
+
**results_total** | **Integer** | result count total |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# KoronaClient::ResultListAttendance
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**current_page** | **Integer** | number of the current page, starting from 1 |
|
7
|
+
**links** | **Hash<String, String>** | navigation links (previous, self, next) |
|
8
|
+
**pages_total** | **Integer** | pages count total |
|
9
|
+
**results** | [**Array<Attendance>**](Attendance.md) | result list |
|
10
|
+
**results_of_page** | **Integer** | result count of the current page |
|
11
|
+
**results_total** | **Integer** | result count total |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# KoronaClient::ResultListCreationTask
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**current_page** | **Integer** | number of the current page, starting from 1 |
|
7
|
+
**links** | **Hash<String, String>** | navigation links (previous, self, next) |
|
8
|
+
**pages_total** | **Integer** | pages count total |
|
9
|
+
**results** | [**Array<CreationTask>**](CreationTask.md) | result list |
|
10
|
+
**results_of_page** | **Integer** | result count of the current page |
|
11
|
+
**results_total** | **Integer** | result count total |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# KoronaClient::ResultListDeliveryNote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**current_page** | **Integer** | number of the current page, starting from 1 |
|
7
|
+
**links** | **Hash<String, String>** | navigation links (previous, self, next) |
|
8
|
+
**pages_total** | **Integer** | pages count total |
|
9
|
+
**results** | [**Array<DeliveryNote>**](DeliveryNote.md) | result list |
|
10
|
+
**results_of_page** | **Integer** | result count of the current page |
|
11
|
+
**results_total** | **Integer** | result count total |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# KoronaClient::ResultListExternalSystemCall
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**current_page** | **Integer** | number of the current page, starting from 1 |
|
7
|
+
**links** | **Hash<String, String>** | navigation links (previous, self, next) |
|
8
|
+
**pages_total** | **Integer** | pages count total |
|
9
|
+
**results** | [**Array<ExternalSystemCall>**](ExternalSystemCall.md) | result list |
|
10
|
+
**results_of_page** | **Integer** | result count of the current page |
|
11
|
+
**results_total** | **Integer** | result count total |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# KoronaClient::ResultListTicket
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**current_page** | **Integer** | number of the current page, starting from 1 |
|
7
|
+
**links** | **Hash<String, String>** | navigation links (previous, self, next) |
|
8
|
+
**pages_total** | **Integer** | pages count total |
|
9
|
+
**results** | [**Array<Ticket>**](Ticket.md) | result list |
|
10
|
+
**results_of_page** | **Integer** | result count of the current page |
|
11
|
+
**results_total** | **Integer** | result count total |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# KoronaClient::ResultListTimeTrackingEntity
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**current_page** | **Integer** | number of the current page, starting from 1 |
|
7
|
+
**links** | **Hash<String, String>** | navigation links (previous, self, next) |
|
8
|
+
**pages_total** | **Integer** | pages count total |
|
9
|
+
**results** | [**Array<TimeTrackingEntity>**](TimeTrackingEntity.md) | result list |
|
10
|
+
**results_of_page** | **Integer** | result count of the current page |
|
11
|
+
**results_total** | **Integer** | result count total |
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# KoronaClient::ResultListTimeTrackingEntry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**current_page** | **Integer** | number of the current page, starting from 1 |
|
7
|
+
**links** | **Hash<String, String>** | navigation links (previous, self, next) |
|
8
|
+
**pages_total** | **Integer** | pages count total |
|
9
|
+
**results** | [**Array<TimeTrackingEntry>**](TimeTrackingEntry.md) | result list |
|
10
|
+
**results_of_page** | **Integer** | result count of the current page |
|
11
|
+
**results_total** | **Integer** | result count total |
|
12
|
+
|
13
|
+
|
data/docs/SalesTaxesApi.md
CHANGED
@@ -4,14 +4,14 @@ All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get_sales_tax**](SalesTaxesApi.md#get_sales_tax) | **GET** /accounts/{koronaAccountId}/salesTaxes/{
|
7
|
+
[**get_sales_tax**](SalesTaxesApi.md#get_sales_tax) | **GET** /accounts/{koronaAccountId}/salesTaxes/{salesTaxId} | returns the single sales tax
|
8
8
|
[**get_sales_taxes**](SalesTaxesApi.md#get_sales_taxes) | **GET** /accounts/{koronaAccountId}/salesTaxes | lists all sales taxes
|
9
9
|
|
10
10
|
|
11
11
|
# **get_sales_tax**
|
12
|
-
> SalesTax get_sales_tax(korona_account_id,
|
12
|
+
> SalesTax get_sales_tax(korona_account_id, sales_tax_id)
|
13
13
|
|
14
|
-
|
14
|
+
returns the single sales tax
|
15
15
|
|
16
16
|
|
17
17
|
|
@@ -28,14 +28,14 @@ end
|
|
28
28
|
|
29
29
|
api_instance = KoronaClient::SalesTaxesApi.new
|
30
30
|
|
31
|
-
korona_account_id =
|
31
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
32
32
|
|
33
|
-
|
33
|
+
sales_tax_id = 'sales_tax_id_example' # String | id of the related object (important: id should match the uuid-format)
|
34
34
|
|
35
35
|
|
36
36
|
begin
|
37
|
-
#
|
38
|
-
result = api_instance.get_sales_tax(korona_account_id,
|
37
|
+
#returns the single sales tax
|
38
|
+
result = api_instance.get_sales_tax(korona_account_id, sales_tax_id)
|
39
39
|
p result
|
40
40
|
rescue KoronaClient::ApiError => e
|
41
41
|
puts "Exception when calling SalesTaxesApi->get_sales_tax: #{e}"
|
@@ -46,8 +46,8 @@ end
|
|
46
46
|
|
47
47
|
Name | Type | Description | Notes
|
48
48
|
------------- | ------------- | ------------- | -------------
|
49
|
-
**korona_account_id** | **String**| the account
|
50
|
-
**
|
49
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
50
|
+
**sales_tax_id** | **String**| id of the related object (important: id should match the uuid-format) |
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
@@ -84,14 +84,15 @@ end
|
|
84
84
|
|
85
85
|
api_instance = KoronaClient::SalesTaxesApi.new
|
86
86
|
|
87
|
-
korona_account_id =
|
87
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
88
88
|
|
89
89
|
opts = {
|
90
90
|
page: 56, # Integer | number of the page to fetch
|
91
91
|
size: 56, # Integer | amount of objects to return per page
|
92
|
-
sort:
|
92
|
+
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
93
93
|
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
94
|
-
include_deleted: true # BOOLEAN | indicates deleted objects should be loaded or not (default: false)
|
94
|
+
include_deleted: true, # BOOLEAN | indicates deleted objects should be loaded or not (default: false)
|
95
|
+
number: 'number_example' # String | number of the related object
|
95
96
|
}
|
96
97
|
|
97
98
|
begin
|
@@ -107,12 +108,13 @@ end
|
|
107
108
|
|
108
109
|
Name | Type | Description | Notes
|
109
110
|
------------- | ------------- | ------------- | -------------
|
110
|
-
**korona_account_id** | **String**| the account
|
111
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
111
112
|
**page** | **Integer**| number of the page to fetch | [optional]
|
112
113
|
**size** | **Integer**| amount of objects to return per page | [optional]
|
113
114
|
**sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
|
114
115
|
**revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
|
115
116
|
**include_deleted** | **BOOLEAN**| indicates deleted objects should be loaded or not (default: false) | [optional]
|
117
|
+
**number** | **String**| number of the related object | [optional]
|
116
118
|
|
117
119
|
### Return type
|
118
120
|
|
data/docs/Sector.md
CHANGED
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
|
|
9
9
|
**revision** | **Integer** | the revision number of the object. revision numbers are unique per object-type. there is is no object of the same type with identical revision numbers. | [optional]
|
10
10
|
**name** | **String** | | [optional]
|
11
11
|
**sales_taxes** | [**Array<SectorSalesTaxItem>**](SectorSalesTaxItem.md) | | [optional]
|
12
|
+
**revenue_accounts** | [**Array<SectorRevenueAccountItem>**](SectorRevenueAccountItem.md) | | [optional]
|
12
13
|
|
13
14
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# KoronaClient::SectorRevenueAccountItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**revenue_account** | [**ModelReference**](ModelReference.md) | | [optional]
|
7
|
+
**economic_zone** | [**ModelReference**](ModelReference.md) | | [optional]
|
8
|
+
|
9
|
+
|
data/docs/SectorsApi.md
CHANGED
@@ -4,14 +4,14 @@ All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get_sector**](SectorsApi.md#get_sector) | **GET** /accounts/{koronaAccountId}/sectors/{
|
7
|
+
[**get_sector**](SectorsApi.md#get_sector) | **GET** /accounts/{koronaAccountId}/sectors/{sectorId} | returns the single sector
|
8
8
|
[**get_sectors**](SectorsApi.md#get_sectors) | **GET** /accounts/{koronaAccountId}/sectors | lists all sectors
|
9
9
|
|
10
10
|
|
11
11
|
# **get_sector**
|
12
|
-
> Sector get_sector(korona_account_id,
|
12
|
+
> Sector get_sector(korona_account_id, sector_id)
|
13
13
|
|
14
|
-
|
14
|
+
returns the single sector
|
15
15
|
|
16
16
|
|
17
17
|
|
@@ -28,14 +28,14 @@ end
|
|
28
28
|
|
29
29
|
api_instance = KoronaClient::SectorsApi.new
|
30
30
|
|
31
|
-
korona_account_id =
|
31
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
32
32
|
|
33
|
-
|
33
|
+
sector_id = 'sector_id_example' # String | id of the related object (important: id should match the uuid-format)
|
34
34
|
|
35
35
|
|
36
36
|
begin
|
37
|
-
#
|
38
|
-
result = api_instance.get_sector(korona_account_id,
|
37
|
+
#returns the single sector
|
38
|
+
result = api_instance.get_sector(korona_account_id, sector_id)
|
39
39
|
p result
|
40
40
|
rescue KoronaClient::ApiError => e
|
41
41
|
puts "Exception when calling SectorsApi->get_sector: #{e}"
|
@@ -46,8 +46,8 @@ end
|
|
46
46
|
|
47
47
|
Name | Type | Description | Notes
|
48
48
|
------------- | ------------- | ------------- | -------------
|
49
|
-
**korona_account_id** | **String**| the account
|
50
|
-
**
|
49
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
50
|
+
**sector_id** | **String**| id of the related object (important: id should match the uuid-format) |
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
@@ -84,14 +84,15 @@ end
|
|
84
84
|
|
85
85
|
api_instance = KoronaClient::SectorsApi.new
|
86
86
|
|
87
|
-
korona_account_id =
|
87
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
88
88
|
|
89
89
|
opts = {
|
90
90
|
page: 56, # Integer | number of the page to fetch
|
91
91
|
size: 56, # Integer | amount of objects to return per page
|
92
|
-
sort:
|
92
|
+
sort: 'sort_example', # String | attribute to sort by (multiple separated by comma; max. 5)
|
93
93
|
revision: 789, # Integer | last revision number, objects with a greater revision than this will be returned
|
94
|
-
include_deleted: true # BOOLEAN | indicates deleted objects should be loaded or not (default: false)
|
94
|
+
include_deleted: true, # BOOLEAN | indicates deleted objects should be loaded or not (default: false)
|
95
|
+
number: 'number_example' # String | number of the related object
|
95
96
|
}
|
96
97
|
|
97
98
|
begin
|
@@ -107,12 +108,13 @@ end
|
|
107
108
|
|
108
109
|
Name | Type | Description | Notes
|
109
110
|
------------- | ------------- | ------------- | -------------
|
110
|
-
**korona_account_id** | **String**| the account
|
111
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
111
112
|
**page** | **Integer**| number of the page to fetch | [optional]
|
112
113
|
**size** | **Integer**| amount of objects to return per page | [optional]
|
113
114
|
**sort** | **String**| attribute to sort by (multiple separated by comma; max. 5) | [optional]
|
114
115
|
**revision** | **Integer**| last revision number, objects with a greater revision than this will be returned | [optional]
|
115
116
|
**include_deleted** | **BOOLEAN**| indicates deleted objects should be loaded or not (default: false) | [optional]
|
117
|
+
**number** | **String**| number of the related object | [optional]
|
116
118
|
|
117
119
|
### Return type
|
118
120
|
|
data/docs/Signature.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# KoronaClient::Signature
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**image** | **String** | | [optional]
|
7
|
+
**transcription** | **String** | | [optional]
|
8
|
+
**date** | **DateTime** | | [optional]
|
9
|
+
|
10
|
+
|
data/docs/StatisticsApi.md
CHANGED
@@ -4,16 +4,16 @@ All URIs are relative to *https://www.koronacloud.com/web/api/v3*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get_revenue**](StatisticsApi.md#get_revenue) | **GET** /accounts/{koronaAccountId}/statistics/revenueData |
|
8
|
-
[**get_revenue_for_customer_groups**](StatisticsApi.md#get_revenue_for_customer_groups) | **GET** /accounts/{koronaAccountId}/statistics/revenueDataForCustomerGroups |
|
9
|
-
[**get_revenue_hourly**](StatisticsApi.md#get_revenue_hourly) | **GET** /accounts/{koronaAccountId}/statistics/revenueDataHourly |
|
10
|
-
[**get_top_seller**](StatisticsApi.md#get_top_seller) | **GET** /accounts/{koronaAccountId}/statistics/topSeller |
|
7
|
+
[**get_revenue**](StatisticsApi.md#get_revenue) | **GET** /accounts/{koronaAccountId}/statistics/revenueData | returns information about the revenue in the given period
|
8
|
+
[**get_revenue_for_customer_groups**](StatisticsApi.md#get_revenue_for_customer_groups) | **GET** /accounts/{koronaAccountId}/statistics/revenueDataForCustomerGroups | returns the turnover per customer group during the given period
|
9
|
+
[**get_revenue_hourly**](StatisticsApi.md#get_revenue_hourly) | **GET** /accounts/{koronaAccountId}/statistics/revenueDataHourly | returns the turnover per hour during the given period
|
10
|
+
[**get_top_seller**](StatisticsApi.md#get_top_seller) | **GET** /accounts/{koronaAccountId}/statistics/topSeller | returns the top-seller
|
11
11
|
|
12
12
|
|
13
13
|
# **get_revenue**
|
14
14
|
> StatisticRevenueData get_revenue(korona_account_id, opts)
|
15
15
|
|
16
|
-
|
16
|
+
returns information about the revenue in the given period
|
17
17
|
|
18
18
|
|
19
19
|
|
@@ -30,15 +30,15 @@ end
|
|
30
30
|
|
31
31
|
api_instance = KoronaClient::StatisticsApi.new
|
32
32
|
|
33
|
-
korona_account_id =
|
33
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
34
34
|
|
35
35
|
opts = {
|
36
|
-
organizational_unit:
|
37
|
-
period:
|
36
|
+
organizational_unit: 'organizational_unit_example', # String | number of the organizational unit
|
37
|
+
period: 'period_example' # String | time period for comparison
|
38
38
|
}
|
39
39
|
|
40
40
|
begin
|
41
|
-
#
|
41
|
+
#returns information about the revenue in the given period
|
42
42
|
result = api_instance.get_revenue(korona_account_id, opts)
|
43
43
|
p result
|
44
44
|
rescue KoronaClient::ApiError => e
|
@@ -50,7 +50,7 @@ end
|
|
50
50
|
|
51
51
|
Name | Type | Description | Notes
|
52
52
|
------------- | ------------- | ------------- | -------------
|
53
|
-
**korona_account_id** | **String**| the account
|
53
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
54
54
|
**organizational_unit** | **String**| number of the organizational unit | [optional]
|
55
55
|
**period** | **String**| time period for comparison | [optional]
|
56
56
|
|
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
|
|
72
72
|
# **get_revenue_for_customer_groups**
|
73
73
|
> StatisticMapStringRevenueData get_revenue_for_customer_groups(korona_account_id, opts)
|
74
74
|
|
75
|
-
|
75
|
+
returns the turnover per customer group during the given period
|
76
76
|
|
77
77
|
|
78
78
|
|
@@ -89,15 +89,15 @@ end
|
|
89
89
|
|
90
90
|
api_instance = KoronaClient::StatisticsApi.new
|
91
91
|
|
92
|
-
korona_account_id =
|
92
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
93
93
|
|
94
94
|
opts = {
|
95
|
-
organizational_unit:
|
96
|
-
period:
|
95
|
+
organizational_unit: 'organizational_unit_example', # String | number of the organizational unit
|
96
|
+
period: 'period_example' # String | time period for comparison
|
97
97
|
}
|
98
98
|
|
99
99
|
begin
|
100
|
-
#
|
100
|
+
#returns the turnover per customer group during the given period
|
101
101
|
result = api_instance.get_revenue_for_customer_groups(korona_account_id, opts)
|
102
102
|
p result
|
103
103
|
rescue KoronaClient::ApiError => e
|
@@ -109,7 +109,7 @@ end
|
|
109
109
|
|
110
110
|
Name | Type | Description | Notes
|
111
111
|
------------- | ------------- | ------------- | -------------
|
112
|
-
**korona_account_id** | **String**| the account
|
112
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
113
113
|
**organizational_unit** | **String**| number of the organizational unit | [optional]
|
114
114
|
**period** | **String**| time period for comparison | [optional]
|
115
115
|
|
@@ -131,7 +131,7 @@ Name | Type | Description | Notes
|
|
131
131
|
# **get_revenue_hourly**
|
132
132
|
> StatisticMapStringRevenueData get_revenue_hourly(korona_account_id, opts)
|
133
133
|
|
134
|
-
|
134
|
+
returns the turnover per hour during the given period
|
135
135
|
|
136
136
|
|
137
137
|
|
@@ -148,15 +148,15 @@ end
|
|
148
148
|
|
149
149
|
api_instance = KoronaClient::StatisticsApi.new
|
150
150
|
|
151
|
-
korona_account_id =
|
151
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
152
152
|
|
153
153
|
opts = {
|
154
|
-
organizational_unit:
|
155
|
-
period:
|
154
|
+
organizational_unit: 'organizational_unit_example', # String | number of the organizational unit
|
155
|
+
period: 'period_example' # String | time period for comparison
|
156
156
|
}
|
157
157
|
|
158
158
|
begin
|
159
|
-
#
|
159
|
+
#returns the turnover per hour during the given period
|
160
160
|
result = api_instance.get_revenue_hourly(korona_account_id, opts)
|
161
161
|
p result
|
162
162
|
rescue KoronaClient::ApiError => e
|
@@ -168,7 +168,7 @@ end
|
|
168
168
|
|
169
169
|
Name | Type | Description | Notes
|
170
170
|
------------- | ------------- | ------------- | -------------
|
171
|
-
**korona_account_id** | **String**| the account
|
171
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
172
172
|
**organizational_unit** | **String**| number of the organizational unit | [optional]
|
173
173
|
**period** | **String**| time period for comparison | [optional]
|
174
174
|
|
@@ -190,7 +190,7 @@ Name | Type | Description | Notes
|
|
190
190
|
# **get_top_seller**
|
191
191
|
> StatisticListTopSeller get_top_seller(korona_account_id, opts)
|
192
192
|
|
193
|
-
|
193
|
+
returns the top-seller
|
194
194
|
|
195
195
|
|
196
196
|
|
@@ -207,16 +207,16 @@ end
|
|
207
207
|
|
208
208
|
api_instance = KoronaClient::StatisticsApi.new
|
209
209
|
|
210
|
-
korona_account_id =
|
210
|
+
korona_account_id = 'korona_account_id_example' # String | account id of the KORONA.cloud account
|
211
211
|
|
212
212
|
opts = {
|
213
|
-
organizational_unit:
|
214
|
-
period:
|
213
|
+
organizational_unit: 'organizational_unit_example', # String | number of the organizational unit
|
214
|
+
period: 'period_example', # String | time period for comparison
|
215
215
|
limit: 56 # Integer | maximum number of products to show
|
216
216
|
}
|
217
217
|
|
218
218
|
begin
|
219
|
-
#
|
219
|
+
#returns the top-seller
|
220
220
|
result = api_instance.get_top_seller(korona_account_id, opts)
|
221
221
|
p result
|
222
222
|
rescue KoronaClient::ApiError => e
|
@@ -228,7 +228,7 @@ end
|
|
228
228
|
|
229
229
|
Name | Type | Description | Notes
|
230
230
|
------------- | ------------- | ------------- | -------------
|
231
|
-
**korona_account_id** | **String**| the account
|
231
|
+
**korona_account_id** | **String**| account id of the KORONA.cloud account |
|
232
232
|
**organizational_unit** | **String**| number of the organizational unit | [optional]
|
233
233
|
**period** | **String**| time period for comparison | [optional]
|
234
234
|
**limit** | **Integer**| maximum number of products to show | [optional]
|