| Requires any of the roles: | Agent, Administrator, Agent, Administrator |
| POST,PUT,OPTIONS | /v1/FactFinderDebt | ||
|---|---|---|---|
| GET | /v1/FactFinderDebt/{ContactId}/Validate |
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal
Namespace Global
Namespace CRM.AgencyPlatform.API.Internal
Public Partial Class Contact
Public Overridable Property ContactId As Integer
Public Overridable Property ContactType As Integer
Public Overridable Property FirstName As String
Public Overridable Property LastName As String
Public Overridable Property Name As String
Public Overridable Property Role As String
Public Overridable Property Title As String
Public Overridable Property EmailWork As String
Public Overridable Property EmailPersonal As String
Public Overridable Property District As String
Public Overridable Property DistrictID As Integer
Public Overridable Property School As String
Public Overridable Property SchoolID As Long
Public Overridable Property State As String
Public Overridable Property StateName As String
Public Overridable Property StateID As Long
Public Overridable Property CountyID As Long
Public Overridable Property County As String
Public Overridable Property Phone As String
Public Overridable Property Department As String
Public Overridable Property Flow As String
Public Overridable Property LastContact As Date
Public Overridable Property DoNotContact As Boolean
Public Overridable Property Active As Boolean
Public Overridable Property AgentId As Integer
Public Overridable Property PhoneAlt As String
Public Overridable Property PeraContactId As Integer
Public Overridable Property RoomNumber As String
Public Overridable Property SourceTypeId As Integer
Public Overridable Property SourceTypeDesc As String
Public Overridable Property SourceNote As String
Public Overridable Property ContactStatusId As Integer
Public Overridable Property ContactStatusDesc As String
Public Overridable Property SSN As String
Public Overridable Property DateOfBirth As Date
Public Overridable Property Deleted As Boolean
Public Overridable Property IsShared As Boolean
Public Overridable Property address_line1 As String
Public Overridable Property address_city As String
Public Overridable Property address_state As String
Public Overridable Property address_zip As String
Public Overridable Property DeletedBy As String
Public Overridable Property DeletedDateTimeUtc As Date?
Public Overridable Property HasNBC As Boolean
Public Overridable Property HasFactFinderSheet As Boolean
Public Overridable Property MiddleInitial As String
Public Overridable Property Tags As String
Public Overridable Property DateCreated As Date
Public Overridable Property PhoneLabel As String
Public Overridable Property AltPhoneLabel As String
Public Overridable Property Carriers As String
Public Overridable Property ContactImage As String
Public Overridable Property CompanyAffiliation As String
Public Overridable Property AdditionalInformation As String
Public Overridable Property HasGiftCard As Boolean
Public Overridable Property ContactCategory As Integer
Public Overridable Property WritingAgentId As Integer
Public Overridable Property WritingAgentName As String
Public Overridable Property MaritalStatus As String
Public Overridable Property TotalDebtAmount As Decimal
Public Overridable Property NumberOfDebtAccounts As Integer
Public Overridable Property FactFinderCodeId As Integer
Public Overridable Property BusinessName As String
Public Overridable Property DBA As String
Public Overridable Property ContactGUID As Guid
Public Overridable Property ProjectEndDate As Date
Public Overridable Property Rate As Integer
Public Overridable Property JobID As Integer
Public Overridable Property JobName As String
Public Overridable Property JobCount As Integer
Public Overridable Property Locked As Boolean
Public Overridable Property LockedByAgentId As Integer
Public Overridable Property LockedTimestamp As Date
Public Overridable Property Initials As String
Public Overridable Property ContactCategoryName As String
Public Overridable Property SMSOptIn As Boolean
End Class
Public Partial Class ContactCreditor
Public Overridable Property ContactCreditorId As Integer
Public Overridable Property ContactId As Integer
Public Overridable Property CreditorName As String
Public Overridable Property NameOnAccount As String
Public Overridable Property AccountNumber As String
Public Overridable Property CurrentBalance As Decimal?
Public Overridable Property MinimumPayment As Decimal?
Public Overridable Property HasCoSigner As Boolean
End Class
Public Partial Class ContactSpouse
Public Overridable Property ContactSpouseId As Integer
Public Overridable Property ContactId As Integer
Public Overridable Property Name As String
Public Overridable Property DOB As Date?
Public Overridable Property Cell As String
Public Overridable Property Employer As String
Public Overridable Property Years As Decimal?
Public Overridable Property Position As String
Public Overridable Property Email As String
Public Overridable Property PastOccupations As String
End Class
Public Partial Class FactFinderDebt
Public Overridable Property FactFinderDebtId As Integer
Public Overridable Property ContactId As Integer
Public Overridable Property OwnHome As Boolean?
Public Overridable Property HomeValue As Decimal?
Public Overridable Property OtherProperty As Boolean?
Public Overridable Property OtherPropertyValue As Decimal?
Public Overridable Property FirstCar As Boolean?
Public Overridable Property FirstCarValue As Decimal?
Public Overridable Property SecondCar As Boolean?
Public Overridable Property SecondCarValue As Decimal?
Public Overridable Property BoatRv As Boolean?
Public Overridable Property BoatRvValue As Decimal?
Public Overridable Property Stocks401kOther As Boolean?
Public Overridable Property Stocks401kOtherValue As Decimal?
Public Overridable Property HomeRentInsurance As Boolean?
Public Overridable Property HomeRentInsuranceValue As Decimal?
Public Overridable Property ChildAlimonySupport As Boolean?
Public Overridable Property ChildAlimonySupportValue As Decimal?
Public Overridable Property ChildcareRelated As Boolean?
Public Overridable Property ChildcareRelatedValue As Decimal?
Public Overridable Property LifeInsurance As Boolean?
Public Overridable Property LifePolicyAmount As Decimal?
Public Overridable Property LifeInsuranceMonthly As Decimal?
Public Overridable Property MortgageRentExpense As Decimal?
Public Overridable Property PropertyTaxExpense As Decimal?
Public Overridable Property CarPaymentFirstExpense As Decimal?
Public Overridable Property CarPaymentSecondExpense As Decimal?
Public Overridable Property RVPaymentExpense As Decimal?
Public Overridable Property SavingsPaymentExpense As Decimal?
Public Overridable Property HomeInsuranceExpense As Decimal?
Public Overridable Property GroceriesExpense As Decimal?
Public Overridable Property EntertainmentExpense As Decimal?
Public Overridable Property LifeInsuranceCostExpense As Decimal?
Public Overridable Property GasElectricityExpense As Decimal?
Public Overridable Property WaterTrashSewerExpense As Decimal?
Public Overridable Property TelephoneCellExpense As Decimal?
Public Overridable Property CableInternetExpense As Decimal?
Public Overridable Property AutoExpenseGasExpense As Decimal?
Public Overridable Property AutoInsuranceExpense As Decimal?
Public Overridable Property MedicalExpense As Decimal?
Public Overridable Property MiscellaneousExpense As Decimal?
Public Overridable Property FamilyFriendLoansExpense As Decimal?
Public Overridable Property WhatBank As String
Public Overridable Property BankDebt As Boolean?
Public Overridable Property CreditUnion As Boolean?
End Class
Public Partial Class FactFinderDebtExtended
Public Overridable Property Contact As Contact
Public Overridable Property FactFinderDebt As FactFinderDebt
Public Overridable Property Spouse As ContactSpouse
Public Overridable Property Creditors As List(Of ContactCreditor) = New List(Of ContactCreditor)
Public Overridable Property AdditionalNotes As String
End Class
Public Partial Class FactFinderDebtRequest
Public Overridable Property FactFinderDebt As FactFinderDebtExtended
Public Overridable Property DataEntry As Boolean
Public Overridable Property ContactId As Integer
End Class
End Namespace
End Namespace
VB.NET 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
}