Bridge

<back to all web services

EnquiryChatUnreadMessagesForEntityContact

Chats
The following routes are available for this service:
GET/Chats/Unread-Messages-For-Entity-Contact
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Bridge.Private.Api.DTO
Imports Bridge.Core.ViewModels

Namespace Global

    Namespace Bridge.Core.ViewModels

        Public Partial Class UnreadMessagesForEntityContactViewModel
            Public Overridable Property UnreadMessagesForEntityContact As Integer
            Public Overridable Property ChattingWithEntityContactGuid As Guid
            Public Overridable Property ChattingWithEntityContactImageGuid As Guid
        End Class
    End Namespace

    Namespace Bridge.Private.Api.DTO

        Public Partial Class EnquiryChatUnreadMessagesForEntityContact
            Public Overridable Property ChatGuid As Guid
        End Class
    End Namespace
End Namespace

VB.NET EnquiryChatUnreadMessagesForEntityContact DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Chats/Unread-Messages-For-Entity-Contact HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	UnreadMessagesForEntityContact: 0,
	ChattingWithEntityContactGuid: 00000000000000000000000000000000,
	ChattingWithEntityContactImageGuid: 00000000000000000000000000000000
}