GET api/VenueChatSendbird/FindUser?username={username}&venueId={venueId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

venueId

integer

Required

Body Parameters

None.

Response Information

Resource Description

AccountChatView
NameDescriptionTypeAdditional information
userid

string

None.

nickname

string

None.

venueprovider

string

None.

MetadataChatViews

Collection of MetadataChatView

None.

code

integer

None.

error

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "userid": "sample string 1",
  "nickname": "sample string 2",
  "venueprovider": "sample string 3",
  "metadataChatViews": [
    {
      "userrole": "sample string 1",
      "venueid": "sample string 2",
      "email": "sample string 3"
    },
    {
      "userrole": "sample string 1",
      "venueid": "sample string 2",
      "email": "sample string 3"
    }
  ],
  "code": 4,
  "error": true,
  "message": "sample string 6"
}

text/html

Sample:
{"userid":"sample string 1","nickname":"sample string 2","venueprovider":"sample string 3","metadataChatViews":[{"userrole":"sample string 1","venueid":"sample string 2","email":"sample string 3"},{"userrole":"sample string 1","venueid":"sample string 2","email":"sample string 3"}],"code":4,"error":true,"message":"sample string 6"}

application/xml, text/xml

Sample:
<AccountChatView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Models.Api">
  <MetadataChatViews>
    <MetadataChatView>
      <email>sample string 3</email>
      <userrole>sample string 1</userrole>
      <venueid>sample string 2</venueid>
    </MetadataChatView>
    <MetadataChatView>
      <email>sample string 3</email>
      <userrole>sample string 1</userrole>
      <venueid>sample string 2</venueid>
    </MetadataChatView>
  </MetadataChatViews>
  <code>4</code>
  <error>true</error>
  <message>sample string 6</message>
  <nickname>sample string 2</nickname>
  <userid>sample string 1</userid>
  <venueprovider>sample string 3</venueprovider>
</AccountChatView>