Global Name:Response: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ GlobalNameNav | {{ GlobalNameNav | ||
| | |InputOutputCollapse= | ||
}} | }} | ||
Line 18: | Line 18: | ||
!Field Name !! Level !! JSON/XML | !Field Name !! Level !! JSON/XML | ||
|- | |- | ||
|Version||rowspan="4" valign="center"| | |Version||rowspan="4" valign="center"|Response (Base)||Version | ||
|- | |- | ||
|Transmission Reference||TransmissionReference | |Transmission Reference||TransmissionReference | ||
Line 26: | Line 26: | ||
|Total Records||TotalRecords | |Total Records||TotalRecords | ||
|- | |- | ||
|Record ID||rowspan=" | |Record ID||rowspan="21" valign="center"|Record||RecordID | ||
|- | |- | ||
|Results||Results | |Results||Results | ||
Line 32: | Line 32: | ||
|Company||Company | |Company||Company | ||
|- | |- | ||
|Name Prefix|| | |Name Prefix||NamePrefix | ||
|- | |- | ||
|Name First||NameFirst | |Name First||NameFirst | ||
Line 41: | Line 41: | ||
|- | |- | ||
|Name Suffix||NameSuffix | |Name Suffix||NameSuffix | ||
|- | |||
|Nickname||NameNickname | |||
|- | |||
|Professional Title||NameProfTitle | |||
|- | |- | ||
|Gender||Gender | |Gender||Gender | ||
|- | |- | ||
|Name Prefix 2|| | |Name Prefix 2||NamePrefix2 | ||
|- | |- | ||
|Name First 2||NameFirst2 | |Name First 2||NameFirst2 | ||
Line 53: | Line 57: | ||
|- | |- | ||
|Name Suffix 2||NameSuffix2 | |Name Suffix 2||NameSuffix2 | ||
|- | |||
|Nickname 2||NameNickname2 | |||
|- | |||
|Professional Title 2||NameProfTitle2 | |||
|- | |- | ||
|Gender 2||Gender2 | |Gender 2||Gender2 | ||
|- | |||
|Salutation||Salutation | |||
|- | |||
|Extras||Extras | |||
|} | |} | ||
Line 154: | Line 166: | ||
<h3 style="background-color:rgb(240,240,240);">Company</h3> | <h3 style="background-color:rgb(240,240,240);">Company</h3> | ||
:This is a string value of the standardized company name. | :This is a string value of the standardized company name. For non-US/CAN records, Known company identifiers (like Corp., GmbH, etc.) will be special cased. All other words will be proper cased. In other words, we don’t make the distinction between acronyms and regular Company names. | ||
:{| class="alternate01" | :{| class="alternate01" | ||
Line 165: | Line 177: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name Prefix</h3> | ||
:This is a string value of the first prefix (such as “Mr.” or “Dr.”) from an inputted full name. | :This is a string value of the first prefix (such as “Mr.” or “Dr.”) from an inputted full name. | ||
Line 173: | Line 185: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON||<code>" | |JSON||<code>"NamePrefix":"'''''string'''''"</code> | ||
|- | |- | ||
|SOAP/XML||<code>< | |SOAP/XML||<code><NamePrefix>'''''string'''''</NamePrefix></code> | ||
|} | |} | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name First</h3> | ||
:This is a string value of the first name from an inputted full name. | :This is a string value of the first name from an inputted full name. | ||
Line 193: | Line 205: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name Middle</h3> | ||
:This is a string value of the middle name from an inputted full name. | :This is a string value of the middle name from an inputted full name. | ||
Line 207: | Line 219: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name Last</h3> | ||
:This is a string value of the last name from an inputted full name. | :This is a string value of the last name from an inputted full name. | ||
Line 221: | Line 233: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name Suffix</h3> | ||
:This is a string value of the first suffix (such as “Jr.” or “III”) from an inputted full name. | :This is a string value of the first suffix (such as “Jr.” or “III”) from an inputted full name. | ||
Line 232: | Line 244: | ||
|- | |- | ||
|SOAP/XML||<code><NameSuffix>'''''string'''''</NameSuffix></code> | |SOAP/XML||<code><NameSuffix>'''''string'''''</NameSuffix></code> | ||
|} | |||
<h3 style="background-color:rgb(240,240,240);">Nickname</h3> | |||
:This is a string value of an identified nickname from an inputted full name. | |||
:A nickname is defined as an internal string surrounded by one of the nickname identifying characters [double quote], [single quote] or [parenthesis]. The identified nickname will be returned unstandardized with the identifier intact. | |||
:{| class="alternate01" | |||
!Protocol !! Syntax | |||
|- | |||
|JSON||<code>"NameNickname":"'''''string'''''"</code> | |||
|- | |||
|XML||<code><NameNickname>'''''string'''''</NameNickname></code> | |||
|} | |||
<h3 style="background-color:rgb(240,240,240);">Professional Title</h3> | |||
:This is a string value of the professional title from an inputted full name. | |||
:Many countries within the European union identify professional titles as a datatype preceding the first name but separate from a name prefix. | |||
:{| class="alternate01" | |||
!Protocol !! Syntax | |||
|- | |||
|JSON||<code>"NameProfTitle":"'''''string'''''"</code> | |||
|- | |||
|XML||<code><NameProfTitle>'''''string'''''</NameProfTitle></code> | |||
|} | |} | ||
Line 260: | Line 300: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name Prefix 2</h3> | ||
:This is a string value of the second prefix (such as “Mr.” or “Dr.”) from an inputted full name. | :This is a string value of the second prefix (such as “Mr.” or “Dr.”) from an inputted full name. | ||
Line 268: | Line 308: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON||<code>" | |JSON||<code>"NamePrefix2":"'''''string'''''"</code> | ||
|- | |- | ||
|SOAP/XML||<code>< | |SOAP/XML||<code><NamePrefix2>'''''string'''''</NamePrefix2></code> | ||
|} | |} | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name First 2</h3> | ||
:This is a string value of the second first name from an inputted full name. | :This is a string value of the second first name from an inputted full name. | ||
Line 288: | Line 328: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name Middle 2</h3> | ||
:This is a string value of the second middle name from an inputted full name. | :This is a string value of the second middle name from an inputted full name. | ||
Line 302: | Line 342: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name Last 2</h3> | ||
:This is a string value of the second last name from an inputted full name. | :This is a string value of the second last name from an inputted full name. | ||
Line 316: | Line 356: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Name Suffix 2</h3> | ||
:This is a string value of the second suffix (such as “Jr.” or “III”) from an inputted full name. | :This is a string value of the second suffix (such as “Jr.” or “III”) from an inputted full name. | ||
Line 330: | Line 370: | ||
<h3 style="background-color:rgb(240,240,240);"> | <h3 style="background-color:rgb(240,240,240);">Nickname 2</h3> | ||
:This is a string value of an identified nickname from an inputted full name. | |||
:A nickname is defined as an internal string surrounded by one of the nickname identifying characters [double quote], [single quote] or [parenthesis]. The identified nickname will be returned unstandardized with the identifier intact. | |||
:If the FullName input property contained multiple names, the nickname of the second name will be returned here. | |||
:{| class="alternate01" | |||
!Protocol !! Syntax | |||
|- | |||
|JSON||<code>"NameNickname2":"'''''string'''''"</code> | |||
|- | |||
|XML||<code><NameNickname2>'''''string'''''</NameNickname2></code> | |||
|} | |||
<h3 style="background-color:rgb(240,240,240);">Professional Title 2</h3> | |||
:This is a string value of the professional title from an inputted full name. | |||
:Many countries within the European union identify professional titles as a datatype preceding the first name but separate from a name prefix. | |||
:If the FullName input property contained multiple names, the professional title of the second name will be returned here. | |||
:{| class="alternate01" | |||
!Protocol !! Syntax | |||
|- | |||
|JSON||<code>"NameProfTitle2":"'''''string'''''"</code> | |||
|- | |||
|XML||<code><NameProfTitle2>'''''string'''''</NameProfTitle2></code> | |||
|} | |||
<h3 style="background-color:rgb(240,240,240);">Gender 2</h3> | |||
:This is a one-character string value indicating the gender of the inputted full name. | :This is a one-character string value indicating the gender of the inputted full name. | ||
Line 354: | Line 426: | ||
|- | |- | ||
|SOAP/XML||<code><Gender2>'''''string'''''</Gender2></code> | |SOAP/XML||<code><Gender2>'''''string'''''</Gender2></code> | ||
|} | |||
<h3 style="background-color:rgb(240,240,240);">Salutation</h3> | |||
:This is a string value of the response’s name properties which can be used to create a salutation format. | |||
:{| class="alternate01" | |||
!Protocol !! Syntax | |||
|- | |||
|JSON||<code>"Salutation":"'''''string'''''"</code> | |||
|- | |||
|SOAP/XML||<code><Salutation>'''''string'''''</Salutation></code> | |||
|} | |||
<h3 style="background-color:rgb(240,240,240);">Extras</h3> | |||
:This is a string value of the input words not associated with a parsed name part. | |||
:{| class="alternate01" | |||
!Protocol !! Syntax | |||
|- | |||
|JSON||<code>"Extras":"'''''string'''''"</code> | |||
|- | |||
|SOAP/XML||<code><Extras>'''''string'''''</Extras></code> | |||
|} | |} | ||
Latest revision as of 18:21, 29 February 2024
Global Name Navigation | |||||||
---|---|---|---|---|---|---|---|
| |||||||
| |||||||
| |||||||
| |||||||
Sample Code |
Response
A response is the result of a request. This consists of returned results codes and parsed name elements.
Depending on the protocol used to make the request, the response will be in a certain protocol. Global Name supports the JSON, JSONP, SOAP, and XML protocols.
Field Names
This is a list of the response field names and their protocol naming conventions.
Field Name | Level | JSON/XML |
---|---|---|
Version | Response (Base) | Version |
Transmission Reference | TransmissionReference | |
Transmission Results | TransmissionResults | |
Total Records | TotalRecords | |
Record ID | Record | RecordID |
Results | Results | |
Company | Company | |
Name Prefix | NamePrefix | |
Name First | NameFirst | |
Name Middle | NameMiddle | |
Name Last | NameLast | |
Name Suffix | NameSuffix | |
Nickname | NameNickname | |
Professional Title | NameProfTitle | |
Gender | Gender | |
Name Prefix 2 | NamePrefix2 | |
Name First 2 | NameFirst2 | |
Name Middle 2 | NameMiddle2 | |
Name Last 2 | NameLast2 | |
Name Suffix 2 | NameSuffix2 | |
Nickname 2 | NameNickname2 | |
Professional Title 2 | NameProfTitle2 | |
Gender 2 | Gender2 | |
Salutation | Salutation | |
Extras | Extras |
Response Elements
The following elements are the basic options for each request. These apply to the entire response, not the individual records.
Version
- This is a string value that is the current revision number of Global Name.
Protocol Syntax JSON "Version":"string"
SOAP/XML <Version>string</Version>
Transmission Reference
- This is a string value that serves as a unique identifier for this set of records. It is returned as sent by the Request Array, allowing you to match the Response to the Request.
Protocol Syntax JSON "TransmissionReference":"string"
SOAP/XML <TransmissionReference>string</TransmissionReference>
Transmission Results
- This is a string value that lists error codes from any errors caused by the most recent request as a whole.
- For a complete list of error codes, see Global Name Result Codes.
Protocol Syntax JSON "TransmissionResults":"string"
SOAP/XML <TransmissionResults>string</TransmissionResults>
Total Records
- This is a string value that is the total number of records returned with the response.
Protocol Syntax JSON "TotalRecords":"string"
SOAP/XML <TotalRecords>string</TotalRecords>
Response Record Elements
JSON will only contain the Records element.
Protocol Definition JSON Each record will be contained within [{}] under the Records element. SOAP XML
Each of the following elements are returned for each record in the Response Array.
Record ID
- This is a string value that is a unique identifier for the current record if one was sent in the request. Use this element to match a request record and the corresponding response record.
Protocol Syntax JSON "RecordID":"string"
SOAP/XML <RecordID>string</RecordID>
Results
- This is a string value with comma delimited status, error codes, and change codes for the record.
- For a complete list of codes, see Global Name Result Codes.
Protocol Syntax JSON "Results":"string"
SOAP/XML <Results>string</Results>
Company
- This is a string value of the standardized company name. For non-US/CAN records, Known company identifiers (like Corp., GmbH, etc.) will be special cased. All other words will be proper cased. In other words, we don’t make the distinction between acronyms and regular Company names.
Protocol Syntax JSON "Company":"string"
SOAP/XML <Company>string</Company>
Name Prefix
- This is a string value of the first prefix (such as “Mr.” or “Dr.”) from an inputted full name.
- If the FullName input property contained a single name, the prefix, if any, will be returned here. If two names were passed, the first of the two prefixes will be returned by this property.
Protocol Syntax JSON "NamePrefix":"string"
SOAP/XML <NamePrefix>string</NamePrefix>
Name First
- This is a string value of the first name from an inputted full name.
- If the FullName input property contained a single name, the first name, if any, will be returned here. If two names were passed, the first of the two first names will be returned by this property.
Protocol Syntax JSON "NameFirst":"string"
SOAP/XML <NameFirst>string</NameFirst>
Name Middle
- This is a string value of the middle name from an inputted full name.
- If the FullName input property contained a single name, the middle name, if any, will be returned here. If two names were passed, the first of the two middle names will be returned by this property.
Protocol Syntax JSON "NameMiddle":"string"
SOAP/XML <NameMiddle>string</NameMiddle>
Name Last
- This is a string value of the last name from an inputted full name.
- If the FullName input property contained a single name, the last name, if any, will be returned here. If two names were passed, the first of the two last names will be returned by this property.
Protocol Syntax JSON "NameLast":"string"
SOAP/XML <NameLast>string</NameLast>
Name Suffix
- This is a string value of the first suffix (such as “Jr.” or “III”) from an inputted full name.
- If the FullName input property contained a single name, the suffix, if any, will be returned here. If two names were passed, the first of the two suffixes will be returned by this property.
Protocol Syntax JSON "NameSuffix":"string"
SOAP/XML <NameSuffix>string</NameSuffix>
Nickname
- This is a string value of an identified nickname from an inputted full name.
- A nickname is defined as an internal string surrounded by one of the nickname identifying characters [double quote], [single quote] or [parenthesis]. The identified nickname will be returned unstandardized with the identifier intact.
Protocol Syntax JSON "NameNickname":"string"
XML <NameNickname>string</NameNickname>
Professional Title
- This is a string value of the professional title from an inputted full name.
- Many countries within the European union identify professional titles as a datatype preceding the first name but separate from a name prefix.
Protocol Syntax JSON "NameProfTitle":"string"
XML <NameProfTitle>string</NameProfTitle>
Gender
- This is a one-character string value indicating the gender of the first name from the input.
Code Description M Male F Female U Unknown first name or no first name present N A neutral first name
Protocol Syntax JSON "Gender":"string"
SOAP/XML <Gender>string</Gender>
Name Prefix 2
- This is a string value of the second prefix (such as “Mr.” or “Dr.”) from an inputted full name.
- If the FullName input property contained multiple names, the second prefix will be returned here.
Protocol Syntax JSON "NamePrefix2":"string"
SOAP/XML <NamePrefix2>string</NamePrefix2>
Name First 2
- This is a string value of the second first name from an inputted full name.
- If the FullName input property contained multiple names, the second first name will be returned here.
Protocol Syntax JSON "NameFirst2":"string"
SOAP/XML <NameFirst2>string</NameFirst2>
Name Middle 2
- This is a string value of the second middle name from an inputted full name.
- If the FullName input property contained multiple names, the second middle name, if any, will be returned here.
Protocol Syntax JSON "NameMiddle2":"string"
SOAP/XML <NameMiddle2>string</NameMiddle2>
Name Last 2
- This is a string value of the second last name from an inputted full name.
- If the FullName input property contained multiple names, the second last name, if any, will be returned here.
Protocol Syntax JSON "NameLast2":"string"
SOAP/XML <NameLast2>string</NameLast2>
Name Suffix 2
- This is a string value of the second suffix (such as “Jr.” or “III”) from an inputted full name.
- If the FullName input property contained multiple names, the second suffix, if any, will be returned here.
Protocol Syntax JSON "NameSuffix2":"string"
SOAP/XML <NameSuffix2>string</NameSuffix2>
Nickname 2
- This is a string value of an identified nickname from an inputted full name.
- A nickname is defined as an internal string surrounded by one of the nickname identifying characters [double quote], [single quote] or [parenthesis]. The identified nickname will be returned unstandardized with the identifier intact.
- If the FullName input property contained multiple names, the nickname of the second name will be returned here.
Protocol Syntax JSON "NameNickname2":"string"
XML <NameNickname2>string</NameNickname2>
Professional Title 2
- This is a string value of the professional title from an inputted full name.
- Many countries within the European union identify professional titles as a datatype preceding the first name but separate from a name prefix.
- If the FullName input property contained multiple names, the professional title of the second name will be returned here.
Protocol Syntax JSON "NameProfTitle2":"string"
XML <NameProfTitle2>string</NameProfTitle2>
Gender 2
- This is a one-character string value indicating the gender of the inputted full name.
- If the FullName input property contained multiple names, the gender of the second name will be returned here.
Code Description M Male F Female U Unknown first name or no first name present N A neutral first name
Protocol Syntax JSON "Gender2":"string"
SOAP/XML <Gender2>string</Gender2>
Salutation
- This is a string value of the response’s name properties which can be used to create a salutation format.
Protocol Syntax JSON "Salutation":"string"
SOAP/XML <Salutation>string</Salutation>
Extras
- This is a string value of the input words not associated with a parsed name part.
Protocol Syntax JSON "Extras":"string"
SOAP/XML <Extras>string</Extras>