GetPayslipDetailByEmpIdandPaySlipId


Description:

This endpoint will provide details of an employee payslip to the authorized requester.


Request:

https://qa01-api-gateway.moorepay.co.uk/payrolloutput/v1/PayrollOutput/GetPayslipDetailByEmpIdandPaySlipId/{employeeId}?payslipId={payslipId}


Request headers:

Name

Required

Type

Description

Authorization

Yes

string

access token


Request parameters:

Name

In

Required

Type

Description

employeeId

template

true

string

 string[6]

paySlipId

template

true

string

 string[8]


Response example:


Response: 200 OK

{
"payslipNumber": 0.0,
"employeeNumber": "string",
"payDate": "string",
"netPay": 0.0,
"totalPayThisPeriod": 0.0,
"deductionsThisPeriod": 0.0,
"paymentMethod": "string",
"taxCode": "string",
"niNumber": "string",
"employeeName": "string",
"surname": "string",
"firstName": "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: Elevate Your Documentation Process with HelpNDoc's Advanced Features