POST api/DataApi/AddUsers?apiKey={apiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

Body Parameters

Collection of UserInfo
NameDescriptionTypeAdditional information
Id

string

None.

UserId

integer

None.

Password

string

None.

Mobile

string

None.

Name

string

None.

Sex

string

None.

Avanta

string

None.

Address

string

None.

Contact

string

None.

Contact_mobile

string

None.

Token

string

None.

Marital_status

string

None.

Skin

string

None.

Version

string

None.

HaveCamera

boolean

None.

HaveMicrophone

boolean

None.

HaveSpeaker

boolean

None.

HaveUnreadMessage

boolean

None.

IsOnline

boolean

None.

RoomId

string

None.

RoomName

string

None.

ChatMemberId

string

None.

LastOnline

date

None.

LastActive

date

None.

OnlineTime

decimal number

None.

IsPushingCamera

boolean

None.

IsPushingDeskTop

boolean

None.

PushUrl

string

None.

PushUrl_Win

string

None.

Play_Win

string

None.

VoiceOpen

boolean

None.

VideoOpen

boolean

None.

RoomOnlieRecord

OnlineRecord

None.

Friends

Collection of UserInfo

None.

Sessions

Collection of ChatSession

None.

Projects

Collection of Project

None.

Companies

Collection of Company

None.

Request 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 'RTMDesktop.Data.UserInfo'. Path '[0].Friends'.

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 'RTMDesktop.Data.UserInfo'. Path '[0].Friends'.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
Sucess

boolean

None.

Message

string

None.

Data

boolean

None.

DueTime

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucess": true,
  "Message": "sample string 2",
  "Data": true,
  "DueTime": 4.1
}