POST api/RoomManager/SaveSessionUsers

Request Information

URI Parameters

None.

Body Parameters

Collection of SessionUsers
NameDescriptionTypeAdditional information
Id

string

None.

SessionId

integer

None.

UserId

integer

None.

Name

string

None.

FromCompany

boolean

None.

FromProject

boolean

None.

IsAdmin

boolean

None.

InSpeakerOrder

boolean

None.

IsSpeaking

boolean

None.

EnterTime

date

None.

MicOrder

integer

None.

SpeakStartDate

date

None.

SpeakTimeLength

integer

None.

SpeakTimeLeft

integer

None.

Mute

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "SessionId": 2,
    "UserId": 1,
    "Name": "sample string 3",
    "FromCompany": true,
    "FromProject": true,
    "IsAdmin": true,
    "InSpeakerOrder": true,
    "IsSpeaking": true,
    "EnterTime": "2022-01-20T05:39:48.6364868+08:00",
    "MicOrder": 1,
    "SpeakStartDate": "2022-01-20T05:39:48.6364868+08:00",
    "SpeakTimeLength": 1,
    "SpeakTimeLeft": 1,
    "Mute": true
  },
  {
    "Id": "sample string 1",
    "SessionId": 2,
    "UserId": 1,
    "Name": "sample string 3",
    "FromCompany": true,
    "FromProject": true,
    "IsAdmin": true,
    "InSpeakerOrder": true,
    "IsSpeaking": true,
    "EnterTime": "2022-01-20T05:39:48.6364868+08:00",
    "MicOrder": 1,
    "SpeakStartDate": "2022-01-20T05:39:48.6364868+08:00",
    "SpeakTimeLength": 1,
    "SpeakTimeLeft": 1,
    "Mute": true
  }
]

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.

Response Formats

application/json, text/json

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