GET /gui_app_framework/applications/{application_id}/host_type

Retrieve a host type.

Retrieve a host type.

Table 1. GET /gui_app_framework/applications/{application_id}/host_type resource details
MIME Type

application/json

Table 2. GET /gui_app_framework/applications/{application_id}/host_type request parameter details
Parameter Type Optionality Data Type MIME Type Description

application_id

path

Required

Number (Integer)

text/plain

Required - The application instance identifier.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /gui_app_framework/applications/{application_id}/host_type response codes
HTTP Response Code Unique Code Description

200

Application list was retrieved.

404

1002

The application instance identifier could not be found.

409

33700

The application framework is currently disabled.

500

1020

The request could not be completed.

Response Description

Host type details:
  • id - Long - Host type identifier.
  • name - String - The name of the host type.
  • managed_host_id - Long - The id of the managed host the application is running on.

Response Sample


{
    "id": 42,
    "managed_host_id": 42,
    "name": "String"
}