Bridge

<back to all web services

EnquiryChatMessages

Chats
The following routes are available for this service:
GET/Chats/Messages
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Bridge.Private.Api.DTO;

namespace Bridge.Private.Api.DTO
{
    public partial class EnquiryChatMessages
    {
        public virtual Guid Id { get; set; }
        public virtual string SortOrder { get; set; }
        public virtual DateTime DeviceLocalTime { get; set; }
        public virtual Guid? FromMessageGuid { get; set; }
    }

}

C# EnquiryChatMessages DTOs

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

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[{"Id":0,"Type":"String","FromBridge":false,"Delivered":false,"Read":false,"SentDateTime":"0001-01-01T00:00:00.0000000","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"}]