Skip to content

Military Search batch integration

Verified against source (1)

  • qbo4.ContactServices.QMS/readme.md

This page is the technical reference for batch orders. For the instant API, see the Developer view. For a plain-language summary of batch, see Batch file orders in the Power user view.

Batch integration processes files of subjects instead of one search per API call. You send a request file, Military Search validates each record and runs SCRA or MLA verification against DMDC, and you receive a product file and, if enabled, DMDC certificates.

Search type Products Description
Ad-Hoc SCRA, MLA One-time verification of every subject in the file.
Monitoring SCRA Subjects are enrolled and re-verified each monitoring cycle. The output reports new searches and changes.

To verify only a few subjects, or to search in real time, use the instant API.

  1. Receive. Your request file is picked up from the agreed file exchange location and PGP-decrypted. See File exchange and File encryption.
  2. Pre-scrub. Each record is checked against the validation rules. Records that fail are not searched, and are returned with an error.
  3. Permutate. Names are parsed and permutated according to your permutation settings. This can produce several searches for one subject.
  4. Search. Each search is verified with DMDC using the DMDC verification logic.
  5. Roll up. When a subject had more than one search, the best-scored result becomes the subject’s status in the standard output.
  6. Deliver. The product file and certificate ZIPs are PGP-encrypted and placed in your pickup location.

Files are exchanged through a secure location agreed with you during onboarding, such as SFTP, Amazon S3, Azure Storage or another secure file transfer service. The location, folders and pickup schedule are set up for each client. You can use a location you host, or the Quandis sFTP server. File names follow the file naming conventions.

File Direction Format Description
Request file Client → Quandis CSV One record per subject. See SCRA request file and MLA request file.
Product file Quandis → Client CSV One file per batch. See SCRA output files and MLA product file.
Invalid file Quandis → Client CSV One file per batch. Subjects that could not be searched because of an input issue. See Invalid file.
Certificate ZIP Quandis → Client ZIP The PDF certificates for the batch. By default, they’re split into ZIPs of up to 1,000 certificates, numbered with a 3-digit sequence (001, 002, …).
Certificate Quandis → Client PDF The official DMDC certificate for one search. CertificateID in the product file links each row to its PDF.

Batch files follow these name patterns. The request file’s {DateStamp} is reused in the names of the files Quandis returns, so you can match each product file and certificate ZIP to its request.

File type Source Name pattern Sample
Request file Client {Product}.Request.{DateStamp}.csv SCRA.Request.20250527.csv
Product file Quandis {Product}.Response.{RequestFileDateStamp}.csv SCRA.Response.20250527.csv
Monitoring product file Quandis {Product}.Monitoring.Response.{RequestFileDateStamp}.csv SCRA.Monitoring.Response.20250527.csv
Invalid file Quandis {Product}.Invalid.{RequestFileDateStamp}.csv SCRA.Invalid.20250527.csv
Certificate ZIP Quandis {Product}.Images.{ImageSequence}.{RequestFileDateStamp}.zip SCRA.Images.001.20250527.zip
Monitoring certificate ZIP Quandis {Product}.Monitoring.Images.{ImageSequence}.{RequestFileDateStamp}.zip SCRA.Monitoring.Images.001.20250527.zip
Certificate Quandis {SourceReferenceNumber}.{ContactID}_{Product}_{CertificateID}.pdf LN1234567.12345_SCRA_18437B5FJ0F3K80.pdf
Token Description
{Product} SCRA or MLA.
{DateStamp} The date you created the request file, as yyyymmdd. If you send more than one file a day, make each name unique with a timestamp (yyyymmddHHmmss) or an identifier of your choosing, such as a job number. For example, SCRA.Request.20250527143000.csv or SCRA.Request.20250527-JOB1042.csv.
{RequestFileDateStamp} The {DateStamp} from the name of the request file the results belong to, including any timestamp or identifier.
{ImageSequence} The ZIP’s 3-digit sequence number, starting at 001. By default, each ZIP holds up to 1,000 certificates.
{SourceReferenceNumber} SourceReferenceNumber from the product file row.
{ContactID} ContactID from the product file row.
{CertificateID} CertificateID from the product file row.
  • PGP-encrypted files add .pgp to the end of the name. For example, SCRA.Request.20250527.csv.pgp. See File encryption.
  • You can send several request files a day, as long as each file name is unique (see {DateStamp}).
  • A file sent again with the same name is processed again, and its subjects are searched again.
  • Request and product files can use a .csv or .txt extension. Either way, the content is CSV.
  • Certificates are provided for every search or for the best-scored search only, as set up for you. See Certificates.
Setting Value
Host sftp6.quandis.com
Protocol SFTP (SSH File Transfer Protocol)
Port 22
Authentication SSH key only. RSA, 4096 bits or stronger.
Accounts Two per client: production and UAT.

To request an account:

  1. Firewall. The server’s IP addresses are not static. Allow outbound port 22 to the host name sftp6.quandis.com, not to an IP address.

  2. Keys. Create a separate key pair for each account. For example:

    Terminal window
    ssh-keygen -t rsa -b 4096 -m PEM -N "" -f quandis-sftp-uat-key
    ssh-keygen -t rsa -b 4096 -m PEM -N "" -f quandis-sftp-prod-key

    The .pub file is the public key you send to Quandis. Keep the private key.

  3. Request. Send your Quandis integration contact your company information (name, address, city, state, ZIP and country), a principal technical contact (name, title, phone, mobile for SMS and email), and the production and UAT public keys.

  4. Logins. When the accounts are set up, Quandis gives you the sFTP login name for each one.

Batch request files, product files and certificate ZIPs contain nonpublic personal information: SSN, date of birth, name and address. Protect them in transit and at rest.

  • In transit: files are exchanged through a secure location such as SFTP, Amazon S3 or Azure Storage. The connection is encrypted, but the files themselves are not.
  • At rest: PGP-encrypt the file itself, so it stays encrypted in the exchange location, in storage and in any copy, and only the intended recipient can read it.

PGP encryption is required for all batch files: request files you send to Quandis, and the product files and certificate ZIPs Quandis sends you.

Direction Encrypted with Signed with Decrypted with Signature verified with
Request file (client → Quandis) Quandis public key Your private key Quandis private key Your public key
Product file and certificate ZIP (Quandis → client) Your public key Quandis private key Your private key Quandis public key

Each party only ever holds the other party’s public key. Private keys and passphrases never leave the party that owns them.

If a request file can’t be decrypted, or its signature fails verification, the file is rejected. Quandis support is notified and will contact you.

Keys

  • Use RSA keys of at least 4096 bits. Smaller keys are not accepted.
  • Use a separate key pair for each environment (UAT and production).
  • Set an expiration date on every key, 1 to 2 years ahead, and replace the key before it expires.
  • Protect every private key with a strong passphrase. Keep keys and passphrases in a secure key store, never in source control, configuration files, tickets or email.

Exchanging keys

  • Exchange public keys only. Never send or ask for a private key or passphrase.
  • Send public keys as ASCII-armored .asc files, named for the owner and environment. For example, acme-scra-prod.asc.
  • Check every key you receive by confirming its fingerprint with the owner over a separate channel, such as a phone call to a known contact. Do not trust a fingerprint sent in the same email as the key.
  • Keep a record of each key’s fingerprint, owner, environment and expiration date.

Replacing and revoking keys

  • Send the new public key before the old one expires. Keep both until every file encrypted with the old key has been processed.
  • If a private key might be compromised, tell the other party immediately, stop using the key, and exchange a new one.

Files

  • Add .pgp to the end of the original file name. For example, SCRA.Request.20250101.csv.pgp.
  • Delete decrypted copies when processing is complete.

You can use GnuPG to create keys, and to encrypt and decrypt files.

Terminal window
# Create a key pair. Choose "RSA and RSA", 4096 bits and an expiration (for example 2y)
gpg --full-generate-key
# Show your fingerprint to confirm with Quandis
gpg --fingerprint scra@acme.com
# Export your public key to send to Quandis
gpg --armor --export scra@acme.com > acme-scra-prod.asc
# Import the Quandis public key, then confirm its fingerprint with Quandis
gpg --import quandis-scra-prod.asc
gpg --fingerprint {QuandisKeyID}
# Encrypt and sign a request file
gpg --encrypt --sign --recipient {QuandisKeyID} --output SCRA.Request.20250101.csv.pgp SCRA.Request.20250101.csv
# Decrypt a product file and check its signature
gpg --output SCRA.Response.20250101.csv --decrypt SCRA.Response.20250101.csv.pgp

Batch files are quoted, comma-separated (CSV) text files with a header row. You send a request file containing the subjects to search, and Quandis returns a product file containing the results for each subject. SCRA and MLA each have their own request and product layouts. All formats share the rules below. The column definitions for each layout follow.

Format Product Direction Description
SCRA request file SCRA Client → Quandis Subjects to search, for Ad-Hoc or Monitoring. The action column adds, updates or removes monitored accounts.
SCRA output files SCRA Quandis → Client Search results in one of two layouts: standard (one row per subject, best-scored result) or detailed (one row per search). Monitoring output adds cycle and change columns.
MLA request file MLA Client → Quandis Subjects to search, identified by SSN or ITIN.
MLA product file MLA Quandis → Client The active duty result and match result for each subject.
Invalid file SCRA, MLA Quandis → Client Subjects that could not be searched because of an input issue, with the reason.
Setting Value Description
Date format yyyymmdd The format of every Date field.
Line ending CRLF The line ending between records.
Byte order mark None Files must not begin with a byte order mark (BOM).
Quote escape "" To include a double quote inside a value, double it. For example, "JOHN ""JACK"" DOE".
  • Values are comma-separated, and every value is enclosed in double quotes (").
  • The first row is a header row with the column names.
  • Char values must not exceed their stated width.
  • Enumerated values must exactly match one of the allowed values.
  • Header names are case-sensitive, and must match the column definitions exactly.
  • Columns must appear in the documented order.
  • Extra columns are ignored.
  • Request files should contain no more than 1,000,000 records. Larger files take longer to process. Split larger batches into several request files, each with a unique name. See File naming conventions.
  • Every column must be present, even when its value is empty. A missing column causes an error.
  • An empty value is written as two double quotes (""). For example, "DOE","JANE","","987654321".
  • The Required column in each layout shows whether a value must be provided. Yes: a value is always required. No: the value can be empty. Conditional: a value is required depending on other columns, as described in the column’s description.
  • If a file is rejected, Quandis support is notified and will contact you.
  • Most clients build their files from this specification. Quandis can provide a sample file on request.

Use this layout for both Ad-Hoc and Monitoring files.

Column Field name Type Width Required Description
1 sourcereferencenumber Char 50 Yes Your reference number, such as a loan number.
2 action Enumerated Yes add enrolls the account, update updates it, and delete removes it. Accounts are identified by borrowerid. add is ignored if the account is already enrolled. update and delete are ignored if it isn’t. Ad-Hoc files always use add.
3 borrowerid Char 50 Yes Your unique identifier for the subject. It is the key that identifies the account for add, update and delete.
4 borrowertype Enumerated Yes Primary, Secondary, or 1–9.
5 lastname Char 50 Yes Last name of the subject.
6 firstname Char 50 No First name of the subject.
7 middlename Char 20 No Middle name of the subject.
8 usssn Char 9 Conditional U.S. Social Security Number. Provide usssn, birthdate or both. usssn gives a more accurate match.
9 birthdate Date 8 Conditional Date of birth. Provide usssn, birthdate or both. No earlier than 19000101 and not in the future.
10 address Char 255 No Street address.
11 city Char 50 No City.
12 state Char 2 No 2-letter U.S. state code.
13 postalcode Char 10 No ZIP or ZIP+4.
14 dateofinterest Date 8 No The date to check status on, such as the loan origination or foreclosure date. DMDC reports whether the subject was on active duty, had received notice to serve, or had served within 367 days before this date. Must be 19850930 or later and not in the future. If empty, the current date is used.

Example

"sourcereferencenumber","action","borrowerid","borrowertype","lastname","firstname","middlename","usssn","birthdate","address","city","state","postalcode","dateofinterest"
"REF987654321","add","B9876543210","Primary","DOE","JANE","L","987654321","19950315","45 North Street","Boston","MA","02110","20250101"

Example with optional fields empty

Only birthdate is provided, and dateofinterest is empty, so the current date is used.

"sourcereferencenumber","action","borrowerid","borrowertype","lastname","firstname","middlename","usssn","birthdate","address","city","state","postalcode","dateofinterest"
"REF987654322","add","B9876543211","Primary","SMITH","","","","19870622","","","","",""

Two SCRA output layouts are available, for both Ad-Hoc and Monitoring. Both use the same columns.

Layout Rows Records that fail validation
Standard (rollup) One row per request record. When a subject had several searches because of name parsing or permutations, the best-scored result is returned. Included, with Status = Invalid and the reason in Error.
Detailed One row per search performed, so a subject can appear more than once. Not included.

Columns 1–25 appear in Ad-Hoc and Monitoring files. Columns 26–30 appear only in Monitoring files.

Column Field name Type Width Required Description
1 ContactID Number Yes Quandis identifier for the subject. Use it for reconciliation.
2 SourceReferenceNumber Char 50 Yes Your reference number, such as a loan number.
3 SourceBorrowerID Char 50 Yes borrowerid from the request.
4 USSSN4 Char 4 No Last 4 digits of the SSN.
5 BirthDate Date 8 No Date of birth.
6 FirstName Char 50 No First name.
7 LastName Char 50 Yes Last name.
8 MiddleName Char 50 No Middle name.
9 Address Char 255 No Street address.
10 City Char 50 No City.
11 PostalCode Char 10 No ZIP or ZIP+4.
12 State Char 2 No 2-letter U.S. state code.
13 ContactType Enumerated Yes Primary, Secondary, or 1–9.
14 Status Enumerated Yes SCRA status. See SCRA status values.
15 DateOfInterest Date 8 Yes The date status was checked on. Must be 19850930 or later and not in the future. If empty in the request, the current date is used.
16 Branch Enumerated No Service branch: Army National Guard, Army Active Duty, Army Temporary, Army Reserve, Army Unknown, Coast Guard Active Duty, Coast Guard Reserve, Air National Guard, Air Force Active Duty, Air Force Temporary, Air Force Reserve, Public Health Services, Marine Corps Active Duty, Marine Corps Temporary, Marine Corps Reserve, Marine Corps Unknown, Navy Active Duty, Navy Temporary, Navy Reserve, Navy Unknown, Nat'l Oceanic & Atmospheric Administration, Space Force Active Duty.
17 Effective Date 8 No Active duty begin date.
18 Expires Date 8 No Active duty end date, if the subject has left active duty.
19 VerifiedDate Date 8 No Date the subject was verified.
20 CertificateID Char 15 No Identifies the certificate PDF. Empty if certificates are not enabled.
21 Error Char 255 No Why the subject could not be searched or verified. See Validation rules.
22 MatchType Enumerated No How DMDC matched the subject: Multiple records, SSN, Date of Birth, Last Name, and First Name, SSN, Date of Birth, and Last Name, SSN, Last Name, and First Name, SSN and Last Name, Last Name and Date of Birth, USSSN Match but no match on Name, Insufficient information to perform a match.
23 EIDBeginDate Date 8 No Start date of the order notification.
24 EIDEndDate Date 8 No End date of the order notification.
25 EidServiceComponent Enumerated No Branch for the order notification. Uses the Branch values.
26 Cycle Number Yes Quandis identifier for the monitoring cycle.
27 MonitorType Enumerated Yes New Search or Change.
28 Field Enumerated Yes The SCRA field that changed: ActiveDutyBeginDate, Status or ActiveDutyEndDate.
29 PreviousValue Char 50 No Value before the change.
30 CurrentValue Char 50 Yes Value after the change.
Status Description
Active On active duty, or had received notice to serve, as of the date of interest.
Discharged Left active duty within 367 days before the date of interest.
Not Found No active duty record found.
Undetermined DMDC could not determine status from the information provided.
Undetermined - Error DMDC returned an error while determining status.
Error The search could not be completed.
Invalid The record failed validation and was not searched.

Ad-Hoc example

"ContactID","SourceReferenceNumber","SourceBorrowerID","USSSN4","BirthDate","FirstName","LastName","MiddleName","Address","City","PostalCode","State","ContactType","Status","DateOfInterest","Branch","Effective","Expires","VerifiedDate","CertificateID","Error","MatchType","EIDBeginDate","EIDEndDate","EidServiceComponent"
"12345","LN1234567","BR6789","1234","19800115","JOHN","DOE","A","123 Main Street","Boston","02110","MA","Primary","Active","20250101","Army Active Duty","20230101","20250101","20250102","CERT123","","SSN, Date of Birth, and Last Name","20230101","20250101","Army Active Duty"

Monitoring example

"ContactID","SourceReferenceNumber","SourceBorrowerID","USSSN4","BirthDate","FirstName","LastName","MiddleName","Address","City","PostalCode","State","ContactType","Status","DateOfInterest","Branch","Effective","Expires","VerifiedDate","CertificateID","Error","MatchType","EIDBeginDate","EIDEndDate","EidServiceComponent","Cycle","MonitorType","Field","PreviousValue","CurrentValue"
"12345","LN1234567","BR6789","1234","19800115","JOHN","DOE","A","123 Main Street","Boston","02110","MA","Primary","Active","20250101","Army Active Duty","20230101","20250101","20250102","CERT123","","SSN, Date of Birth, and Last Name","20230101","20250101","Army Active Duty","123","New Search","Status","","Active"
Column Field name Type Width Required Description
1 PIN Char 9 Yes Person Identifier Number: an SSN or ITIN, 9 digits, with no spaces or dashes. Include leading zeros (for example, 000223334). An ITIN begins with 9.
2 BirthDate Date 8 Yes Date of birth.
3 LastName Char 26 Yes Last name.
4 FirstName Char 20 No First name.
5 MiddleName Char 20 No Middle name.
6 SourceReferenceNumber Char 28 Yes Your reference number.
7 PINTypeCode Char 1 Yes S for SSN or I for ITIN.

Example

"PIN","BirthDate","LastName","FirstName","MiddleName","SourceReferenceNumber","PINTypeCode"
"123456789","19800101","DOE","JOHN","MICHAEL","REF987654321012345678901234","S"

Example with optional fields empty

"PIN","BirthDate","LastName","FirstName","MiddleName","SourceReferenceNumber","PINTypeCode"
"987654321","19920410","SMITH","","","REF123456789012345678901234","S"
Column Field name Type Width Required Description
1 PIN Char 9 Yes PIN from the request.
2 BirthDate Date 8 Yes Date of birth.
3 LastName Char 26 Yes Last name.
4 FirstName Char 20 No First name.
5 MiddleName Char 20 No Middle name.
6 ContactID Number 20 Yes Quandis identifier for the subject. Use it for reconciliation.
7 SourceReferenceNumber Char 28 Yes SourceReferenceNumber from the request.
8 PINTypeCode Char 1 Yes S (SSN) or I (ITIN).
9 OnActiveDuty Char 1 Yes Y: the subject, or the servicemember they are a dependent of, was on active duty on the search date. N: not on active duty, and not a dependent of a servicemember on active duty. Z: no uniformed service affiliation, or a problem with the input. See MatchResultCode.
10 MatchResultCode Char 1 Yes B: matched on PIN, PIN type, date of birth and last name. Z: no match to a servicemember or dependent.
11 Error Char 1 No 1 if the subject could not be processed. Empty if there was no error.
12 DateOfMatch Date 8 Yes The date DMDC completed the match. Active duty status changes daily, so treat this as the as-of date of the result.
13 CertificateID Char 15 No Identifies the certificate PDF. Empty if certificates are not enabled.

Example

"PIN","BirthDate","LastName","FirstName","MiddleName","ContactID","SourceReferenceNumber","PINTypeCode","OnActiveDuty","MatchResultCode","Error","DateOfMatch","CertificateID"
"123456789","19800101","DOE","JOHN","MICHAEL","12345","REF987654321012345678901234","S","Y","B","","20250904","CERT123456789012"

Example with optional fields empty

No first or middle name, not on active duty, and no certificate.

"PIN","BirthDate","LastName","FirstName","MiddleName","ContactID","SourceReferenceNumber","PINTypeCode","OnActiveDuty","MatchResultCode","Error","DateOfMatch","CertificateID"
"987654321","19920410","SMITH","","","12346","REF123456789012345678901234","S","N","Z","","20250904",""

The invalid file lists the subjects that could not be searched because of an input issue, such as an invalid SSN or missing required fields. It applies to both SCRA and MLA, and is named {Product}.Invalid.{RequestFileDateStamp}.csv. See File naming conventions.

Column Field name Type Width Required Description
1 ContactID Number 20 Yes Quandis identifier for the subject. Use it for reconciliation.
2 SourceReferenceNumber Char 50 Yes Your reference number, such as a loan number.
3 SourceContactID Char 50 No Your identifier for the subject. Empty when not available. For example, MLA request files have no subject identifier.
4 Error Char 255 Yes The input issue that prevented the subject from being searched, such as Invalid SSN or Missing Required Fields. See Validation rules.

Example

"ContactID","SourceReferenceNumber","SourceContactID","Error"
"12345","LN1234567","BR6789","Invalid SSN"

Example with optional fields empty

An MLA subject, which has no SourceContactID.

"ContactID","SourceReferenceNumber","SourceContactID","Error"
"12346","REF123456789012345678901234","","Invalid SSN"

When certificates are enabled, DMDC certificates are provided as PDFs, either for every search performed or for the best-scored search only, as set up for you.

  • By default, certificates are delivered in ZIP files of up to 1,000 PDFs. See File naming conventions.
  • Each search has its own CertificateID. It appears on the certificate, in the product file row and in the certificate file name.
  • In the standard (rollup) output, the row holds the CertificateID of the best-scored search. Certificates for the subject’s other searches share the {SourceReferenceNumber}.{ContactID} prefix in their file names.
  • The footer content, and whether the DMDC search criteria screen is included, are set for each client. By default, the footer shows the source reference number and the search criteria screen is not included.

DMDC verification needs a minimum set of fields, which depends on whether the check is SCRA or MLA.

Field Type Width Required Description
SSN Char 9 Conditional Required if BirthDate is not provided. Preferred, because it gives the most accurate match.
BirthDate Date 8 Conditional Required if SSN is not provided.
LastName Char 26 Yes Last name of the subject.
MiddleName Char 20 No Middle name of the subject. Improves the match.
FirstName Char 20 No First name of the subject. Improves the match.

Names longer than these widths are truncated before they are sent to DMDC: LastName to 26 characters, and FirstName and MiddleName to 20.

SCRA searches use this cascade:

  1. If SSN is provided, the search uses SSN and LastName. FirstName, MiddleName and BirthDate are added when present, to improve the match.
  2. If SSN is not provided but BirthDate is, the search uses LastName and BirthDate.
  3. If neither is provided, the record fails validation with Missing Required Fields.
Field Type Width Required Description
PIN Char 9 Yes Person Identifier Number: an SSN or ITIN.
BirthDate Date 8 Yes Date of birth.
LastName Char 26 Yes Last name of the subject.
MiddleName Char 20 No Middle name of the subject. Improves the match.
FirstName Char 20 No First name of the subject. Improves the match.

Name permutation generates alternate first, middle and last name values from the name you provide, and verifies each one with DMDC. The SSN and birth date are used in every alternate search when they are present. The permutation model and scrub values are set for each client during onboarding. The default is the Parse and Permutate verification model with the default scrub values. See Permutations in the Power user view.

Every record is pre-scrubbed before searching. A record that fails is not sent to DMDC. In the SCRA standard output, it is returned with Status = Invalid and one of these values in Error:

Rule Error
Last name is required, and must contain at least one letter or number. Invalid Last Name
First name, if provided, must contain at least one letter or number. Invalid First Name
SSN, if provided, must be 9 numeric digits. Invalid SSN
Birth date, if provided, must be a valid yyyymmdd date, no earlier than 19000101 and not in the future. Invalid Date of Birth
SSN or birth date must be provided (SCRA). Missing Required Fields
Date of interest, if provided, must be a valid yyyymmdd date, no earlier than 19850930 and not in the future. Invalid Date

DMDC can also return this error after a search:

Error Description
Multiple Records DMDC found several records that match the information provided, and cannot identify one individual.

These are the steps to set up a batch integration, in the order you complete them. Most steps are the same for Ad-Hoc and Monitoring. Where they differ, both are shown. The configuration checklist at the end collects every decision, so you can work through it with your Quandis integration contact.

Step What you do Ad-Hoc Monitoring
1 Choose Ad-Hoc, Monitoring, or both ✓ ✓
2 Choose the file exchange location ✓ ✓
3 Agree file names ✓ ✓
4 Exchange PGP keys ✓ ✓
5 Choose output and certificate options ✓ ✓
6 Build your request files ✓ ✓
7 Test in UAT ✓ ✓
8 Go live ✓ ✓

Ad-Hoc checks every subject in a file once. Monitoring enrolls subjects and checks them again each cycle, reporting only what changed. Many clients use both: Ad-Hoc at a business event, such as boarding or a foreclosure sale, and Monitoring for the life of the account.

Ad-Hoc Monitoring
Products SCRA, MLA SCRA only
Use it to Check a set of subjects as of a date Find out when a subject’s status changes
What you send Every subject you want checked, each time Your full population once, then only additions, updates and removals
action column Always add add, update or delete
When searches run Once, when the file is processed Each monitoring cycle, until the subject is removed
What you receive A result for every subject in the file New searches and changes only
Product file name {Product}.Response.{RequestFileDateStamp}.csv {Product}.Monitoring.Response.{RequestFileDateStamp}.csv
Certificate ZIP name {Product}.Images.{ImageSequence}.{RequestFileDateStamp}.zip {Product}.Monitoring.Images.{ImageSequence}.{RequestFileDateStamp}.zip
Extra output columns None Cycle, MonitorType, Field, PreviousValue, CurrentValue
Your system must Store each result against the request Keep the current status for each subject, and apply each change as it arrives

If you choose both, Ad-Hoc and Monitoring are set up separately. Decide which folders and file names each one uses so the files are not confused.

Files are exchanged through a secure location. You can use the Quandis sFTP server, or a location you host.

Quandis sFTP server Your location
Who hosts it Quandis You (SFTP, Amazon S3, Azure Storage or another secure file transfer service)
Who manages access Quandis, using SSH keys you provide You. Give Quandis access to UAT and production.
What you set up SSH key pairs, a firewall rule, and a job to upload requests and download results The location, folders, Quandis access, and your own upload and download jobs
Suits you if You don’t already run a file exchange service, or want the quickest setup You already exchange files with vendors this way, or your policy requires data to stay on your systems

If you use the Quandis sFTP server

  1. Allow outbound port 22 to the host name sftp6.quandis.com. Its IP addresses are not static.
  2. Create an RSA SSH key pair of 4096 bits or more for each account, one for UAT and one for production. See Quandis sFTP server.
  3. Send your Quandis integration contact your company information, a principal technical contact, and the UAT and production public keys (the .pub files). Keep the private keys.
  4. Receive the sFTP login name for each account, and test that you can connect to both.

If you use your own location

  1. Set up UAT and production locations.
  2. Give Quandis the connection details and access to each one.
  3. Confirm that Quandis can connect, read request files and write product files in both environments.

For either location

  • Agree the folders for request files and returned files, for each product, each search type and each environment.
  • Agree the pickup schedule: when Quandis collects request files, and when you collect the files Quandis returns.

Quandis finds your request files, and you match the returned files to them, by name. See File naming conventions.

  1. Name request files {Product}.Request.{DateStamp}.csv, for both Ad-Hoc and Monitoring. Use folders to separate Ad-Hoc and Monitoring files.
  2. Choose your {DateStamp} format. Use yyyymmdd if you send at most one file a day per product. If you send more, add a timestamp (yyyymmddHHmmss) or a job number (yyyymmdd-JOB1042).
  3. Make every name unique. A file sent again with the same name is processed again, and every subject in it is searched again. Make sure a retried or restarted transfer can’t resend a file.
  4. Add .pgp to the end of every encrypted file name, for example SCRA.Request.20250527.csv.pgp.
  5. Match returned files to requests by {RequestFileDateStamp}, which repeats your request file’s {DateStamp}. Watch for the Monitoring part in Monitoring product files and certificate ZIPs.
  6. Choose .csv or .txt. Either is accepted. The content is CSV either way.

Every batch file is PGP-encrypted and signed. You encrypt request files with the Quandis public key and sign them with your private key. Quandis encrypts product files and certificate ZIPs with your public key and signs them with its private key. See File encryption.

  1. Create your key pairs. Create one RSA key pair of 4096 bits or more for UAT, and one for production. Set an expiration date 1 to 2 years ahead, and protect each private key with a strong passphrase.
  2. Export your public keys as ASCII-armored .asc files named for your company and environment, such as acme-scra-uat.asc and acme-scra-prod.asc.
  3. Send your public keys to your Quandis integration contact. Never send a private key or passphrase.
  4. Receive the Quandis public keys for UAT and production, and import them.
  5. Confirm fingerprints in both directions by phone with a known contact. Don’t trust a fingerprint sent in the same email as the key.
  6. Record each key with its fingerprint, owner, environment and expiration date, and set a reminder to replace it before it expires.
  7. Test the keys by encrypting and signing a UAT request file, and decrypting and verifying the UAT product file.

If a request file can’t be decrypted, or its signature fails, the file is rejected and Quandis support contacts you.

Step 5: Choose output and certificate options

Section titled “Step 5: Choose output and certificate options”
Option Choices Default Ad-Hoc Monitoring
SCRA output layout Standard (one row per subject, best-scored result) or detailed (one row per search) ✓ ✓
Name permutation model and scrub values See Name permutations Parse and Permutate, default scrub values ✓ ✓
Certificates Enabled or not ✓ ✓
Certificate scope Every search, or best-scored search only ✓ ✓
Certificates per ZIP Number of PDFs in each ZIP 1,000 ✓ ✓
Certificate footer Fields shown in the footer Source reference number ✓ ✓
DMDC search criteria screen Included or not Not included ✓ ✓

Build request files from your system of record using the SCRA request file or MLA request file layout and the format rules. Quandis can provide a sample file on request.

Ad-Hoc

  • Send every subject you want checked. Set action to add.
  • Set dateofinterest to the date you need status on, such as a foreclosure sale date. Leave it empty to use the current date.
  • Keep each file under 1,000,000 records. Split larger batches into several files with unique names.

Monitoring

  • Enroll your population. Your first file sends every subject to monitor, with action set to add. Split it into several files if it has more than 1,000,000 records.
  • Send only changes after that. Use add for new accounts, update when a subject’s details change, and delete when an account no longer needs monitoring, such as when a loan is paid off or transferred. Subjects stay enrolled until you send delete.
  • Keep borrowerid stable. It identifies the account for add, update and delete. A changed borrowerid is treated as a different account.
  • Decide how often you send changes, such as daily, as part of your pickup schedule.

Use your UAT sFTP account or location, and your UAT PGP keys.

Test Ad-Hoc Monitoring
A file is collected, decrypted and its signature verified ✓ ✓
Returned files are named as agreed, and you can decrypt and verify them ✓ ✓
Records with empty optional fields are accepted ✓ ✓
Records that break each validation rule are returned with the expected error ✓ ✓
Product file rows, the invalid file and certificates reconcile to the request ✓ ✓
A file large enough to produce several certificate ZIPs ✓ ✓
add enrolls a subject, and a later add for the same borrowerid is ignored ✓
update changes a subject’s details ✓
delete removes a subject, and it no longer appears in later cycles ✓
Your system applies changes from the Monitoring product file ✓
  1. Confirm your production sFTP account or location, folders and PGP keys.
  2. Agree the date of the first production file with your Quandis integration contact.
  3. Ad-Hoc: send your first production file on your normal schedule.
  4. Monitoring: send your enrollment file or files, then start sending changes on your agreed schedule.
  5. Check that the first production files are returned, decrypted and loaded as they were in UAT.

Work through this list with your Quandis integration contact. The Ad-Hoc and Monitoring columns show which items apply to each.

✓ Step Item Ad-Hoc Monitoring
☐ 1 Search type chosen: Ad-Hoc, Monitoring, or both ✓ ✓
☐ 1 Products chosen: SCRA, MLA, or both ✓ SCRA only
☐ 2 File exchange location chosen: Quandis sFTP or your own ✓ ✓
☐ 2 Quandis sFTP: outbound port 22 allowed to sftp6.quandis.com ✓ ✓
☐ 2 Quandis sFTP: UAT and production SSH public keys sent ✓ ✓
☐ 2 Quandis sFTP: company information and technical contact sent ✓ ✓
☐ 2 Quandis sFTP: UAT and production logins received and tested ✓ ✓
☐ 2 Your location: UAT and production access given to Quandis and tested ✓ ✓
☐ 2 Folders agreed for each product, search type and environment ✓ ✓
☐ 2 Pickup schedule agreed ✓ ✓
☐ 3 {DateStamp} format agreed, including several files a day ✓ ✓
☐ 3 File extension chosen: .csv or .txt ✓ ✓
☐ 3 Transfer job can’t resend a file with the same name ✓ ✓
☐ 3 Returned files matched to requests by {RequestFileDateStamp} ✓ ✓
☐ 4 Your UAT and production PGP public keys sent ✓ ✓
☐ 4 Quandis UAT and production PGP public keys received and imported ✓ ✓
☐ 4 Fingerprints confirmed by phone in both directions ✓ ✓
☐ 4 Key expiration dates recorded, with replacement reminders ✓ ✓
☐ 5 SCRA output layout chosen: standard or detailed ✓ ✓
☐ 5 Name permutation model and scrub values agreed ✓ ✓
☐ 5 Certificates: enabled, scope, ZIP size, footer and search criteria screen agreed ✓ ✓
☐ 6 Request files built to the layout and format rules ✓ ✓
☐ 6 Date of interest agreed: a business date, or empty for the current date ✓ ✓
☐ 6 borrowerid is stable and unique for each subject ✓
☐ 6 Enrollment file or files prepared ✓
☐ 6 Schedule for sending add, update and delete changes agreed ✓
☐ 7 UAT tests passed ✓ ✓
☐ 7 Monitoring add, update and delete tests passed ✓
☐ 8 Production folders, keys and first file date confirmed ✓ ✓