POST public-api/employees/getemployeesbynumber-v2

This method returns existing employees by number. 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

Collection of string

Request Formats

application/json

Sample:
[
  "sample string 1",
  "sample string 2"
]



Response Information

Resource Description

WaspResultOfListOfWaspResultOfEmployeeModelInfo
NameDescriptionTypeAdditional information
Data

Collection of WaspResultOfEmployeeModelInfo

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

Sample:
{
  "Data": [
    {
      "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-07-26T01:14:47.7136387+00:00",
            "UserLogon": "sample string 2"
          },
          {
            "NoteText": "sample string 1",
            "NoteDate": "2026-07-26T01:14:47.7136387+00:00",
            "UserLogon": "sample string 2"
          }
        ],
        "CustomFields": [
          {
            "ImportRowNumber": 1,
            "DcfLabel": "sample string 2",
            "DCFDataType": 1,
            "DcfTextValue": "sample string 3",
            "DcfNumberValue": 1.0,
            "DcfDateValue": "2026-07-26T01:14:47.7136387+00:00",
            "DcfValueRecordStatus": 0
          },
          {
            "ImportRowNumber": 1,
            "DcfLabel": "sample string 2",
            "DCFDataType": 1,
            "DcfTextValue": "sample string 3",
            "DcfNumberValue": 1.0,
            "DcfDateValue": "2026-07-26T01:14:47.7136387+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
    },
    {
      "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-07-26T01:14:47.7136387+00:00",
            "UserLogon": "sample string 2"
          },
          {
            "NoteText": "sample string 1",
            "NoteDate": "2026-07-26T01:14:47.7136387+00:00",
            "UserLogon": "sample string 2"
          }
        ],
        "CustomFields": [
          {
            "ImportRowNumber": 1,
            "DcfLabel": "sample string 2",
            "DCFDataType": 1,
            "DcfTextValue": "sample string 3",
            "DcfNumberValue": 1.0,
            "DcfDateValue": "2026-07-26T01:14:47.7136387+00:00",
            "DcfValueRecordStatus": 0
          },
          {
            "ImportRowNumber": 1,
            "DcfLabel": "sample string 2",
            "DCFDataType": 1,
            "DcfTextValue": "sample string 3",
            "DcfNumberValue": 1.0,
            "DcfDateValue": "2026-07-26T01:14:47.7136387+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
    }
  ],
  "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
}