Bridge

<back to all web services

GetHomeScreenList

Dashboard
The following routes are available for this service:
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()),
});

Dart GetHomeScreenList DTOs

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

HTTP + XML

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

<ArrayOfDashboardListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
  <DashboardListViewModel>
    <ChatGuid>00000000-0000-0000-0000-000000000000</ChatGuid>
    <CreatedDate>0001-01-01T00:00:00</CreatedDate>
    <DecryptMessage>false</DecryptMessage>
    <EnquiryDetails>String</EnquiryDetails>
    <EnquiryGuid>00000000-0000-0000-0000-000000000000</EnquiryGuid>
    <EnquiryId>0</EnquiryId>
    <FromEntityContactGuid>00000000-0000-0000-0000-000000000000</FromEntityContactGuid>
    <FromEntityContactImageGuid>00000000-0000-0000-0000-000000000000</FromEntityContactImageGuid>
    <FromEntityContactName>String</FromEntityContactName>
    <MessageId>0</MessageId>
    <MessageText>String</MessageText>
    <ReadOrOpened>false</ReadOrOpened>
    <Type>String</Type>
  </DashboardListViewModel>
</ArrayOfDashboardListViewModel>