GET api/orgPersonSearch/search?LastName={LastName}&FirstName={FirstName}&EntityID={EntityID}
Get matching values from the PersonSearchVw view
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| LastName | string |
Required |
|
| FirstName | string |
Required |
|
| EntityID | integer |
Default value is -1 |
Body Parameters
None.
Response Information
Resource Description
orgPersonSearchResult| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonID | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| PersonName | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| PhoneNumber | string |
None. |
|
| EmailAddress | string |
None. |
|
| MediaURL | string |
None. |
|
| EntityPersonID | integer |
None. |
|
| EntityID | integer |
None. |
|
| Title | string |
None. |
|
| EntityName | string |
None. |
|
| IsUser | boolean |
None. |
|
| results | Collection of ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"results": null,
"PersonID": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"PersonName": "sample string 4",
"IsActive": true,
"CreatedBy": 6,
"CreatedDate": "2025-12-06T23:39:36.2926161+00:00",
"UpdatedBy": 8,
"UpdatedDate": "2025-12-06T23:39:36.2926161+00:00",
"PhoneNumber": "sample string 10",
"EmailAddress": "sample string 11",
"MediaURL": "sample string 12",
"EntityPersonID": 13,
"EntityID": 14,
"Title": "sample string 15",
"EntityName": "sample string 16",
"IsUser": true
}
application/xml, text/xml
Sample:
<orgPersonSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
<results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
<CreatedBy>6</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:39:36.2926161Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<EmailAddress>sample string 11</EmailAddress>
<EntityID>14</EntityID>
<EntityName>sample string 16</EntityName>
<EntityPersonID>13</EntityPersonID>
<FirstName>sample string 2</FirstName>
<IsActive>true</IsActive>
<IsUser>true</IsUser>
<LastName>sample string 3</LastName>
<MediaURL>sample string 12</MediaURL>
<PersonID>1</PersonID>
<PersonName>sample string 4</PersonName>
<PhoneNumber>sample string 10</PhoneNumber>
<Title>sample string 15</Title>
<UpdatedBy>8</UpdatedBy>
<UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-06T23:39:36.2926161Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</UpdatedDate>
</orgPersonSearchResult>