kimai_client_lib 1.0.0

JSON API for the Kimai time-tracking software. Read our [API documentation](https://www.kimai.org/documentation/rest-api.html) and download the [Open API definition](doc.json) to import into your API client.
Documentation
# \KioskApi

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_api_kiosk_get_userauth_by_user**]KioskApi.md#get_api_kiosk_get_userauth_by_user | **GET** /api/kiosk/codes/{id} | Returns one UserAuthCodes entity
[**get_api_kiosk_get_userauths**]KioskApi.md#get_api_kiosk_get_userauths | **GET** /api/kiosk/codes | Returns a collection of UserAuthCodes objects



## get_api_kiosk_get_userauth_by_user

> models::UserAuthCodes get_api_kiosk_get_userauth_by_user(id)
Returns one UserAuthCodes entity

Creates the code for the configured default type (if not yet existing).

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **String** | User ID to fetch | [required] |

### Return type

[**models::UserAuthCodes**](UserAuthCodes.md)

### Authorization

[bearer](../README.md#bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_api_kiosk_get_userauths

> Vec<models::UserAuthCodes> get_api_kiosk_get_userauths(order_by, order, page, size)
Returns a collection of UserAuthCodes objects

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**order_by** | Option<**String**> | The field by which results will be ordered. Allowed values: id, user, type, code (default: id) |  |
**order** | Option<**String**> | The result order. Allowed values: ASC, DESC (default: DESC) |  |
**page** | Option<**String**> | The page to display, renders a 404 if not found (default: 1) |  |
**size** | Option<**String**> | The amount of entries for each page (default: 50) |  |

### Return type

[**Vec<models::UserAuthCodes>**](UserAuthCodes.md)

### Authorization

[bearer](../README.md#bearer)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)