POST api/InitGroupChat_B2B_Details
app端发送消息 根据传入群聊是否被创建标识
Request Information
URI Parameters
None.
Body Parameters
ChatBoxParams| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleType |
角色 类型 0 客户 1 客服 2 采购 3 供应商 |
integer |
None. |
| orderID |
订单号 |
string |
None. |
| OrderDetailsIDX |
订单明细id |
integer |
None. |
| CusCompanyName |
客户名称 |
string |
None. |
| SellCompanyName |
供应商名称 |
string |
None. |
| IsRongGroup |
是否创建融云群聊 |
integer |
None. |
| GroupID |
群组id |
string |
None. |
| fromUserID |
B2B端登录账户 |
integer |
None. |
| DeleCompanyID |
B2B端登录账户 代理公司 |
integer |
None. |
| SourceOrderID |
来源订单 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RoleType": 1,
"orderID": "sample string 2",
"OrderDetailsIDX": 3,
"CusCompanyName": "sample string 4",
"SellCompanyName": "sample string 5",
"IsRongGroup": 6,
"GroupID": "sample string 7",
"fromUserID": 8,
"DeleCompanyID": 9,
"SourceOrderID": "sample string 10"
}
application/xml, text/xml
Sample:
<ChatBoxParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Models.IMOnlien"> <CusCompanyName>sample string 4</CusCompanyName> <DeleCompanyID>9</DeleCompanyID> <GroupID>sample string 7</GroupID> <IsRongGroup>6</IsRongGroup> <OrderDetailsIDX>3</OrderDetailsIDX> <RoleType>1</RoleType> <SellCompanyName>sample string 5</SellCompanyName> <SourceOrderID>sample string 10</SourceOrderID> <fromUserID>8</fromUserID> <orderID>sample string 2</orderID> </ChatBoxParams>
Response Information
Resource Description
app端发送消息 根据传入群聊是否被创建标识
ApiRet| Name | Description | Type | Additional information |
|---|---|---|---|
| RetCode |
状态码 |
string |
None. |
| RetMsg |
状态描述 |
string |
None. |
| Message |
数据实体 |
Object |
None. |
| Total |
查询结果所有页的总条数 |
integer |
None. |
| TotalPage |
总页数 |
integer |
None. |
| Redirect |
需重定向的地址 |
string |
None. |
| FieldStr |
列表字段管理 |
Object |
None. |
| CurrentTime |
当前时间 |
date |
None. |
| IDX |
主键 |
integer |
None. |
| DelFlag |
删除标识 0未删除 1:已删除 |
integer |
None. |
| PageIndex |
列表请求参数 |
integer |
None. |
| PageSize |
列表请求参数 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"RetCode": "sample string 1",
"RetMsg": "sample string 2",
"Message": {},
"Total": 4,
"TotalPage": 5,
"Redirect": "sample string 6",
"FieldStr": {},
"CurrentTime": "2026-04-05 22:39:11",
"IDX": 9,
"DelFlag": 10,
"PageIndex": 11,
"PageSize": 12
}
application/xml, text/xml
Sample:
<ApiRet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Models.Common"> <_x003C_DelFlag_x003E_k__BackingField>10</_x003C_DelFlag_x003E_k__BackingField> <_x003C_IDX_x003E_k__BackingField>9</_x003C_IDX_x003E_k__BackingField> <_x003C_PageIndex_x003E_k__BackingField>11</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>12</_x003C_PageSize_x003E_k__BackingField> <CurrentTime>2026-04-05T22:39:11.1834779+08:00</CurrentTime> <FieldStr /> <Message /> <Redirect>sample string 6</Redirect> <RetCode>sample string 1</RetCode> <RetMsg>sample string 2</RetMsg> <Total>4</Total> <TotalPage>5</TotalPage> </ApiRet>