SimplicityCollect Web Services API

<back to all web services

DebtorSearch

The following routes are available for this service:
All Verbs/debtors/search
DebtorSearch Parameters:
NameParameterData TypeRequiredDescription
ApiTokenquerystringNo
DebtorFirstNamequerystringNo
DebtorMiddleNamequerystringNo
DebtorLastNamequerystringNo
DebtorCompanyNamequerystringNo
DebtorAddressquerystringNo
DebtorCityquerystringNo
DebtorStatequerystringNo
DebtorZipquerystringNo
DebtorDOBquerystringNo
DebtorEmployerNamequerystringNo
DebtorHomePhonequerystringNo
DebtorCellPhonequerystringNo
DebtorEmailquerystringNo
DebtorSSNquerystringNo
DebtorEmailConsentTypequerystringNo
DebtorCustomFieldsqueryList<DebtorCustomField>No
DebtorCustomField Parameters:
NameParameterData TypeRequiredDescription
FieldNameformstringNo
FieldValueformstringNo
TableColumnNameformstringNo
DataTypeformMySqlDbTypeNo
DebtorSearchResponse Parameters:
NameParameterData TypeRequiredDescription
StatusformstringNo
MessageformstringNo
DebtorsformList<Debtor>No
Debtor Parameters:
NameParameterData TypeRequiredDescription
idformulongNo
first_nameformstringNo
middle_nameformstringNo
last_nameformstringNo
akaformstringNo
prefixformstringNo
suffixformstringNo
company_nameformstringNo
ssnformstringNo
dobformDateTime?No
typeformstringNo
is_companyformboolNo
emailformstringNo
EmailTypeIDformintNo
last_updatedformDateTimeNo
EmailConsentTypeIDformintNo
paymentIDListformList<string>No
employerformEmployerNo
phoneListformList<Phone>No
addressListformList<Address>No
contactsformList<DebtorContact>No
customFieldsListformList<DebtorCustomField>No
accountListformList<DebtorAccount>No
Employer Parameters:
NameParameterData TypeRequiredDescription
idformulongNo
updated_by_user_idformintNo
full_timeformboolNo
garnish_return_daysformstringNo
nameformstringNo
contactformstringNo
addressformstringNo
address_twoformstringNo
stateformstringNo
cityformstringNo
zipformstringNo
countyformstringNo
phoneformstringNo
faxformstringNo
cellformstringNo
emailformstringNo
notesformstringNo
Phone Parameters:
NameParameterData TypeRequiredDescription
phoneIdformstringNo
isPrimaryformboolNo
displayPhoneformstringNo
phoneformstringNo
phoneNumberformstringNo
statusIdformintNo
statusNameformstringNo
statusStyleformstringNo
typeIdformintNo
typeNameformstringNo
timezoneNameformstringNo
descriptionIdformintNo
descriptionNameformstringNo
skipped_dateformDateTime?No
VoiceConsentTypeIDformintNo
VoiceConsentTypeNameformstringNo
SMSConsentTypeIDformintNo
SMSConsentTypeNameformstringNo
VoiceConsentDateformDateTime?No
SMSConsentDateformDateTime?No
DebtorIDformulongNo
clickToDialLinkformstringNo
extensionformstringNo
Address Parameters:
NameParameterData TypeRequiredDescription
addressIdformstringNo
isPrimaryformboolNo
statusIdformintNo
statusNameformstringNo
statusStyleformstringNo
typeIdformintNo
typeNameformstringNo
addressformstringNo
addressTwoformstringNo
stateformstringNo
cityformstringNo
zipformstringNo
countyformstringNo
countryformstringNo
fullAddressStringformstringNo
skipped_dateformDateTime?No
IsDefaultformboolNo
ExpressConsentTypeIDformintNo
ExpressConsentTypeNameformstringNo
DebtorContact Parameters:
NameParameterData TypeRequiredDescription
IDformulongNo
DebtorIDformulongNo
NameformstringNo
TitleformstringNo
DebtorAccount Parameters:
NameParameterData TypeRequiredDescription
InternalIdformulongNo
AccountNumberformstringNo
AccountStatusformstringNo
clientNameformstringNo
currentBalanceDueformdecimalNo

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

HTTP + JSV

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

POST /debtors/search HTTP/1.1 
Host: app.simplicitycollect.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ApiToken: String,
	DebtorFirstName: String,
	DebtorMiddleName: String,
	DebtorLastName: String,
	DebtorCompanyName: String,
	DebtorAddress: String,
	DebtorCity: String,
	DebtorState: String,
	DebtorZip: String,
	DebtorDOB: String,
	DebtorEmployerName: String,
	DebtorHomePhone: String,
	DebtorCellPhone: String,
	DebtorEmail: String,
	DebtorSSN: String,
	DebtorEmailConsentType: String,
	DebtorCustomFields: 
	[
		{
			FieldName: String,
			FieldValue: String,
			TableColumnName: String,
			DataType: Decimal
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Status: String,
	Message: String,
	Debtors: 
	[
		{
			id: 0,
			first_name: String,
			middle_name: String,
			last_name: String,
			aka: String,
			prefix: String,
			suffix: String,
			company_name: String,
			ssn: String,
			dob: 0001-01-01,
			type: String,
			is_company: False,
			email: String,
			EmailTypeID: 0,
			last_updated: 0001-01-01,
			EmailConsentTypeID: 0,
			paymentIDList: 
			[
				String
			],
			employer: 
			{
				id: 0,
				updated_by_user_id: 0,
				full_time: False,
				garnish_return_days: String,
				name: String,
				contact: String,
				address: String,
				address_two: String,
				state: String,
				city: String,
				zip: String,
				county: String,
				phone: String,
				fax: String,
				cell: String,
				email: String,
				notes: String
			},
			phoneList: 
			[
				{
					phoneId: String,
					isPrimary: False,
					displayPhone: String,
					phone: String,
					phoneNumber: String,
					statusId: 0,
					statusName: String,
					statusStyle: String,
					typeId: 0,
					typeName: String,
					timezoneName: String,
					descriptionId: 0,
					descriptionName: String,
					skipped_date: 0001-01-01,
					VoiceConsentTypeID: 0,
					VoiceConsentTypeName: String,
					SMSConsentTypeID: 0,
					SMSConsentTypeName: String,
					VoiceConsentDate: 0001-01-01,
					SMSConsentDate: 0001-01-01,
					DebtorID: 0,
					clickToDialLink: String,
					extension: String
				}
			],
			addressList: 
			[
				{
					addressId: String,
					isPrimary: False,
					statusId: 0,
					statusName: String,
					statusStyle: String,
					typeId: 0,
					typeName: String,
					address: String,
					addressTwo: String,
					state: String,
					city: String,
					zip: String,
					county: String,
					country: String,
					fullAddressString: String,
					skipped_date: 0001-01-01,
					IsDefault: False,
					ExpressConsentTypeID: 0,
					ExpressConsentTypeName: String
				}
			],
			contacts: 
			[
				{
					ID: 0,
					DebtorID: 0,
					Name: String,
					Title: String
				}
			],
			customFieldsList: 
			[
				{
					FieldName: String,
					FieldValue: String,
					TableColumnName: String,
					DataType: Decimal
				}
			],
			accountList: 
			[
				{
					InternalId: 0,
					AccountNumber: String,
					AccountStatus: String,
					clientName: String,
					currentBalanceDue: 0
				}
			]
		}
	]
}