question

Upvotes
Accepted
3 2 2 6

search request for a last name

is it possible to built search request just for a last name (without specifying company or permid)?

how such a request for 'Person' data should be constructed?

permid-apiintelligent-tagging-apiopen-permid-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @EA_MZ ,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@EA_MZ

The entity search doesn't support the person entity. Therefore, you need to use a matching API to match the name to the person entity.

However, to use the matching API with the person entity, it requires at least [firstname,lastname,companypermid] or [firstname,lastname,companyname].

person="""
LocalID,FirstName,MiddleName,PreferredName,LastName,CompanyPermID,CompanyName,NamePrefix,NameSuffix
1,Satya,,,Nadella,,Microsoft Corp,,
2,Satya,,,Nadella,4295907168,,,
3,Martin,,,Jetter,,International Business Machines Corp,,
4,Martin,,,Jetter,,IBM,,
"""
output,err = opid.match(person,dataType="Person", raw_output=False)
output


1627613603968.png


1627613603968.png (67.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.