This is the Global Name request.
Note: A License Key is required with either Company or FullName for this request.
Required. The License Key issued by Melissa.
Options - Pass in options you want to set for the request. Options are listed in the OptionName:Parameter format with multiple options delimited with a ,.
CorrectFirstName:< ON | OFF >-ONwill allow first name misspelling corrections. Default isOFF, preserve first name spellings; no correction allowed.GenderAggression:< Code or Name >- Set how aggressively the service will attempt to genderize neutral first names. By default, Global Name will assign a value of “N” when attempting to genderize a first name that can easily be male or female, such as “Taylor,” “Chris,” or “Pat.” Using this property in conjunction with the GenderPopulation option, you can instruct the service on how much preference to give one gender over the other when assigning a gender to a normally neutral name.Either the
CodeorNamelisted below can be used to set the action. For example,GENDERAGGRESSION:2andGENDERAGGRESSION:Neutralare equivalent.1orAggressive- Aggressive name genderizing.2orNeutral- Default. Neutral name genderizing.3orConservative- Conservative name genderizing.
GenderPopulation:< Code or Name >- Set the gender balance of the source data, predominantly male, predominantly female, or neutral. If you know that the majority of inputted names will be predominantly one gender, meaning that gender-neutral names will likely be of a particular gender, use this property to set the gender bias while genderizing names.Either the
CodeorNamelisted below can be used to set the action. For example,GENDERPOPULATION:3andGENDERPOPULATION:Femaleare equivalent settings.1orMale- Bias towards Male.2orMixed- Default. No bias towards either gender.3orFemale- Bias towards Female.
LegacySalutation:< ON | OFF >- US/CAN only. This option will create a formal (Mr/Mrs) salutation from an assigned FirstName gender for US/CAN. Default isOFF.NameHint:< Code or Name >- This option sets the most likely format of the FullName input string. This helps the service in cases where the order and formatting of the FullName input string are unclear.- Full or normal name order is: <Prefix> <First> <Middle> <Last> <Suffix>.
- Inverse name order is: <Last> <Suffix>, <Prefix> <First> <Middle>.
Either the
CodeorNamelisted below can be used to set the action. For example,NAMEHINT:4andNAMEHINT:Varyingare equivalent settings.1orDefinitelyFull- Name will always be treated as normal name order regardless of formatting or punctuation.4orVarying- Default. If necessary, statistical logic will be employed to determine name order, with no bias toward either name order.7orDefinitelyInverse- Name will always be treated as inverse name order, regardless of formatting or punctuation.
OverrideTransPrefix:< false | true >- US/CAN only. This option enables overwriting existing prefixes if an identified suffix has an associated prefix. Default isfalse.RmTransSuffix:< false | true >- US/CAN only. This option enables or disables the removal ofTransformSuffixif it exists. Default isfalse.Salutation:< Formal | Informal | FirstLast | Slug | Blank >- This option creates a pipe delimited list of preferred salutation formats and precedence to use when generating salutations. There are five possible formats to use for creating salutations. The options in default order are:Formal- (e.g., "Mr. Smith MD")Informal- (e.g., "John")FirstLast- (e.g., "John Smith")Slug- (e.g., "Valued Customer")Blank- (e.g., "")
example:
opt=Salutation:Formal|FirstLast|Blank|Informal- This requests a formal salutation to be built where possible but would rather have a blank salutation than an informal salutation (this could replace a blank with a proprietary slug like ‘Valued Customer:’).SalutationPrefix:<your-custom-prefix>- US/CAN only. Sets the prefix for the salutation name. Default value isDear.SalutationSlug:<your-custom-slug>- US/CAN only. Sets the text for substituting a name in salutations. Default value isValued Customer.SalutationSuffix:<your-custom-suffix>- US/CAN only. Sets the suffix for the salutation name. Default value is:.StandardizeName:< ON | OFF >- This option enables or disables standardization of First, Middle and Last names allowing the user to retain original casing or prevent complex last name prefix modifications (such asSt.orO'name overrides.) Default isON.StripPunctuation:< false | true >- This option enables or disables the removal of periods (.) from the name. Default isfalse.TransformSuffix:< false | true >- US/CAN only. This option enables the creation of a limited number of associated prefixes likeDr.when the name contains an identified suffix such asMDorPhD. Default isfalse.
curl -i -X GET \
'https://globalname.melissadata.net/V3/WEB/GlobalName/doGlobalName?id={REPLACE-WITH-YOUR-LICENSE-KEY}&full=Doktor+Enna+Sch%C3%A4fer&ctry=DE' \
-H 'Accept: */*' \
-H 'Content-Type: application/json'Global Name Response.
Returns result codes for the request as a whole. For more information, see Global Name Result Codes.
- application/json
- application/xml
{ "Version": "9.4.1.4127", "TransmissionReference": "Global Name Test", "TransmissionResults": "", "TotalRecords": "1", "Records": [ { … } ] }