GET api/Chat/ListaSala

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Rooms
NameDescriptionTypeAdditional information
Nome

string

None.

Publica

boolean

None.

Foto

string

None.

Adm

User

None.

TipoSala

integer

None.

GabineteID

integer

None.

DeputadoID

integer

None.

Mensagens

Collection of Mensagens

None.

ID

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ChatFidelity.Models.Rooms'. Path '[0].Adm.Salas'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ChatFidelity.Models.Rooms'. Path '[0].Adm.Salas'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: O gráfico de objeto para o tipo 'System.Collections.Generic.List`1[[ChatFidelity.Models.Mensagens, ChatFidelity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contém ciclos e não pode ser serializado se o controle de referência for desativado.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: O gráfico de objeto para o tipo 'System.Collections.Generic.List`1[[ChatFidelity.Models.Mensagens, ChatFidelity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contém ciclos e não pode ser serializado se o controle de referência for desativado.