| GET | /Dashboard/Get-Home-Screen-List |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class GetHomeScreenList implements IConvertible
{
DateTime? LocalDateTime;
GetHomeScreenList({this.LocalDateTime});
GetHomeScreenList.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
LocalDateTime = JsonConverters.fromJson(json['LocalDateTime'],'DateTime',context!);
return this;
}
Map<String, dynamic> toJson() => {
'LocalDateTime': JsonConverters.toJson(LocalDateTime,'DateTime',context!)
};
getTypeName() => "GetHomeScreenList";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: <String, TypeInfo> {
'GetHomeScreenList': TypeInfo(TypeOf.Class, create:() => GetHomeScreenList()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Dashboard/Get-Home-Screen-List HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
Type: String,
MessageId: 0,
EnquiryId: 0,
EnquiryGuid: 00000000000000000000000000000000,
ChatGuid: 00000000000000000000000000000000,
ReadOrOpened: False,
FromEntityContactGuid: 00000000000000000000000000000000,
CreatedDate: 0001-01-01,
FromEntityContactName: String,
EnquiryDetails: String,
MessageText: String,
DecryptMessage: False,
FromEntityContactImageGuid: 00000000000000000000000000000000
}
]