POST api/Chat/AddChatGroupUserAdd
Request Information
URI Parameters
None.
Body Parameters
ChatUserGroupAddRMName | Description | Type | Additional information |
---|---|---|---|
GroupId | integer |
None. |
|
userId | integer |
None. |
|
userType | integer |
None. |
|
ChatUserId | integer |
None. |
|
ChatUserType | integer |
None. |
|
APIToken | string |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{ "groupId": 1, "userId": 1, "userType": 1, "chatUserId": 1, "chatUserType": 1, "apiToken": "sample string 1" }
application/xml, text/xml
Sample:
<ChatUserGroupAddRM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"> <APIToken>sample string 1</APIToken> <ChatUserId>1</ChatUserId> <ChatUserType>1</ChatUserType> <GroupId>1</GroupId> <userId>1</userId> <userType>1</userType> </ChatUserGroupAddRM>
multipart/form-data
Sample:
<ChatUserGroupAddRM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><APIToken>sample string 1</APIToken><ChatUserId>1</ChatUserId><ChatUserType>1</ChatUserType><GroupId>1</GroupId><userId>1</userId><userType>1</userType></ChatUserGroupAddRM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ChatSuccessMessageName | Description | Type | Additional information |
---|---|---|---|
ReturnId | integer |
None. |
|
MessageCode | string |
None. |
|
Message | string |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{ "returnId": 1, "messageCode": "sample string 2", "message": "sample string 3", "status": true }
application/xml, text/xml
Sample:
<ChatSuccessMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"> <Message>sample string 3</Message> <MessageCode>sample string 2</MessageCode> <ReturnId>1</ReturnId> <Status>true</Status> </ChatSuccessMessage>
multipart/form-data
Sample:
<ChatSuccessMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Message>sample string 3</Message><MessageCode>sample string 2</MessageCode><ReturnId>1</ReturnId><Status>true</Status></ChatSuccessMessage>