POST api/Chat/AddChatGroupAllUserAdd
Request Information
URI Parameters
None.
Body Parameters
ChatAllUserGroupAddRMName | Description | Type | Additional information |
---|---|---|---|
GroupId | integer |
None. |
|
userId | integer |
None. |
|
userType | integer |
None. |
|
ChatUserIds | string |
None. |
|
vmid | string |
None. |
|
APIToken | string |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{ "groupId": 1, "userId": 1, "userType": 1, "chatUserIds": "sample string 1", "vmid": "sample string 2", "apiToken": "sample string 3" }
application/xml, text/xml
Sample:
<ChatAllUserGroupAddRM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"> <APIToken>sample string 3</APIToken> <ChatUserIds>sample string 1</ChatUserIds> <GroupId>1</GroupId> <userId>1</userId> <userType>1</userType> <vmid>sample string 2</vmid> </ChatAllUserGroupAddRM>
multipart/form-data
Sample:
<ChatAllUserGroupAddRM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><APIToken>sample string 3</APIToken><ChatUserIds>sample string 1</ChatUserIds><GroupId>1</GroupId><userId>1</userId><userType>1</userType><vmid>sample string 2</vmid></ChatAllUserGroupAddRM>
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>