Bridge

<back to all web services

GetDealRecapTitleAndTermsForEntity

Deal Recaps
The following routes are available for this service:
GET/Get-Deal-Recap-Title-And-Terms-For-Entity
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class GetDealRecapTitleAndTermsForEntity implements IConvertible
{
    int? EntityId;

    GetDealRecapTitleAndTermsForEntity({this.EntityId});
    GetDealRecapTitleAndTermsForEntity.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        EntityId = json['EntityId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'EntityId': EntityId
    };

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

class GetDealRecapTitleAndTermsForEntityViewModel implements IConvertible
{
    String? Title;
    String? Terms;

    GetDealRecapTitleAndTermsForEntityViewModel({this.Title,this.Terms});
    GetDealRecapTitleAndTermsForEntityViewModel.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Title = json['Title'];
        Terms = json['Terms'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Title': Title,
        'Terms': Terms
    };

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

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

Dart GetDealRecapTitleAndTermsForEntity DTOs

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

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Get-Deal-Recap-Title-And-Terms-For-Entity HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Title":"String","Terms":"String"}