GET api/Chat/sala?userID={userID}&gabineteID={gabineteID}&deputadoID={deputadoID}&returnMsg={returnMsg}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

integer

Required

gabineteID

integer

Required

deputadoID

integer

Default value is 0

returnMsg

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

Collection of MensagemSimple
NameDescriptionTypeAdditional information
MsgId

integer

None.

Tipo

integer

None.

FileName

string

None.

UsuarioIntranetId

string

None.

DataMsg

date

None.

Mensagem

string

None.

SalaId

integer

None.

UserId

integer

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MsgId": 1,
    "Tipo": 2,
    "FileName": "sample string 3",
    "UsuarioIntranetId": "sample string 4",
    "DataMsg": "2019-12-12T20:38:51.1500692-04:00",
    "Mensagem": "sample string 6",
    "SalaId": 7,
    "UserId": 8,
    "UserName": "sample string 9"
  },
  {
    "MsgId": 1,
    "Tipo": 2,
    "FileName": "sample string 3",
    "UsuarioIntranetId": "sample string 4",
    "DataMsg": "2019-12-12T20:38:51.1500692-04:00",
    "Mensagem": "sample string 6",
    "SalaId": 7,
    "UserId": 8,
    "UserName": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMensagemSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <MensagemSimple>
    <DataMsg>2019-12-12T20:38:51.1500692-04:00</DataMsg>
    <FileName>sample string 3</FileName>
    <Mensagem>sample string 6</Mensagem>
    <MsgId>1</MsgId>
    <SalaId>7</SalaId>
    <Tipo>2</Tipo>
    <UserId>8</UserId>
    <UserName>sample string 9</UserName>
    <UsuarioIntranetId>sample string 4</UsuarioIntranetId>
  </MensagemSimple>
  <MensagemSimple>
    <DataMsg>2019-12-12T20:38:51.1500692-04:00</DataMsg>
    <FileName>sample string 3</FileName>
    <Mensagem>sample string 6</Mensagem>
    <MsgId>1</MsgId>
    <SalaId>7</SalaId>
    <Tipo>2</Tipo>
    <UserId>8</UserId>
    <UserName>sample string 9</UserName>
    <UsuarioIntranetId>sample string 4</UsuarioIntranetId>
  </MensagemSimple>
</ArrayOfMensagemSimple>