Added device type as a property of the API.

Added device type as a property of the API.

Jira issue: WP-872