Bridge

<back to all web services

EntityContactsLogin

Entity Contacts
The following routes are available for this service:
POST/Entity-Contacts/Login
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class EntityContactsLogin implements IConvertible
{
    EntityContactsLogin();
    EntityContactsLogin.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "EntityContactsLogin";
    TypeContext? context = _ctx;
}

class EntityLoginViewModel implements IConvertible
{
    int? EntityContactId;
    String? EntityContactGuid;
    String? EmailAddress;
    String? Token;
    bool? DarkMode;
    bool? Success;
    bool? EmailAddressVerifiedError;

    EntityLoginViewModel({this.EntityContactId,this.EntityContactGuid,this.EmailAddress,this.Token,this.DarkMode,this.Success,this.EmailAddressVerifiedError});
    EntityLoginViewModel.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        EntityContactId = json['EntityContactId'];
        EntityContactGuid = json['EntityContactGuid'];
        EmailAddress = json['EmailAddress'];
        Token = json['Token'];
        DarkMode = json['DarkMode'];
        Success = json['Success'];
        EmailAddressVerifiedError = json['EmailAddressVerifiedError'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'EntityContactId': EntityContactId,
        'EntityContactGuid': EntityContactGuid,
        'EmailAddress': EmailAddress,
        'Token': Token,
        'DarkMode': DarkMode,
        'Success': Success,
        'EmailAddressVerifiedError': EmailAddressVerifiedError
    };

    getTypeName() => "EntityLoginViewModel";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: <String, TypeInfo> {
    'EntityContactsLogin': TypeInfo(TypeOf.Class, create:() => EntityContactsLogin()),
    'EntityLoginViewModel': TypeInfo(TypeOf.Class, create:() => EntityLoginViewModel()),
});

Dart EntityContactsLogin 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.

POST /Entity-Contacts/Login HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"EntityContactId":0,"EntityContactGuid":"00000000000000000000000000000000","EmailAddress":"String","Token":"String","DarkMode":false,"Success":false,"EmailAddressVerifiedError":false}