Bridge

<back to all web services

EnquiryChatMessages

Chats
The following routes are available for this service:
GET/Chats/Messages
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EnquiryChatMessages
    {
        public UUID Id = null;
        public String SortOrder = null;
        public Date DeviceLocalTime = null;
        public UUID FromMessageGuid = null;
        
        public UUID getId() { return Id; }
        public EnquiryChatMessages setId(UUID value) { this.Id = value; return this; }
        public String getSortOrder() { return SortOrder; }
        public EnquiryChatMessages setSortOrder(String value) { this.SortOrder = value; return this; }
        public Date getDeviceLocalTime() { return DeviceLocalTime; }
        public EnquiryChatMessages setDeviceLocalTime(Date value) { this.DeviceLocalTime = value; return this; }
        public UUID getFromMessageGuid() { return FromMessageGuid; }
        public EnquiryChatMessages setFromMessageGuid(UUID value) { this.FromMessageGuid = value; return this; }
    }

}

Java EnquiryChatMessages 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/Messages HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		Id: 0,
		Type: String,
		FromBridge: False,
		Delivered: False,
		Read: False,
		SentDateTime: 0001-01-01,
		Text: String,
		EntityContactId: 0,
		EntityContactGuid: 00000000000000000000000000000000,
		EntityContactFirstName: String,
		EntityContactLastName: String,
		IconUrl: String,
		MessageType: String,
		CardTitle: String,
		ButtonText: String,
		ButtonVisibleTo: 0,
		RecapId: 0,
		RecapGuid: 00000000000000000000000000000000,
		Status: String,
		MessageGuid: 00000000000000000000000000000000,
		BannerText: String,
		EntityContactImageGuid: 00000000000000000000000000000000
	}
]