Collections Web Service Definition

Schedule 3

Referenced in Exhibit A of subscriber agreement

For notes on the Fair Credit Reporting Act (FCRA) and other general matters, see General notes on web services.

This web service searches for all cases explicitly referred to collections by the court since a certain date, as well as those which experienced one or more "collection events" of interest to a collections agency (e.g. a change in the amount owed or a payment taken at the court). 

The court decides how to refer the cases:

The web service does not include tools for importing payments made to the collection agency.

Sample calls on Judici test server

If any of the following don't work, contact Web Service User Support

Data retention and synchronization

All of the Data obtained using this Service may be retained in the Compiled Index Records.  This is because this Service, rather than providing a complete snapshot with every search, instead is sophisticated enough to update only those cases which have changed since a specified date.  That said, there are some limits in the Service's ability to keep retained data "in sync" with the court's, especially when data can be added, modified or deleted by either party:

For this and other reasons, it is wise for users of this web service to periodically re-acquire all cases ever referred to collections, in order to re-sync.  If such a re-sync shows something out of sync, whether it the original data source was the court or the user, the user should work with the court to resolve the problem.

SEARCHCASES call

https://www.judici.com/service/caseSearchService?SEARCHCASES&USERID=n &APPID=a&KEY=0x&BATCH=true &COURTID=ncic&COLDATE={mm/dd/yyyy|ALL} 

Authentication parameters

Required parameters specific to this web service

Optional parameters- none

Automatic selection criteria

The query finds all cases on which a referral, withdrawal, payment or adjustment (as indicated by the COLLECTIONSDATE in the Collections attributes ) occurred on or after the specified COLDATE, including the current date.  Note: Originally, the current date was excluded.  This was done because pulling data in the middle of the day would miss subsequent events that day.   But in late 2014, this approach was shown to be problematic in the following rare scenario:

Given that online payments can come in at any time, the only solution to this problem was to start picking up events occurring on the collections date... up to the point at which the data was pulled.  But because of processing and communications time, you can't do a pull exactly at the stroke of midnight.  So the question is whether to pull just before midnight, or just after?  The answer is just after- we recommend about 12:15 or 12:20 a.m.  Why?  If you pull at 11:55 p.m. and an e-payment comes in at 11:58, you  will miss it.  If you pull at 12:15 a.m. and an e-payment comes in at 12:05, you will wind up getting it twice.  But it's a good idea for agencies to check for such duplicates anyway.  Every collection event transmitted by the web service definition has sufficient key data for  the agency to check for duplicates.

So suppose you started referring cases on Thurs. Aug 7th, and you want to run the query after close of business each Sunday (remember that Judici E-Pay takes payments on the weekend!).  Now suppose you skip the first Monday because you're not ready to pull the data in yet.  You would then do the following queries:

Important note: the web service calculates the InitialCollectionsBalance as of midnight on the referral data.  So the Adjustment data will include the adjustment, on the referral date, by which the collections fee was added to the account.  And in the odd event that the court enters some other adjustment, those would be returned by the web service.  So adjustments on the same date as the case was referred should be ignored.   The same is true of payments: the referral date should be compared to the ReceiptDate of regular payments, and the JournalDate of Audit type transactions- if there is a match, ignore the adjustment/transaction.

The case must have a non-zero amount of fees assigned to collections fees, as indicated in a Receivable element.  Note that the collections fee could still be wrong.

Data returned

The required BATCH parameter means that the web service returns all of the case details, not just search results.  It also aggregates some key elements into "flattened" XML files:

If a court has referred cases prior to the involvement of a given collection agency, that agency may find itself with withdrawal, payment or adjustment records from cases which which predate its involvement.

The service also returns the usual xml file of search Results.  But the batch/aggregate nature of the service means that this file only serves minor functions:

The service also returns, for each case in the results, a file containing a single CourtDataTransfer element.  But this is only needed for:

Data privacy override- at the request of the participating courts, the web service returns information on cases involving litigants who were minors at the time of filing.

GETCASE call

This call retrieves a litigant case available via this this web service, based on a case and litigant found using a previous search under this web serviceprevious CaseMD5 from a recent search and Litigant ID.

The SEARCHCASES call for this web service returns all the same data, so it isn't necessary to run any GETCASE calls, unless perhaps your are trying to make sure that the data you presently have on a case is correct.

https://www.judici.com/service/caseSearchService?GETCASE& USERID=n&APPID=a &KEY=0x[&COURTID=ncic] &CASEID=value from SEARCHCASES result &LITIGANTID=value from SEARCHCASES result

Authentication parameters

Keeping data in sync with the court

In Judici's xml schema, the Payment element has several attributes which hold cross-reference IDs to help the agency ensure that it is "in sync" with the court with respect to the payments on the case.

Collection agency fees

Distributed/disbursed on a given payment

In this web service, the only distribution records provided are for the SA Collections fee.  Absence of such a record usually indicates a failure by the court to distribute a portion of the payment to the collection agency.

Processing order

Naturally, referrals should be processed first.  Withdrawals should be processed last, on the off chance that there was activity (payments etc) on a case the same day a case was withdrawn.  Beyond that, order does not matter unless you are attempting to verify the snapshot/journal amounts referenced in datadefinitions.judici.com/900.  Within any given file (e.g. transaction.xml), the data should be processed in the order presented.