POST public-api/employees/infosearch
This method returns all active employees whose employee number, first name, last name or full name contains the specified search text. The full name is matched in both the "First Last" and "Last, First" forms. Exact matches are ordered first, then the remainder by first and last name, and at most 500 employees are returned (the tenant-configurable maximum page size). Only employees belonging to the calling application are returned. Each returned record also carries the total quantity the employee currently has checked out. Requires Allow Employee permission. Note: This is a Post API to avoid limitations inherent to passing parameters on the URL.
Request Information
URI Parameters
None.
Body Parameters
EmployeeContainsSearchParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchPattern | string |
None. |
Request Formats
application/json
{
"SearchPattern": "sample string 1"
}
Response Information
Resource Description
WaspResultOfListOfEmployeeModelInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of EmployeeModelInfo |
None. |
|
| Messages | Collection of WtResult |
None. |
|
| BatchNumber | integer |
None. |
|
| HasError | boolean |
None. |
|
| HasHttpError | boolean |
None. |
|
| HasMessage | boolean |
None. |
|
| HasSuccessWithMoreDataRemaining | boolean |
None. |
|
| TotalRecordsLongCount | integer |
None. |
Response Formats
application/json
{
"Data": [
{
"EmployeeMiddleName": "sample string 1",
"RowNumber": 2,
"EmployeeNumber": "sample string 3",
"EmployeeFirstName": "sample string 4",
"EmployeeLastName": "sample string 5",
"EmployeeTitle": "sample string 6",
"EmployeeEmail": "sample string 7",
"DepartmentCode": "sample string 8",
"SiteName": "sample string 9",
"LocationCode": "sample string 10",
"ManagerFullName": "sample string 11",
"EmployeeReportsTo": "sample string 12",
"Addresses": [
{
"AddressLine1": "sample string 2",
"AddressLine2": "sample string 3",
"AddressLine3": "sample string 4",
"AddressLine4": "sample string 5",
"AddressCity": "sample string 6",
"AddressStateProvince": "sample string 7",
"AddressCountry": "sample string 8",
"AddressPostalCode": "sample string 9",
"AddressTypeName": "sample string 10",
"ContactPhone": "sample string 11",
"ContactEmail": "sample string 12"
},
{
"AddressLine1": "sample string 2",
"AddressLine2": "sample string 3",
"AddressLine3": "sample string 4",
"AddressLine4": "sample string 5",
"AddressCity": "sample string 6",
"AddressStateProvince": "sample string 7",
"AddressCountry": "sample string 8",
"AddressPostalCode": "sample string 9",
"AddressTypeName": "sample string 10",
"ContactPhone": "sample string 11",
"ContactEmail": "sample string 12"
}
],
"PhoneNumbers": [
{
"PhoneNumber": "sample string 1",
"PhoneExtension": "sample string 2",
"PhoneTypeName": "sample string 3"
},
{
"PhoneNumber": "sample string 1",
"PhoneExtension": "sample string 2",
"PhoneTypeName": "sample string 3"
}
],
"EmployeeNote": "sample string 13",
"EmployeeNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-11-25T10:24:50.1078347+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-11-25T10:24:50.1078347+00:00",
"UserLogon": "sample string 2"
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-11-25T10:24:50.1078347+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-11-25T10:24:50.1078347+00:00",
"DcfValueRecordStatus": 0
}
],
"AttachmentsToAdd": [
"sample string 1",
"sample string 2"
],
"AttachmentsToDelete": [
"sample string 1",
"sample string 2"
],
"AttachmentNames": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"HasAttachment": true
},
{
"EmployeeMiddleName": "sample string 1",
"RowNumber": 2,
"EmployeeNumber": "sample string 3",
"EmployeeFirstName": "sample string 4",
"EmployeeLastName": "sample string 5",
"EmployeeTitle": "sample string 6",
"EmployeeEmail": "sample string 7",
"DepartmentCode": "sample string 8",
"SiteName": "sample string 9",
"LocationCode": "sample string 10",
"ManagerFullName": "sample string 11",
"EmployeeReportsTo": "sample string 12",
"Addresses": [
{
"AddressLine1": "sample string 2",
"AddressLine2": "sample string 3",
"AddressLine3": "sample string 4",
"AddressLine4": "sample string 5",
"AddressCity": "sample string 6",
"AddressStateProvince": "sample string 7",
"AddressCountry": "sample string 8",
"AddressPostalCode": "sample string 9",
"AddressTypeName": "sample string 10",
"ContactPhone": "sample string 11",
"ContactEmail": "sample string 12"
},
{
"AddressLine1": "sample string 2",
"AddressLine2": "sample string 3",
"AddressLine3": "sample string 4",
"AddressLine4": "sample string 5",
"AddressCity": "sample string 6",
"AddressStateProvince": "sample string 7",
"AddressCountry": "sample string 8",
"AddressPostalCode": "sample string 9",
"AddressTypeName": "sample string 10",
"ContactPhone": "sample string 11",
"ContactEmail": "sample string 12"
}
],
"PhoneNumbers": [
{
"PhoneNumber": "sample string 1",
"PhoneExtension": "sample string 2",
"PhoneTypeName": "sample string 3"
},
{
"PhoneNumber": "sample string 1",
"PhoneExtension": "sample string 2",
"PhoneTypeName": "sample string 3"
}
],
"EmployeeNote": "sample string 13",
"EmployeeNotes": [
{
"NoteText": "sample string 1",
"NoteDate": "2026-11-25T10:24:50.1078347+00:00",
"UserLogon": "sample string 2"
},
{
"NoteText": "sample string 1",
"NoteDate": "2026-11-25T10:24:50.1078347+00:00",
"UserLogon": "sample string 2"
}
],
"CustomFields": [
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-11-25T10:24:50.1078347+00:00",
"DcfValueRecordStatus": 0
},
{
"ImportRowNumber": 1,
"DcfLabel": "sample string 2",
"DCFDataType": 1,
"DcfTextValue": "sample string 3",
"DcfNumberValue": 1.0,
"DcfDateValue": "2026-11-25T10:24:50.1078347+00:00",
"DcfValueRecordStatus": 0
}
],
"AttachmentsToAdd": [
"sample string 1",
"sample string 2"
],
"AttachmentsToDelete": [
"sample string 1",
"sample string 2"
],
"AttachmentNames": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
],
"HasAttachment": true
}
],
"Messages": [
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
},
{
"ResultCode": 0,
"Message": "sample string 1",
"HttpStatusCode": 200,
"FieldName": "sample string 2"
}
],
"BatchNumber": 1,
"HasError": false,
"HasHttpError": false,
"HasMessage": true,
"HasSuccessWithMoreDataRemaining": false,
"TotalRecordsLongCount": 1
}