POST api/v1/chatv1/GetChatSocket

Request Information

URI Parameters

None.

Body Parameters

GetChatSocketDto
NameDescriptionTypeAdditional information
SenderId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SenderId": 1
}

application/xml, text/xml

Sample:
<GetChatSocketDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Activity.Chat">
  <SenderId>1</SenderId>
</GetChatSocketDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetChatSocketResultDto
NameDescriptionTypeAdditional information
WsUrl

string

None.

SenderId

integer

None.

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<GetChatSocketResultDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WsUrl>sample string 1</WsUrl>
  <SenderId>2</SenderId>
</GetChatSocketResultDto>

text/json

Sample:
{
  "WsUrl": "sample string 1",
  "SenderId": 2
}

text/xml

Sample:
<GetChatSocketResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Activity.Chat">
  <SenderId>2</SenderId>
  <WsUrl>sample string 1</WsUrl>
</GetChatSocketResultDto>