| Requires any of the roles: | Agent, Administrator, Agent, Administrator |
| POST,PUT,OPTIONS | /v1/FactFinderDebt | ||
|---|---|---|---|
| GET | /v1/FactFinderDebt/{ContactId}/Validate |
export class Contact
{
public ContactId: number;
public ContactType: number;
public FirstName: string;
public LastName: string;
public Name: string;
public Role: string;
public Title: string;
public EmailWork: string;
public EmailPersonal: string;
public District: string;
public DistrictID: number;
public School: string;
public SchoolID: number;
public State: string;
public StateName: string;
public StateID: number;
public CountyID: number;
public County: string;
public Phone: string;
public Department: string;
public Flow: string;
public LastContact: string;
public DoNotContact: boolean;
public Active: boolean;
public AgentId: number;
public PhoneAlt: string;
public PeraContactId: number;
public RoomNumber: string;
public SourceTypeId: number;
public SourceTypeDesc: string;
public SourceNote: string;
public ContactStatusId: number;
public ContactStatusDesc: string;
public SSN: string;
public DateOfBirth: string;
public Deleted: boolean;
public IsShared: boolean;
public address_line1: string;
public address_city: string;
public address_state: string;
public address_zip: string;
public DeletedBy: string;
public DeletedDateTimeUtc?: string;
public HasNBC: boolean;
public HasFactFinderSheet: boolean;
public MiddleInitial: string;
public Tags: string;
public DateCreated: string;
public PhoneLabel: string;
public AltPhoneLabel: string;
public Carriers: string;
public ContactImage: string;
public CompanyAffiliation: string;
public AdditionalInformation: string;
public HasGiftCard: boolean;
public ContactCategory: number;
public WritingAgentId: number;
public WritingAgentName: string;
public MaritalStatus: string;
public TotalDebtAmount: number;
public NumberOfDebtAccounts: number;
public FactFinderCodeId: number;
public BusinessName: string;
public DBA: string;
public ContactGUID: string;
public ProjectEndDate: string;
public Rate: number;
public JobID: number;
public JobName: string;
public JobCount: number;
public Locked: boolean;
public LockedByAgentId: number;
public LockedTimestamp: string;
public Initials: string;
public ContactCategoryName: string;
public SMSOptIn: boolean;
public constructor(init?: Partial<Contact>) { (Object as any).assign(this, init); }
}
export class FactFinderDebt
{
public FactFinderDebtId: number;
public ContactId: number;
public OwnHome?: boolean;
public HomeValue?: number;
public OtherProperty?: boolean;
public OtherPropertyValue?: number;
public FirstCar?: boolean;
public FirstCarValue?: number;
public SecondCar?: boolean;
public SecondCarValue?: number;
public BoatRv?: boolean;
public BoatRvValue?: number;
public Stocks401kOther?: boolean;
public Stocks401kOtherValue?: number;
public HomeRentInsurance?: boolean;
public HomeRentInsuranceValue?: number;
public ChildAlimonySupport?: boolean;
public ChildAlimonySupportValue?: number;
public ChildcareRelated?: boolean;
public ChildcareRelatedValue?: number;
public LifeInsurance?: boolean;
public LifePolicyAmount?: number;
public LifeInsuranceMonthly?: number;
public MortgageRentExpense?: number;
public PropertyTaxExpense?: number;
public CarPaymentFirstExpense?: number;
public CarPaymentSecondExpense?: number;
public RVPaymentExpense?: number;
public SavingsPaymentExpense?: number;
public HomeInsuranceExpense?: number;
public GroceriesExpense?: number;
public EntertainmentExpense?: number;
public LifeInsuranceCostExpense?: number;
public GasElectricityExpense?: number;
public WaterTrashSewerExpense?: number;
public TelephoneCellExpense?: number;
public CableInternetExpense?: number;
public AutoExpenseGasExpense?: number;
public AutoInsuranceExpense?: number;
public MedicalExpense?: number;
public MiscellaneousExpense?: number;
public FamilyFriendLoansExpense?: number;
public WhatBank: string;
public BankDebt?: boolean;
public CreditUnion?: boolean;
public constructor(init?: Partial<FactFinderDebt>) { (Object as any).assign(this, init); }
}
export class ContactSpouse
{
public ContactSpouseId: number;
public ContactId: number;
public Name: string;
public DOB?: string;
public Cell: string;
public Employer: string;
public Years?: number;
public Position: string;
public Email: string;
public PastOccupations: string;
public constructor(init?: Partial<ContactSpouse>) { (Object as any).assign(this, init); }
}
export class ContactCreditor
{
public ContactCreditorId: number;
public ContactId: number;
public CreditorName: string;
public NameOnAccount: string;
public AccountNumber: string;
public CurrentBalance?: number;
public MinimumPayment?: number;
public HasCoSigner: boolean;
public constructor(init?: Partial<ContactCreditor>) { (Object as any).assign(this, init); }
}
export class FactFinderDebtExtended
{
public Contact: Contact;
public FactFinderDebt: FactFinderDebt;
public Spouse: ContactSpouse;
public Creditors: ContactCreditor[] = [];
public AdditionalNotes: string;
public constructor(init?: Partial<FactFinderDebtExtended>) { (Object as any).assign(this, init); }
}
export class FactFinderDebtRequest
{
public FactFinderDebt: FactFinderDebtExtended;
public DataEntry: boolean;
public ContactId: number;
public constructor(init?: Partial<FactFinderDebtRequest>) { (Object as any).assign(this, init); }
}
TypeScript FactFinderDebtRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
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-01,
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-01,
Deleted: False,
IsShared: False,
address_line1: String,
address_city: String,
address_state: String,
address_zip: String,
DeletedBy: String,
DeletedDateTimeUtc: 0001-01-01,
HasNBC: False,
HasFactFinderSheet: False,
MiddleInitial: String,
Tags: String,
DateCreated: 0001-01-01,
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-01,
Rate: 0,
JobID: 0,
JobName: String,
JobCount: 0,
Locked: False,
LockedByAgentId: 0,
LockedTimestamp: 0001-01-01,
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-01,
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
}