API - Search Customer by SSN

General

Sometimes, it is easiest to find a specific customer by their SSN. This can be done through the API using the following request:

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

The payload should look something like this:

{ 
"query":{
"bool":{
"must":[
{
"bool":{
"should":[
{
"query_string":{
"fields":[
"ssn"
],
"query": "526948235"
}
}
]
}
}
]
}
}
}

​The "query" should contain the SSN you are searching for. This should be only numbers, as that's the way it's stored.


How did we do?


Powered by HelpDocs (opens in a new tab)