GET api/consumer/v1/users/chats
Get all user's chats
Request Information
URI Parameters
None
Body Parameters
None
Response Information
Resource Description
The chats
Collection of ChatDtoName | Description | Type | Additional information |
---|---|---|---|
EntityId |
Id of the entity |
integer |
None |
EntityType |
Entity type |
VisibilityEntityType |
None |
EntityDescription |
Subject / Description of the chat |
string |
None |
Owner |
The owner of the chat |
UserMinDto |
None |
LastMessage |
Date of the last message |
DateDto |
None |
IsArchived |
Yes if the chat is archived |
boolean |
None |
Permissions |
Permissions |
PermissionDto |
None |
Response Formats
application/json, text/json
Sample:
[ { "EntityId": 1, "EntityType": 100, "EntityDescription": "sample string 2", "Owner": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "LastMessage": null, "IsArchived": true, "Permissions": { "CanModify": true, "CanDelete": true } }, { "EntityId": 1, "EntityType": 100, "EntityDescription": "sample string 2", "Owner": { "Login": "sample string 1", "FullName": "sample string 2", "Avatar": "sample string 3", "Id": 4 }, "LastMessage": null, "IsArchived": true, "Permissions": { "CanModify": true, "CanDelete": true } } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.