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 inputed 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"]falsefalsestricttrueclientobjectEmpty 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]acceptDegreesbooleanacceptContextbooleanvalidationDepthstringminimalmoderatestrictsmartModebooleanclientobjectipstringcountrystringlocationobjectlatnumberlonnumberresponseobjectresultobjectisValidbooleanproposalstringvalidvalidWithSuggestioninvalidinvalidWithCorrectioninvalidWithPartialCorrectioninvalidWithSuggestioninvalidWithCorrectionWithSuggestiondataobjectnameSurnamestring | nullnamestring | nullsurnamestring | nullcontextarray[string]degreesBeforearray[string] | nulldegreesAfterarray[string] | nulldetailsarray[object]typestringnamesurnamenameSurnamevaluestringgenderstring012vocativestringnameDaysarray[object] | nullcountrystringmonthnumberdaynumbererrorsarray[object]groupstringSYNTAXtypestringCHARACTERSINVALIDUNABLE_TO_PROCESSVALUE_LENGTHVALUE_PART_EXTRAVALUE_PART_MISSINGsubtypestringNOT_ALLOWEDWHITESPACESTOO_LONGTOO_SHORTCONTEXTseveritystringinfowarningcriticalrelatedToarray[string]descriptionstringDisallowed characters were used in the value.Value contains invalid use of spaces.Value has invalid syntax.Cannot be processed due to the invalid syntax.Value is too long.Value is too short.Value contains unneccessary context.resultCorrectedobjectisValidbooleandataobjectnameSurnamestring | nullnamestring | nullsurnamestring | nullcontextarray[string]degreesBeforearray[string] | nulldegreesAfterarray[string] | nulldetailsarray[object]typestringnamesurnamenameSurnamevaluestringgenderstring012vocativestringnameDaysarray[object] | nullcountrystringmonthnumberdaynumbererrorsarray[object]groupstringSYNTAXtypestringCHARACTERSINVALIDUNABLE_TO_PROCESSVALUE_LENGTHVALUE_PART_EXTRAVALUE_PART_MISSINGsubtypestringNOT_ALLOWEDWHITESPACESTOO_LONGTOO_SHORTCONTEXTseveritystringinfowarningcriticalrelatedToarray[string]descriptionstringDisallowed characters were used in the value.Value contains invalid use of spaces.Value has invalid syntax.Cannot be processed due to the invalid syntax.Value is too long.Value is too short.Value contains unneccessary context.fixesarray[object]groupstringFORMATVALUEtypestringCHANGEDsubtypestringCASE_SENSITIVITYDIACRITICSWHITESPACESTYPONonedataobjecttypeFromstringtypestringvalueFromstringvaluestringsuggestionsarray[object]isValidbooleandataobjectnameSurnamestring | nullnamestring | nullsurnamestring | nullcontextarray[string]degreesBeforearray[string] | nulldegreesAfterarray[string] | nulldetailsarray[object]typestringnamesurnamenameSurnamevaluestringgenderstring012vocativestringnameDaysarray[object] | nullcountrystringmonthnumberdaynumbererrorsarray[object]groupstringSYNTAXtypestringCHARACTERSINVALIDUNABLE_TO_PROCESSVALUE_LENGTHVALUE_PART_EXTRAVALUE_PART_MISSINGsubtypestringNOT_ALLOWEDWHITESPACESTOO_LONGTOO_SHORTCONTEXTseveritystringinfowarningcriticalrelatedToarray[string]descriptionstringDisallowed characters were used in the value.Value contains invalid use of spaces.Value has invalid syntax.Cannot be processed due to the invalid syntax.Value is too long.Value is too short.Value contains unneccessary context.fixesarray[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