Rooms: GetRoomFieldData

Returns the field data associated with a room. This is the information that appears on the room's Details tab.

To better understand the room's field data, use the Rooms::GetRoomFieldSet method to retrieve the set of fields that the room uses.

Request

HTTP request

GET /restapi/v2/accounts/{accountId}/rooms/{roomId}/field_data

Parameters

Parameter NameValueDescription
Path Parameters
roomIdinteger

(Required) The id of the room.

accountIdstring

(Required) The id of the account.

Responses

CodeDescriptionReference
200

Field data successfully retrieved.

FieldData
400

Bad request. See ErrorCode and Message for details

ApiError
401

Not authorized to make this request.

ApiError

SDK Method

Rooms::GetRoomFieldData

Definitions

ApiError

This object describes errors that occur. It is valid only for responses and ignored in requests.

errorCodestring

The code associated with the error condition.

messagestring

A brief message describing the error condition.

FieldData

Contains the field data associated with a room.

dataobject

A data dictionary of key-value pairs that correspond to the properties of the room and their values. To view a list of the available keys, use the Fields::GetFieldSet method. In the response, the values for apiName indicate the fields or keys that you can specify in this object.

}} />