~~NOTOC~~
====== REST ======
This API provides applications the ability to query and manage services available on the DuVoice system. The API is a collection of HTTP methods, all with URLs in the form **//http://:10022/rest/RESOURCE//**.
This interface uses standard HTTP protocol and schemes in order to be used by the widest number of software languages and computer systems. It's been used by both C++, Python and PHP interfaces equally well.
A //resource// is defined as either a specific feature set or physical resource on the system. For example the [[dev:rest:v2:system|system]] resource provides information about the local server including date, time, licensed features and product version details.
The mailbox is the basic unit for managing subscribers, guest rooms and system (auto attendant) menus within the DuVoice system. In cases of hospitality systems the mailbox number is typically configured to match the room number. In some cases it's configured as the primary extension number.
Version 2 will be **deprecated** with DV2000 8.1 for an updated version with more resources available. Version 3 of the REST API will be included in a future version of 8.0 in order to make the transition to 8.1 easier. \\ A release date for version 3 is not currently scheduled.
===== Internet Access =====
DuVoice does not recommend exposing the system directly to the internet. It should only be accessible via the local network or exposed via a firewall with rules which limit what machines or networks can access it.
===== Features =====
* Wakeup call management.
* Mailbox management.
* User accounts.
* IVR integration
* Room Status
* Inventory (minibar).
* Message Delivery.
* Emergency Alerts.