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 by sending a POST request to the following endpoint:
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.