# OmsorgCoreClient\FacilityQualificationRatesApi

All URIs are relative to http://localhost, except if the operation defines another base path.

| Method | HTTP request | Description |
| ------------- | ------------- | ------------- |
| [**apiFacilitiesFacilityIdQualificationRatesGet()**](FacilityQualificationRatesApi.md#apiFacilitiesFacilityIdQualificationRatesGet) | **GET** /api/facilities/{facilityId}/qualification-rates |  |
| [**apiFacilitiesFacilityIdQualificationRatesIdDelete()**](FacilityQualificationRatesApi.md#apiFacilitiesFacilityIdQualificationRatesIdDelete) | **DELETE** /api/facilities/{facilityId}/qualification-rates/{id} |  |
| [**apiFacilitiesFacilityIdQualificationRatesIdPut()**](FacilityQualificationRatesApi.md#apiFacilitiesFacilityIdQualificationRatesIdPut) | **PUT** /api/facilities/{facilityId}/qualification-rates/{id} |  |
| [**apiFacilitiesFacilityIdQualificationRatesPost()**](FacilityQualificationRatesApi.md#apiFacilitiesFacilityIdQualificationRatesPost) | **POST** /api/facilities/{facilityId}/qualification-rates |  |


## `apiFacilitiesFacilityIdQualificationRatesGet()`

```php
apiFacilitiesFacilityIdQualificationRatesGet($facility_id): \OmsorgCoreClient\Model\FacilityQualificationRateResponse[]
```



### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\FacilityQualificationRatesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$facility_id = 'facility_id_example'; // string

try {
    $result = $apiInstance->apiFacilitiesFacilityIdQualificationRatesGet($facility_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FacilityQualificationRatesApi->apiFacilitiesFacilityIdQualificationRatesGet: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**|  | |

### Return type

[**\OmsorgCoreClient\Model\FacilityQualificationRateResponse[]**](../Model/FacilityQualificationRateResponse.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `text/plain`, `application/json`, `text/json`

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

## `apiFacilitiesFacilityIdQualificationRatesIdDelete()`

```php
apiFacilitiesFacilityIdQualificationRatesIdDelete($facility_id, $id)
```



### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\FacilityQualificationRatesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$facility_id = 'facility_id_example'; // string
$id = 'id_example'; // string

try {
    $apiInstance->apiFacilitiesFacilityIdQualificationRatesIdDelete($facility_id, $id);
} catch (Exception $e) {
    echo 'Exception when calling FacilityQualificationRatesApi->apiFacilitiesFacilityIdQualificationRatesIdDelete: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**|  | |
| **id** | **string**|  | |

### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

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

## `apiFacilitiesFacilityIdQualificationRatesIdPut()`

```php
apiFacilitiesFacilityIdQualificationRatesIdPut($facility_id, $id, $update_facility_qualification_rate_request): \OmsorgCoreClient\Model\FacilityQualificationRateResponse
```



### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\FacilityQualificationRatesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$facility_id = 'facility_id_example'; // string
$id = 'id_example'; // string
$update_facility_qualification_rate_request = new \OmsorgCoreClient\Model\UpdateFacilityQualificationRateRequest(); // \OmsorgCoreClient\Model\UpdateFacilityQualificationRateRequest

try {
    $result = $apiInstance->apiFacilitiesFacilityIdQualificationRatesIdPut($facility_id, $id, $update_facility_qualification_rate_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FacilityQualificationRatesApi->apiFacilitiesFacilityIdQualificationRatesIdPut: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**|  | |
| **id** | **string**|  | |
| **update_facility_qualification_rate_request** | [**\OmsorgCoreClient\Model\UpdateFacilityQualificationRateRequest**](../Model/UpdateFacilityQualificationRateRequest.md)|  | [optional] |

### Return type

[**\OmsorgCoreClient\Model\FacilityQualificationRateResponse**](../Model/FacilityQualificationRateResponse.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`

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

## `apiFacilitiesFacilityIdQualificationRatesPost()`

```php
apiFacilitiesFacilityIdQualificationRatesPost($facility_id, $create_facility_qualification_rate_request): \OmsorgCoreClient\Model\FacilityQualificationRateResponse
```



### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');


// Configure Bearer (JWT) authorization: Bearer
$config = OmsorgCoreClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new OmsorgCoreClient\Api\FacilityQualificationRatesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$facility_id = 'facility_id_example'; // string
$create_facility_qualification_rate_request = new \OmsorgCoreClient\Model\CreateFacilityQualificationRateRequest(); // \OmsorgCoreClient\Model\CreateFacilityQualificationRateRequest

try {
    $result = $apiInstance->apiFacilitiesFacilityIdQualificationRatesPost($facility_id, $create_facility_qualification_rate_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FacilityQualificationRatesApi->apiFacilitiesFacilityIdQualificationRatesPost: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

| Name | Type | Description  | Notes |
| ------------- | ------------- | ------------- | ------------- |
| **facility_id** | **string**|  | |
| **create_facility_qualification_rate_request** | [**\OmsorgCoreClient\Model\CreateFacilityQualificationRateRequest**](../Model/CreateFacilityQualificationRateRequest.md)|  | [optional] |

### Return type

[**\OmsorgCoreClient\Model\FacilityQualificationRateResponse**](../Model/FacilityQualificationRateResponse.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: `application/json`, `text/json`, `application/*+json`
- **Accept**: `text/plain`, `application/json`, `text/json`

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