# \FYIApi
All URIs are relative to *https://localhost:5000/v1/portal*
[**fyi_deliveryoptions_device_id_delete**](FYIApi.md#fyi_deliveryoptions_device_id_delete) | **Delete** /fyi/deliveryoptions/{deviceId} | delete a device
[**fyi_deliveryoptions_device_post**](FYIApi.md#fyi_deliveryoptions_device_post) | **Post** /fyi/deliveryoptions/device | enable/disable device option
[**fyi_deliveryoptions_email_put**](FYIApi.md#fyi_deliveryoptions_email_put) | **Put** /fyi/deliveryoptions/email | enable/disable email option
[**fyi_deliveryoptions_get**](FYIApi.md#fyi_deliveryoptions_get) | **Get** /fyi/deliveryoptions | Get delivery options
[**fyi_disclaimer_typecode_get**](FYIApi.md#fyi_disclaimer_typecode_get) | **Get** /fyi/disclaimer/{typecode} | get disclaimer for a certain kind of fyi
[**fyi_disclaimer_typecode_put**](FYIApi.md#fyi_disclaimer_typecode_put) | **Put** /fyi/disclaimer/{typecode} | mark disclaimer read
[**fyi_notifications_get**](FYIApi.md#fyi_notifications_get) | **Get** /fyi/notifications | Get a list of notifications
[**fyi_notifications_more_get**](FYIApi.md#fyi_notifications_more_get) | **Get** /fyi/notifications/more | Get more notifications based on a certain one
[**fyi_notifications_notification_id_put**](FYIApi.md#fyi_notifications_notification_id_put) | **Put** /fyi/notifications/{notificationId} | Get a list of notifications
[**fyi_settings_get**](FYIApi.md#fyi_settings_get) | **Get** /fyi/settings | Get a list of subscriptions
[**fyi_settings_typecode_post**](FYIApi.md#fyi_settings_typecode_post) | **Post** /fyi/settings/{typecode} | enable/disable certain subscription
[**fyi_unreadnumber_get**](FYIApi.md#fyi_unreadnumber_get) | **Get** /fyi/unreadnumber | Get unread number of fyis
# **fyi_deliveryoptions_device_id_delete**
> Value fyi_deliveryoptions_device_id_delete(device_id)
delete a device
### Required Parameters
**device_id** | **String**| device ID |
### Return type
[**Value**](Value.md)
### Authorization
No authorization required
### 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)
# **fyi_deliveryoptions_device_post**
> ::models::InlineResponse20019 fyi_deliveryoptions_device_post(body)
enable/disable device option
### Required Parameters
**body** | [**Body6**](Body6.md)| device info |
### Return type
[**::models::InlineResponse20019**](inline_response_200_19.md)
### Authorization
No authorization required
### 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)
# **fyi_deliveryoptions_email_put**
> ::models::InlineResponse20019 fyi_deliveryoptions_email_put(enabled)
enable/disable email option
### Required Parameters
**enabled** | **String**| true/false |
### Return type
[**::models::InlineResponse20019**](inline_response_200_19.md)
### Authorization
No authorization required
### 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)
# **fyi_deliveryoptions_get**
> ::models::InlineResponse20020 fyi_deliveryoptions_get()
Get delivery options
options for sending fyis to email and other devices
### Required Parameters
This endpoint does not need any parameter.
### Return type
[**::models::InlineResponse20020**](inline_response_200_20.md)
### Authorization
No authorization required
### 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)
# **fyi_disclaimer_typecode_get**
> ::models::InlineResponse20018 fyi_disclaimer_typecode_get(typecode)
get disclaimer for a certain kind of fyi
### Required Parameters
**typecode** | **String**| fyi code, for example --M8, EA |
### Return type
[**::models::InlineResponse20018**](inline_response_200_18.md)
### Authorization
No authorization required
### 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)
# **fyi_disclaimer_typecode_put**
> ::models::InlineResponse20019 fyi_disclaimer_typecode_put(typecode)
mark disclaimer read
### Required Parameters
**typecode** | **String**| fyi code, for example --M8, EA |
### Return type
[**::models::InlineResponse20019**](inline_response_200_19.md)
### Authorization
No authorization required
### 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)
# **fyi_notifications_get**
> ::models::Notifications fyi_notifications_get(max, optional)
Get a list of notifications
### Required Parameters
**max** | **String**| max number of fyis in response |
**optional** | **map[string]interface{}** | optional parameters | nil if no parameters
### Optional Parameters
Optional parameters are passed through a map[string]interface{}.
**max** | **String**| max number of fyis in response |
**exclude** | **String**| if set, don't set include |
**include** | **String**| if set, don't set exclude |
### Return type
[**::models::Notifications**](notifications.md)
### Authorization
No authorization required
### 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)
# **fyi_notifications_more_get**
> ::models::Notifications fyi_notifications_more_get(id)
Get more notifications based on a certain one
### Required Parameters
**id** | **String**| id of last notification in the list |
### Return type
[**::models::Notifications**](notifications.md)
### Authorization
No authorization required
### 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)
# **fyi_notifications_notification_id_put**
> Value fyi_notifications_notification_id_put(notification_id)
Get a list of notifications
### Required Parameters
**notification_id** | **String**| mark a notification read |
### Return type
[**Value**](Value.md)
### Authorization
No authorization required
### 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)
# **fyi_settings_get**
> Vec<::models::InlineResponse20017> fyi_settings_get()
Get a list of subscriptions
return the current choices of subscriptions, we can toggle the option
### Required Parameters
This endpoint does not need any parameter.
### Return type
[**Vec<::models::InlineResponse20017>**](inline_response_200_17.md)
### Authorization
No authorization required
### 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)
# **fyi_settings_typecode_post**
> Value fyi_settings_typecode_post(typecode, body)
enable/disable certain subscription
### Required Parameters
**typecode** | **String**| fyi code |
**body** | [**Body5**](Body5.md)| |
### Return type
[**Value**](Value.md)
### Authorization
No authorization required
### 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)
# **fyi_unreadnumber_get**
> ::models::InlineResponse20016 fyi_unreadnumber_get()
Get unread number of fyis
### Required Parameters
This endpoint does not need any parameter.
### Return type
[**::models::InlineResponse20016**](inline_response_200_16.md)
### Authorization
No authorization required
### 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)