# VmosoApi.FavoriteApi

All URIs are relative to *https://www.vmoso.com/svc*

Method | HTTP request | Description
------------- | ------------- | -------------
[**markFavorites**](FavoriteApi.md#markFavorites) | **POST** /favorites | 


<a name="markFavorites"></a>
# **markFavorites**
> MarkFavoritesResult markFavorites(input)



Use this API to mark items as a favorite.

### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.FavoriteApi()

var input = new VmosoApi.MarkFavoritesInput(); // {MarkFavoritesInput} Items to mark as favorite.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.markFavorites(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**MarkFavoritesInput**](MarkFavoritesInput.md)| Items to mark as favorite. | 

### Return type

[**MarkFavoritesResult**](MarkFavoritesResult.md)

### Authorization

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

### HTTP reuqest headers

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

