GetEmployeeUserFields
GetEmployeeUserFields
Description:
Request employees user fields details for given Company and EmployeeId that the requester is authorized to view.
Request:
https://dev02-api-gateway.moorepay.co.uk/workers/v1/Worker/GetEmployeeUserFields/{companyId}[?employeeId][&hrEmployeeId]
Request headers:
Name |
Required |
Type |
Description |
Authorization |
Yes |
string |
access token |
Request parameters:
Name |
In |
Required |
Type |
Description |
companyId |
template |
true |
string |
string[2] |
employeeId |
query |
false |
string |
string[6] |
hrEmployeeId |
query |
false |
string |
HR Employee Id |
Response example:
Response: 200 OK
{
"payrollCompanyCode": "string",
"idNumber": "string",
"hrEmployeeId": "string",
"userFieldValue1": "string",
"userFieldValue2": "string",
"userFieldValue3": "string",
"userFieldValue4": "string",
"userFieldValue5": "string",
"userFieldValue6": "string",
"userFieldValue7": "string",
"userFieldValue8": "string",
"userFieldValue9": "string",
"userFieldValue10": "string",
"userFieldValue11": "string",
"userDate2": "string",
"userDate3": "string",
"userDate4": "string",
"userDate5": "string",
"userDate6": "string",
"userDate7": "string"
}
Response: 400 Bad Request
Bad Request
Response: 401 Unauthorized
Unauthorized
Response: 404 Not Found
Not Found
Response: 405 Method Not Allowed
Method Not Allowed
Response: 500 Internal Server Error
Internal Server Error
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator