Validate name data
Foxentry allows you to check the validity and real existence of names and their combinations. At least one parameter is required in the query. You can either write down the name separately or use nameSurname as connected parameter.
Pay attention to the query options. Especially validationDepth, which determines how strict the validation should be based on your use case. For example you'd want minimal validationDepth for web forms since you usually don't want to disturb the user too much with error messages and suggestions.
Foxentry validator is able not only to evaluate the validity of the entered information but it also can fix various typos, errors and missing data. Foxentry can also suggest more suitable alternatives to the data sent in query. Please pay attention to the result, resultCorrected and suggestions in the response.
Always check result.proposal in the response for a proposed solution by Foxentry how you should process the response in your form or application.
Headers
Api-VersionstringAuthorizationstringrequiredBody params
requestobjectrequiredqueryobjectrequiredoptionsobjectbasic["CZ", "SK"]falsefalsefullcsclientobjectEmpty fields use the example value shown in grey. Everything you type here is written into the request on the right, and the other way round.
Responses
statusintegerrequestobjectendpointstringcodestringcustomIdstring | nullqueryobjectnamestring | nullsurnamestring | nullnameSurnamestring | nulloptionsobjectdataScopestringbasicfulldataSourcearray[string]acceptDegreesbooleanacceptContextbooleancorrectionModestringfullformatsuggestionnonedataLanguagestringencsskplclientobjectipstringcountrystringlocationobjectlatnumberlonnumberresponseobjectresultobjectisValidbooleanproposalstringvalidvalidWithSuggestioninvalidinvalidWithSuggestioninvalidWithCorrectioninvalidWithCorrectionWithSuggestioninvalidWithPartialCorrectioninvalidWithPartialCorrectionWithSuggestiondataTypesobjectvalidarray[string]invalidarray[string]dataobjectnameSurnamestring | nullnamestring | nullsurnamestring | nullcontextarray[string]degreesBeforearray[string] | nulldegreesAfterarray[string] | nullvocativeNamestring | nullvocativeSurnamestring | nullvocativeNameSurnamestring | nulldetailsarray[object]typestringnamesurnamenameSurnamevaluestringgenderstring012vocativestringnameDaysarray[object] | nullerrorsarray[object]groupstringSYNTAXtypestringCHARACTERSINVALIDUNABLE_TO_PROCESSVALUE_LENGTHVALUE_PART_EXTRAVALUE_PART_MISSINGsubtypestringNOT_ALLOWEDWHITESPACESTOO_LONGTOO_SHORTCONTEXTseveritystringinfowarningcriticalrelatedToarray[string]descriptionstring | nullresultCorrectedobjectisValidbooleanproposalstringvalidvalidWithSuggestioninvalidinvalidWithCorrectioninvalidWithPartialCorrectioninvalidWithSuggestioninvalidWithCorrectionWithSuggestiondataTypesobjectvalidarray[string]invalidarray[string]dataobjectnameSurnamestring | nullnamestring | nullsurnamestring | nullcontextarray[string]degreesBeforearray[string] | nulldegreesAfterarray[string] | nullvocativeNamestring | nullvocativeSurnamestring | nullvocativeNameSurnamestring | nulldetailsarray[object]typestringnamesurnamenameSurnamevaluestringgenderstring012vocativestringnameDaysarray[object] | nullerrorsarray[object]groupstringSYNTAXtypestringCHARACTERSINVALIDUNABLE_TO_PROCESSVALUE_LENGTHVALUE_PART_EXTRAVALUE_PART_MISSINGsubtypestringNOT_ALLOWEDWHITESPACESTOO_LONGTOO_SHORTCONTEXTseveritystringinfowarningcriticalrelatedToarray[string]descriptionstring | nullfixesarray[object]groupstringFORMATVALUEtypestringCHANGEDsubtypestringCASE_SENSITIVITYDIACRITICSWHITESPACESTYPONonedataobjecttypeFromstringtypestringvalueFromstringvaluestringsuggestionsarray[object]isValidbooleanproposalstringvalidvalidWithSuggestioninvalidinvalidWithCorrectioninvalidWithPartialCorrectioninvalidWithSuggestioninvalidWithCorrectionWithSuggestiondataTypesobjectvalidarray[string]invalidarray[string]dataobjectnameSurnamestring | nullnamestring | nullsurnamestring | nullcontextarray[string]degreesBeforearray[string] | nulldegreesAfterarray[string] | nullvocativeNamestring | nullvocativeSurnamestring | nullvocativeNameSurnamestring | nulldetailsarray[object]typestringnamesurnamenameSurnamevaluestringgenderstring012vocativestringnameDaysarray[object] | nullerrorsarray[object]groupstringSYNTAXtypestringCHARACTERSINVALIDUNABLE_TO_PROCESSVALUE_LENGTHVALUE_PART_EXTRAVALUE_PART_MISSINGsubtypestringNOT_ALLOWEDWHITESPACESTOO_LONGTOO_SHORTCONTEXTseveritystringinfowarningcriticalrelatedToarray[string]descriptionstring | nullfixesarray[object]groupstringFORMATVALUEtypestringCHANGEDsubtypestringCASE_SENSITIVITYDIACRITICSWHITESPACESTYPONonedataobjecttypeFromstringtypestringvalueFromstringvaluestringerrorsarray[string]statusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstringstatusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstringstatusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstringstatusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstringstatusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstringstatusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstringstatusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstringstatusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstringstatusintegererrorsarray[object]groupstringREQUESTAUTHVALUESERVERtypestringsubtypestring | nullseveritystringcriticalwarninginforelatedToarray[string]descriptionstring