POST public-api/employees/GetEmployeeByRfScanAsync
The method returns active employee matching rfScan.UserIdentifier.
Request Information
URI Parameters
None.
Body Parameters
RFScanPayload| Name | Description | Type | Additional information |
|---|---|---|---|
| IsCheckout | boolean |
None. |
|
| IsCheckin | boolean |
None. |
|
| TransactionIdentifier | string |
None. |
|
| UserIdentifier | string |
None. |
|
| AssetIdentifiers | Collection of string |
None. |
|
| VerifyQualification | boolean |
None. |
|
| VerifyAssetOwner | boolean |
None. |
|
| VerifyMaintenanceNotOverdue | boolean |
None. |
Request Formats
application/json
Sample:
{
"IsCheckout": false,
"IsCheckin": true,
"TransactionIdentifier": "sample string 1",
"UserIdentifier": "sample string 2",
"AssetIdentifiers": [
"sample string 1",
"sample string 2"
],
"VerifyQualification": true,
"VerifyAssetOwner": true,
"VerifyMaintenanceNotOverdue": true
}
Response Information
Resource Description
WaspResultOfEmployeeSearchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | EmployeeSearchModel |
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": {
"EmployeeId": 1,
"EmployeeNumber": "sample string 2",
"EmployeeFirstName": "sample string 3",
"EmployeeLastName": "sample string 4",
"DepartmentId": 5,
"DepartmentName": "sample string 6",
"DepartmentCode": "sample string 7",
"LocationId": 8,
"LocationCode": "sample string 9",
"SiteName": "sample string 10",
"EmployeeEmail": "sample string 11",
"CheckedOutQuantity": 12.0
},
"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
}