POST api/YjlRemoteRcp/SetRcpUserCallInfo
设置视频通话信息
Request Information
URI Parameters
None.
Body Parameters
RcpUserVideoCallInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Desc: Default: Nullable:False |
integer |
None. |
| MasterId |
Desc:主呼叫端用户ID Default: Nullable:True |
integer |
None. |
| ClientId |
Desc:响应端用户ID Default: Nullable:True |
string |
None. |
| CallState |
Desc:呼叫状态0:未呼叫 1:正在呼叫 2:正在通话中 Default:0 Nullable:True |
integer |
None. |
| RoomNo |
Desc:视频通话房间号 Default: Nullable:True |
string |
None. |
| MasterType |
Desc:主呼叫用户类型 1:医生 2:药师 Default:1 Nullable:False |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"MasterId": 1,
"ClientId": "sample string 2",
"CallState": 1,
"RoomNo": "sample string 3",
"MasterType": 4
}
application/xml, text/xml
Sample:
<RcpUserVideoCallInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YCloud.Rcp.Entity.RcpWeb"> <CallState>1</CallState> <ClientId>sample string 2</ClientId> <Id>1</Id> <MasterId>1</MasterId> <MasterType>4</MasterType> <RoomNo>sample string 3</RoomNo> </RcpUserVideoCallInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
设置视频通话信息
ResponseModelOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| rows | boolean |
None. |
|
| total | integer |
None. |
|
| errorMsg | string |
None. |
|
| errorCode | string |
None. |
|
| records | integer |
None. |
|
| page | integer |
None. |
|
| extend | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"rows": true,
"total": 2,
"errorMsg": "sample string 3",
"errorCode": "sample string 4",
"records": 5,
"page": 1,
"extend": {}
}
application/xml, text/xml
Sample:
<ResponseModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YCloud.Rcp.Entity.WebResponse"> <errorCode>sample string 4</errorCode> <errorMsg>sample string 3</errorMsg> <extend /> <page>1</page> <records>5</records> <rows>true</rows> <total>2</total> </ResponseModelOfboolean>