GetEmployeeTimesheetsById


Description:

Request employee time sheets for given Company that the requester is authorized to view.


Request:

https://qa01-api-gateway.moorepay.co.uk/timeandattendance/v1/TimeAndAttendance/GetEmployeeTimesheetsById/{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": 0.0,
"idNumber": "string",
"hrEmployeeId": "string",
"transactionId": "string",
"employeeName": "string",
"date": "string",
"startTime": "string",
"endTime": "string",
"breakTime": 0.0,
"payCode": "string",
"department": "string",
"costCentre": "string",
"occupationCode": 0.0,
"basicHours": 0.0,
"hours": 0.0,
"rate": 0.0,
"units": 0.0,
"value": 0.0,
"status": 0.0,
"managerComments": "string",
"employeeComments": "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: Revolutionize Your Documentation Output with a Help Authoring Tool