Dé beste software voor kwaliteits- en risicomanagement.

My favorites

Any user can mark documents (from the document management module) as a personal favorite. Favorites can be managed via the “Favorites” widget on the portal homepages in Zenya, or via the API.

Available API’s

A REST API is available for the retrieval of a list of favorites for the logged on user. For each favorite, an information object is returned which can be used to redirect the user to the iProva screen which allows him to view the content marked as favorite. The API also supports creating, updating, reordering and deleting the favorites.

An older API based on WCF is also still available for retrieval of favorites, but this API is deprecated and will loose support in Q2 2022.

REST API
WCF API

Use the favorites route in the REST API to accomplish the scenario’s listed below:

  • Retrieve the list of favorites for a user
  • Create new favorite
  • Remove a favorite
  • Alter the text or order of a favorite

General API usage information
Overview of important information for consumers of the Zenya REST API, with topics like versioning, verbs, status codes, authentication and error handling.

Change log
Overview of changes and announced deprecations regarding the Zenya REST API.

Examples
Our code samples on GitHub show you how to get started with the Zenya REST API.

API Reference 
A detailed reference for this API is provided in Swagger format.

Please note that the Swagger reference is also present in each customer’s Zenya tenant. You can find it by adding /api to the URL of the customer’s Zenya tenant. For example: https://organisation.zenya.work/api

In order to interact with the Swagger reference, you need to access the Swagger in the customer’s Zenya, and you need valid credentials for the customer’s Zenya.

The WCF API for My Favorites can be used to accomplish the scenario’s listed below:

  • Retrieve the list of favorites for a user
  • Remove a favorite

This API is deprecated and is planned for removal in Q2 2022. Use the REST API instead.

General API usage information
Overview of important information for consumers of the Zenya WCF API, with topics like authentication.

Change log
Overview of changes and announced deprecations regarding this API.

API Reference
A detailed reference for this API is provided in PDF format.