| 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 .csv suffix or ?format=csv
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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
[{"Type":"String","MessageId":0,"EnquiryId":0,"EnquiryGuid":"00000000000000000000000000000000","ChatGuid":"00000000000000000000000000000000","ReadOrOpened":false,"FromEntityContactGuid":"00000000000000000000000000000000","CreatedDate":"0001-01-01T00:00:00.0000000","FromEntityContactName":"String","EnquiryDetails":"String","MessageText":"String","DecryptMessage":false,"FromEntityContactImageGuid":"00000000000000000000000000000000"}]