Trendsic Platform Service

<back to all web services

FactFinderDebtRequest

Requires Authentication
Requires any of the roles:Agent, Administrator, Agent, Administrator
The following routes are available for this service:
POST,PUT,OPTIONS/v1/FactFinderDebt
GET/v1/FactFinderDebt/{ContactId}/Validate
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class Contact implements IConvertible
{
    int? ContactId;
    int? ContactType;
    String? FirstName;
    String? LastName;
    String? Name;
    String? Role;
    String? Title;
    String? EmailWork;
    String? EmailPersonal;
    String? District;
    int? DistrictID;
    String? School;
    int? SchoolID;
    String? State;
    String? StateName;
    int? StateID;
    int? CountyID;
    String? County;
    String? Phone;
    String? Department;
    String? Flow;
    DateTime? LastContact;
    bool? DoNotContact;
    bool? Active;
    int? AgentId;
    String? PhoneAlt;
    int? PeraContactId;
    String? RoomNumber;
    int? SourceTypeId;
    String? SourceTypeDesc;
    String? SourceNote;
    int? ContactStatusId;
    String? ContactStatusDesc;
    String? SSN;
    DateTime? DateOfBirth;
    bool? Deleted;
    bool? IsShared;
    String? address_line1;
    String? address_city;
    String? address_state;
    String? address_zip;
    String? DeletedBy;
    DateTime? DeletedDateTimeUtc;
    bool? HasNBC;
    bool? HasFactFinderSheet;
    String? MiddleInitial;
    String? Tags;
    DateTime? DateCreated;
    String? PhoneLabel;
    String? AltPhoneLabel;
    String? Carriers;
    String? ContactImage;
    String? CompanyAffiliation;
    String? AdditionalInformation;
    bool? HasGiftCard;
    int? ContactCategory;
    int? WritingAgentId;
    String? WritingAgentName;
    String? MaritalStatus;
    double? TotalDebtAmount;
    int? NumberOfDebtAccounts;
    int? FactFinderCodeId;
    String? BusinessName;
    String? DBA;
    String? ContactGUID;
    DateTime? ProjectEndDate;
    int? Rate;
    int? JobID;
    String? JobName;
    int? JobCount;
    bool? Locked;
    int? LockedByAgentId;
    DateTime? LockedTimestamp;
    String? Initials;
    String? ContactCategoryName;
    bool? SMSOptIn;

    Contact({this.ContactId,this.ContactType,this.FirstName,this.LastName,this.Name,this.Role,this.Title,this.EmailWork,this.EmailPersonal,this.District,this.DistrictID,this.School,this.SchoolID,this.State,this.StateName,this.StateID,this.CountyID,this.County,this.Phone,this.Department,this.Flow,this.LastContact,this.DoNotContact,this.Active,this.AgentId,this.PhoneAlt,this.PeraContactId,this.RoomNumber,this.SourceTypeId,this.SourceTypeDesc,this.SourceNote,this.ContactStatusId,this.ContactStatusDesc,this.SSN,this.DateOfBirth,this.Deleted,this.IsShared,this.address_line1,this.address_city,this.address_state,this.address_zip,this.DeletedBy,this.DeletedDateTimeUtc,this.HasNBC,this.HasFactFinderSheet,this.MiddleInitial,this.Tags,this.DateCreated,this.PhoneLabel,this.AltPhoneLabel,this.Carriers,this.ContactImage,this.CompanyAffiliation,this.AdditionalInformation,this.HasGiftCard,this.ContactCategory,this.WritingAgentId,this.WritingAgentName,this.MaritalStatus,this.TotalDebtAmount,this.NumberOfDebtAccounts,this.FactFinderCodeId,this.BusinessName,this.DBA,this.ContactGUID,this.ProjectEndDate,this.Rate,this.JobID,this.JobName,this.JobCount,this.Locked,this.LockedByAgentId,this.LockedTimestamp,this.Initials,this.ContactCategoryName,this.SMSOptIn});
    Contact.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ContactId = json['ContactId'];
        ContactType = json['ContactType'];
        FirstName = json['FirstName'];
        LastName = json['LastName'];
        Name = json['Name'];
        Role = json['Role'];
        Title = json['Title'];
        EmailWork = json['EmailWork'];
        EmailPersonal = json['EmailPersonal'];
        District = json['District'];
        DistrictID = json['DistrictID'];
        School = json['School'];
        SchoolID = json['SchoolID'];
        State = json['State'];
        StateName = json['StateName'];
        StateID = json['StateID'];
        CountyID = json['CountyID'];
        County = json['County'];
        Phone = json['Phone'];
        Department = json['Department'];
        Flow = json['Flow'];
        LastContact = JsonConverters.fromJson(json['LastContact'],'DateTime',context!);
        DoNotContact = json['DoNotContact'];
        Active = json['Active'];
        AgentId = json['AgentId'];
        PhoneAlt = json['PhoneAlt'];
        PeraContactId = json['PeraContactId'];
        RoomNumber = json['RoomNumber'];
        SourceTypeId = json['SourceTypeId'];
        SourceTypeDesc = json['SourceTypeDesc'];
        SourceNote = json['SourceNote'];
        ContactStatusId = json['ContactStatusId'];
        ContactStatusDesc = json['ContactStatusDesc'];
        SSN = json['SSN'];
        DateOfBirth = JsonConverters.fromJson(json['DateOfBirth'],'DateTime',context!);
        Deleted = json['Deleted'];
        IsShared = json['IsShared'];
        address_line1 = json['address_line1'];
        address_city = json['address_city'];
        address_state = json['address_state'];
        address_zip = json['address_zip'];
        DeletedBy = json['DeletedBy'];
        DeletedDateTimeUtc = JsonConverters.fromJson(json['DeletedDateTimeUtc'],'DateTime',context!);
        HasNBC = json['HasNBC'];
        HasFactFinderSheet = json['HasFactFinderSheet'];
        MiddleInitial = json['MiddleInitial'];
        Tags = json['Tags'];
        DateCreated = JsonConverters.fromJson(json['DateCreated'],'DateTime',context!);
        PhoneLabel = json['PhoneLabel'];
        AltPhoneLabel = json['AltPhoneLabel'];
        Carriers = json['Carriers'];
        ContactImage = json['ContactImage'];
        CompanyAffiliation = json['CompanyAffiliation'];
        AdditionalInformation = json['AdditionalInformation'];
        HasGiftCard = json['HasGiftCard'];
        ContactCategory = json['ContactCategory'];
        WritingAgentId = json['WritingAgentId'];
        WritingAgentName = json['WritingAgentName'];
        MaritalStatus = json['MaritalStatus'];
        TotalDebtAmount = JsonConverters.toDouble(json['TotalDebtAmount']);
        NumberOfDebtAccounts = json['NumberOfDebtAccounts'];
        FactFinderCodeId = json['FactFinderCodeId'];
        BusinessName = json['BusinessName'];
        DBA = json['DBA'];
        ContactGUID = json['ContactGUID'];
        ProjectEndDate = JsonConverters.fromJson(json['ProjectEndDate'],'DateTime',context!);
        Rate = json['Rate'];
        JobID = json['JobID'];
        JobName = json['JobName'];
        JobCount = json['JobCount'];
        Locked = json['Locked'];
        LockedByAgentId = json['LockedByAgentId'];
        LockedTimestamp = JsonConverters.fromJson(json['LockedTimestamp'],'DateTime',context!);
        Initials = json['Initials'];
        ContactCategoryName = json['ContactCategoryName'];
        SMSOptIn = json['SMSOptIn'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ContactId': ContactId,
        'ContactType': ContactType,
        'FirstName': FirstName,
        'LastName': LastName,
        'Name': Name,
        'Role': Role,
        'Title': Title,
        'EmailWork': EmailWork,
        'EmailPersonal': EmailPersonal,
        'District': District,
        'DistrictID': DistrictID,
        'School': School,
        'SchoolID': SchoolID,
        'State': State,
        'StateName': StateName,
        'StateID': StateID,
        'CountyID': CountyID,
        'County': County,
        'Phone': Phone,
        'Department': Department,
        'Flow': Flow,
        'LastContact': JsonConverters.toJson(LastContact,'DateTime',context!),
        'DoNotContact': DoNotContact,
        'Active': Active,
        'AgentId': AgentId,
        'PhoneAlt': PhoneAlt,
        'PeraContactId': PeraContactId,
        'RoomNumber': RoomNumber,
        'SourceTypeId': SourceTypeId,
        'SourceTypeDesc': SourceTypeDesc,
        'SourceNote': SourceNote,
        'ContactStatusId': ContactStatusId,
        'ContactStatusDesc': ContactStatusDesc,
        'SSN': SSN,
        'DateOfBirth': JsonConverters.toJson(DateOfBirth,'DateTime',context!),
        'Deleted': Deleted,
        'IsShared': IsShared,
        'address_line1': address_line1,
        'address_city': address_city,
        'address_state': address_state,
        'address_zip': address_zip,
        'DeletedBy': DeletedBy,
        'DeletedDateTimeUtc': JsonConverters.toJson(DeletedDateTimeUtc,'DateTime',context!),
        'HasNBC': HasNBC,
        'HasFactFinderSheet': HasFactFinderSheet,
        'MiddleInitial': MiddleInitial,
        'Tags': Tags,
        'DateCreated': JsonConverters.toJson(DateCreated,'DateTime',context!),
        'PhoneLabel': PhoneLabel,
        'AltPhoneLabel': AltPhoneLabel,
        'Carriers': Carriers,
        'ContactImage': ContactImage,
        'CompanyAffiliation': CompanyAffiliation,
        'AdditionalInformation': AdditionalInformation,
        'HasGiftCard': HasGiftCard,
        'ContactCategory': ContactCategory,
        'WritingAgentId': WritingAgentId,
        'WritingAgentName': WritingAgentName,
        'MaritalStatus': MaritalStatus,
        'TotalDebtAmount': TotalDebtAmount,
        'NumberOfDebtAccounts': NumberOfDebtAccounts,
        'FactFinderCodeId': FactFinderCodeId,
        'BusinessName': BusinessName,
        'DBA': DBA,
        'ContactGUID': ContactGUID,
        'ProjectEndDate': JsonConverters.toJson(ProjectEndDate,'DateTime',context!),
        'Rate': Rate,
        'JobID': JobID,
        'JobName': JobName,
        'JobCount': JobCount,
        'Locked': Locked,
        'LockedByAgentId': LockedByAgentId,
        'LockedTimestamp': JsonConverters.toJson(LockedTimestamp,'DateTime',context!),
        'Initials': Initials,
        'ContactCategoryName': ContactCategoryName,
        'SMSOptIn': SMSOptIn
    };

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

class FactFinderDebt implements IConvertible
{
    int? FactFinderDebtId;
    int? ContactId;
    bool? OwnHome;
    double? HomeValue;
    bool? OtherProperty;
    double? OtherPropertyValue;
    bool? FirstCar;
    double? FirstCarValue;
    bool? SecondCar;
    double? SecondCarValue;
    bool? BoatRv;
    double? BoatRvValue;
    bool? Stocks401kOther;
    double? Stocks401kOtherValue;
    bool? HomeRentInsurance;
    double? HomeRentInsuranceValue;
    bool? ChildAlimonySupport;
    double? ChildAlimonySupportValue;
    bool? ChildcareRelated;
    double? ChildcareRelatedValue;
    bool? LifeInsurance;
    double? LifePolicyAmount;
    double? LifeInsuranceMonthly;
    double? MortgageRentExpense;
    double? PropertyTaxExpense;
    double? CarPaymentFirstExpense;
    double? CarPaymentSecondExpense;
    double? RVPaymentExpense;
    double? SavingsPaymentExpense;
    double? HomeInsuranceExpense;
    double? GroceriesExpense;
    double? EntertainmentExpense;
    double? LifeInsuranceCostExpense;
    double? GasElectricityExpense;
    double? WaterTrashSewerExpense;
    double? TelephoneCellExpense;
    double? CableInternetExpense;
    double? AutoExpenseGasExpense;
    double? AutoInsuranceExpense;
    double? MedicalExpense;
    double? MiscellaneousExpense;
    double? FamilyFriendLoansExpense;
    String? WhatBank;
    bool? BankDebt;
    bool? CreditUnion;

    FactFinderDebt({this.FactFinderDebtId,this.ContactId,this.OwnHome,this.HomeValue,this.OtherProperty,this.OtherPropertyValue,this.FirstCar,this.FirstCarValue,this.SecondCar,this.SecondCarValue,this.BoatRv,this.BoatRvValue,this.Stocks401kOther,this.Stocks401kOtherValue,this.HomeRentInsurance,this.HomeRentInsuranceValue,this.ChildAlimonySupport,this.ChildAlimonySupportValue,this.ChildcareRelated,this.ChildcareRelatedValue,this.LifeInsurance,this.LifePolicyAmount,this.LifeInsuranceMonthly,this.MortgageRentExpense,this.PropertyTaxExpense,this.CarPaymentFirstExpense,this.CarPaymentSecondExpense,this.RVPaymentExpense,this.SavingsPaymentExpense,this.HomeInsuranceExpense,this.GroceriesExpense,this.EntertainmentExpense,this.LifeInsuranceCostExpense,this.GasElectricityExpense,this.WaterTrashSewerExpense,this.TelephoneCellExpense,this.CableInternetExpense,this.AutoExpenseGasExpense,this.AutoInsuranceExpense,this.MedicalExpense,this.MiscellaneousExpense,this.FamilyFriendLoansExpense,this.WhatBank,this.BankDebt,this.CreditUnion});
    FactFinderDebt.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        FactFinderDebtId = json['FactFinderDebtId'];
        ContactId = json['ContactId'];
        OwnHome = json['OwnHome'];
        HomeValue = JsonConverters.toDouble(json['HomeValue']);
        OtherProperty = json['OtherProperty'];
        OtherPropertyValue = JsonConverters.toDouble(json['OtherPropertyValue']);
        FirstCar = json['FirstCar'];
        FirstCarValue = JsonConverters.toDouble(json['FirstCarValue']);
        SecondCar = json['SecondCar'];
        SecondCarValue = JsonConverters.toDouble(json['SecondCarValue']);
        BoatRv = json['BoatRv'];
        BoatRvValue = JsonConverters.toDouble(json['BoatRvValue']);
        Stocks401kOther = json['Stocks401kOther'];
        Stocks401kOtherValue = JsonConverters.toDouble(json['Stocks401kOtherValue']);
        HomeRentInsurance = json['HomeRentInsurance'];
        HomeRentInsuranceValue = JsonConverters.toDouble(json['HomeRentInsuranceValue']);
        ChildAlimonySupport = json['ChildAlimonySupport'];
        ChildAlimonySupportValue = JsonConverters.toDouble(json['ChildAlimonySupportValue']);
        ChildcareRelated = json['ChildcareRelated'];
        ChildcareRelatedValue = JsonConverters.toDouble(json['ChildcareRelatedValue']);
        LifeInsurance = json['LifeInsurance'];
        LifePolicyAmount = JsonConverters.toDouble(json['LifePolicyAmount']);
        LifeInsuranceMonthly = JsonConverters.toDouble(json['LifeInsuranceMonthly']);
        MortgageRentExpense = JsonConverters.toDouble(json['MortgageRentExpense']);
        PropertyTaxExpense = JsonConverters.toDouble(json['PropertyTaxExpense']);
        CarPaymentFirstExpense = JsonConverters.toDouble(json['CarPaymentFirstExpense']);
        CarPaymentSecondExpense = JsonConverters.toDouble(json['CarPaymentSecondExpense']);
        RVPaymentExpense = JsonConverters.toDouble(json['RVPaymentExpense']);
        SavingsPaymentExpense = JsonConverters.toDouble(json['SavingsPaymentExpense']);
        HomeInsuranceExpense = JsonConverters.toDouble(json['HomeInsuranceExpense']);
        GroceriesExpense = JsonConverters.toDouble(json['GroceriesExpense']);
        EntertainmentExpense = JsonConverters.toDouble(json['EntertainmentExpense']);
        LifeInsuranceCostExpense = JsonConverters.toDouble(json['LifeInsuranceCostExpense']);
        GasElectricityExpense = JsonConverters.toDouble(json['GasElectricityExpense']);
        WaterTrashSewerExpense = JsonConverters.toDouble(json['WaterTrashSewerExpense']);
        TelephoneCellExpense = JsonConverters.toDouble(json['TelephoneCellExpense']);
        CableInternetExpense = JsonConverters.toDouble(json['CableInternetExpense']);
        AutoExpenseGasExpense = JsonConverters.toDouble(json['AutoExpenseGasExpense']);
        AutoInsuranceExpense = JsonConverters.toDouble(json['AutoInsuranceExpense']);
        MedicalExpense = JsonConverters.toDouble(json['MedicalExpense']);
        MiscellaneousExpense = JsonConverters.toDouble(json['MiscellaneousExpense']);
        FamilyFriendLoansExpense = JsonConverters.toDouble(json['FamilyFriendLoansExpense']);
        WhatBank = json['WhatBank'];
        BankDebt = json['BankDebt'];
        CreditUnion = json['CreditUnion'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'FactFinderDebtId': FactFinderDebtId,
        'ContactId': ContactId,
        'OwnHome': OwnHome,
        'HomeValue': HomeValue,
        'OtherProperty': OtherProperty,
        'OtherPropertyValue': OtherPropertyValue,
        'FirstCar': FirstCar,
        'FirstCarValue': FirstCarValue,
        'SecondCar': SecondCar,
        'SecondCarValue': SecondCarValue,
        'BoatRv': BoatRv,
        'BoatRvValue': BoatRvValue,
        'Stocks401kOther': Stocks401kOther,
        'Stocks401kOtherValue': Stocks401kOtherValue,
        'HomeRentInsurance': HomeRentInsurance,
        'HomeRentInsuranceValue': HomeRentInsuranceValue,
        'ChildAlimonySupport': ChildAlimonySupport,
        'ChildAlimonySupportValue': ChildAlimonySupportValue,
        'ChildcareRelated': ChildcareRelated,
        'ChildcareRelatedValue': ChildcareRelatedValue,
        'LifeInsurance': LifeInsurance,
        'LifePolicyAmount': LifePolicyAmount,
        'LifeInsuranceMonthly': LifeInsuranceMonthly,
        'MortgageRentExpense': MortgageRentExpense,
        'PropertyTaxExpense': PropertyTaxExpense,
        'CarPaymentFirstExpense': CarPaymentFirstExpense,
        'CarPaymentSecondExpense': CarPaymentSecondExpense,
        'RVPaymentExpense': RVPaymentExpense,
        'SavingsPaymentExpense': SavingsPaymentExpense,
        'HomeInsuranceExpense': HomeInsuranceExpense,
        'GroceriesExpense': GroceriesExpense,
        'EntertainmentExpense': EntertainmentExpense,
        'LifeInsuranceCostExpense': LifeInsuranceCostExpense,
        'GasElectricityExpense': GasElectricityExpense,
        'WaterTrashSewerExpense': WaterTrashSewerExpense,
        'TelephoneCellExpense': TelephoneCellExpense,
        'CableInternetExpense': CableInternetExpense,
        'AutoExpenseGasExpense': AutoExpenseGasExpense,
        'AutoInsuranceExpense': AutoInsuranceExpense,
        'MedicalExpense': MedicalExpense,
        'MiscellaneousExpense': MiscellaneousExpense,
        'FamilyFriendLoansExpense': FamilyFriendLoansExpense,
        'WhatBank': WhatBank,
        'BankDebt': BankDebt,
        'CreditUnion': CreditUnion
    };

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

class ContactSpouse implements IConvertible
{
    int? ContactSpouseId;
    int? ContactId;
    String? Name;
    DateTime? DOB;
    String? Cell;
    String? Employer;
    double? Years;
    String? Position;
    String? Email;
    String? PastOccupations;

    ContactSpouse({this.ContactSpouseId,this.ContactId,this.Name,this.DOB,this.Cell,this.Employer,this.Years,this.Position,this.Email,this.PastOccupations});
    ContactSpouse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ContactSpouseId = json['ContactSpouseId'];
        ContactId = json['ContactId'];
        Name = json['Name'];
        DOB = JsonConverters.fromJson(json['DOB'],'DateTime',context!);
        Cell = json['Cell'];
        Employer = json['Employer'];
        Years = JsonConverters.toDouble(json['Years']);
        Position = json['Position'];
        Email = json['Email'];
        PastOccupations = json['PastOccupations'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ContactSpouseId': ContactSpouseId,
        'ContactId': ContactId,
        'Name': Name,
        'DOB': JsonConverters.toJson(DOB,'DateTime',context!),
        'Cell': Cell,
        'Employer': Employer,
        'Years': Years,
        'Position': Position,
        'Email': Email,
        'PastOccupations': PastOccupations
    };

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

class ContactCreditor implements IConvertible
{
    int? ContactCreditorId;
    int? ContactId;
    String? CreditorName;
    String? NameOnAccount;
    String? AccountNumber;
    double? CurrentBalance;
    double? MinimumPayment;
    bool? HasCoSigner;

    ContactCreditor({this.ContactCreditorId,this.ContactId,this.CreditorName,this.NameOnAccount,this.AccountNumber,this.CurrentBalance,this.MinimumPayment,this.HasCoSigner});
    ContactCreditor.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ContactCreditorId = json['ContactCreditorId'];
        ContactId = json['ContactId'];
        CreditorName = json['CreditorName'];
        NameOnAccount = json['NameOnAccount'];
        AccountNumber = json['AccountNumber'];
        CurrentBalance = JsonConverters.toDouble(json['CurrentBalance']);
        MinimumPayment = JsonConverters.toDouble(json['MinimumPayment']);
        HasCoSigner = json['HasCoSigner'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ContactCreditorId': ContactCreditorId,
        'ContactId': ContactId,
        'CreditorName': CreditorName,
        'NameOnAccount': NameOnAccount,
        'AccountNumber': AccountNumber,
        'CurrentBalance': CurrentBalance,
        'MinimumPayment': MinimumPayment,
        'HasCoSigner': HasCoSigner
    };

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

class FactFinderDebtExtended implements IConvertible
{
    Contact? Contact;
    FactFinderDebt? FactFinderDebt;
    ContactSpouse? Spouse;
    List<ContactCreditor>? Creditors = [];
    String? AdditionalNotes;

    FactFinderDebtExtended({this.Contact,this.FactFinderDebt,this.Spouse,this.Creditors,this.AdditionalNotes});
    FactFinderDebtExtended.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Contact = JsonConverters.fromJson(json['Contact'],'Contact',context!);
        FactFinderDebt = JsonConverters.fromJson(json['FactFinderDebt'],'FactFinderDebt',context!);
        Spouse = JsonConverters.fromJson(json['Spouse'],'ContactSpouse',context!);
        Creditors = JsonConverters.fromJson(json['Creditors'],'List<ContactCreditor>',context!);
        AdditionalNotes = json['AdditionalNotes'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Contact': JsonConverters.toJson(Contact,'Contact',context!),
        'FactFinderDebt': JsonConverters.toJson(FactFinderDebt,'FactFinderDebt',context!),
        'Spouse': JsonConverters.toJson(Spouse,'ContactSpouse',context!),
        'Creditors': JsonConverters.toJson(Creditors,'List<ContactCreditor>',context!),
        'AdditionalNotes': AdditionalNotes
    };

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

class FactFinderDebtRequest implements IConvertible
{
    FactFinderDebtExtended? FactFinderDebt;
    bool? DataEntry;
    int? ContactId;

    FactFinderDebtRequest({this.FactFinderDebt,this.DataEntry,this.ContactId});
    FactFinderDebtRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        FactFinderDebt = JsonConverters.fromJson(json['FactFinderDebt'],'FactFinderDebtExtended',context!);
        DataEntry = json['DataEntry'];
        ContactId = json['ContactId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'FactFinderDebt': JsonConverters.toJson(FactFinderDebt,'FactFinderDebtExtended',context!),
        'DataEntry': DataEntry,
        'ContactId': ContactId
    };

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

TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
    'Contact': TypeInfo(TypeOf.Class, create:() => Contact()),
    'FactFinderDebt': TypeInfo(TypeOf.Class, create:() => FactFinderDebt()),
    'ContactSpouse': TypeInfo(TypeOf.Class, create:() => ContactSpouse()),
    'ContactCreditor': TypeInfo(TypeOf.Class, create:() => ContactCreditor()),
    'FactFinderDebtExtended': TypeInfo(TypeOf.Class, create:() => FactFinderDebtExtended()),
    'List<ContactCreditor>': TypeInfo(TypeOf.Class, create:() => <ContactCreditor>[]),
    'FactFinderDebtRequest': TypeInfo(TypeOf.Class, create:() => FactFinderDebtRequest()),
});

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

POST /v1/FactFinderDebt HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"FactFinderDebt":{"Contact":{"ContactId":0,"ContactType":0,"FirstName":"String","LastName":"String","Name":"String","Role":"String","Title":"String","EmailWork":"String","EmailPersonal":"String","District":"String","DistrictID":0,"School":"String","SchoolID":0,"State":"String","StateName":"String","StateID":0,"CountyID":0,"County":"String","Phone":"String","Department":"String","Flow":"String","LastContact":"0001-01-01T00:00:00.0000000","DoNotContact":false,"Active":false,"AgentId":0,"PhoneAlt":"String","PeraContactId":0,"RoomNumber":"String","SourceTypeId":0,"SourceTypeDesc":"String","SourceNote":"String","ContactStatusId":0,"ContactStatusDesc":"String","SSN":"String","DateOfBirth":"0001-01-01T00:00:00.0000000","Deleted":false,"IsShared":false,"address_line1":"String","address_city":"String","address_state":"String","address_zip":"String","DeletedBy":"String","DeletedDateTimeUtc":"0001-01-01T00:00:00.0000000","HasNBC":false,"HasFactFinderSheet":false,"MiddleInitial":"String","Tags":"String","DateCreated":"0001-01-01T00:00:00.0000000","PhoneLabel":"String","AltPhoneLabel":"String","Carriers":"String","ContactImage":"String","CompanyAffiliation":"String","AdditionalInformation":"String","HasGiftCard":false,"ContactCategory":0,"WritingAgentId":0,"WritingAgentName":"String","MaritalStatus":"String","TotalDebtAmount":0,"NumberOfDebtAccounts":0,"FactFinderCodeId":0,"BusinessName":"String","DBA":"String","ContactGUID":"00000000000000000000000000000000","ProjectEndDate":"0001-01-01T00:00:00.0000000","Rate":0,"JobID":0,"JobName":"String","JobCount":0,"Locked":false,"LockedByAgentId":0,"LockedTimestamp":"0001-01-01T00:00:00.0000000","Initials":"String","ContactCategoryName":"String","SMSOptIn":false},"FactFinderDebt":{"FactFinderDebtId":0,"ContactId":0,"OwnHome":false,"HomeValue":0,"OtherProperty":false,"OtherPropertyValue":0,"FirstCar":false,"FirstCarValue":0,"SecondCar":false,"SecondCarValue":0,"BoatRv":false,"BoatRvValue":0,"Stocks401kOther":false,"Stocks401kOtherValue":0,"HomeRentInsurance":false,"HomeRentInsuranceValue":0,"ChildAlimonySupport":false,"ChildAlimonySupportValue":0,"ChildcareRelated":false,"ChildcareRelatedValue":0,"LifeInsurance":false,"LifePolicyAmount":0,"LifeInsuranceMonthly":0,"MortgageRentExpense":0,"PropertyTaxExpense":0,"CarPaymentFirstExpense":0,"CarPaymentSecondExpense":0,"RVPaymentExpense":0,"SavingsPaymentExpense":0,"HomeInsuranceExpense":0,"GroceriesExpense":0,"EntertainmentExpense":0,"LifeInsuranceCostExpense":0,"GasElectricityExpense":0,"WaterTrashSewerExpense":0,"TelephoneCellExpense":0,"CableInternetExpense":0,"AutoExpenseGasExpense":0,"AutoInsuranceExpense":0,"MedicalExpense":0,"MiscellaneousExpense":0,"FamilyFriendLoansExpense":0,"WhatBank":"String","BankDebt":false,"CreditUnion":false},"Spouse":{"ContactSpouseId":0,"ContactId":0,"Name":"String","DOB":"0001-01-01T00:00:00.0000000","Cell":"String","Employer":"String","Years":0,"Position":"String","Email":"String","PastOccupations":"String"},"Creditors":[{"ContactCreditorId":0,"ContactId":0,"CreditorName":"String","NameOnAccount":"String","AccountNumber":"String","CurrentBalance":0,"MinimumPayment":0,"HasCoSigner":false}],"AdditionalNotes":"String"},"DataEntry":false,"ContactId":0}