API – Search Customer by SSN

General

Sometimes, it is easiest to find a specific customer by their SSN, and you can do so via the API. This article will explain how to use the API to search customers by their SSNs.

You can also try these requests yourself on our ReadMe page—an interactive API documentation page which lists each of our requests.

To search via the API, send a POST request to the following endpoint:

https://loanpro.simnang.com/api/public/api/1/Customers/Autopal.Search()

The payload will look similar to the following:

{ 
"query":{
"bool":{
"must":[
{
"bool":{
"should":[
{
"query_string":{
"fields":[
"ssn"
],
"query": "151651566"
}
}
]
}
}
]
}
}
}
​The "query" should contain the SSN you are searching for like bolded above in the payload body. This value is stored as a string and without dashes.


How did we do?


Powered by HelpDocs (opens in a new tab)