This document provides information about the PurePro public API endpoints associated with payslip and remittance operations and their objects.
Common operations;
Used to retrieve a resource
Used to Create a new resource
Used to Modify/Update a resource
Please select one of the options below: -
Method:
Base URL: {{publicApiUrl}}/Payslip/RateDetail/{{accountReference}}/{{businessUnitReference}}/20231701000?rateReference=1000&page=1&size=100
To get details from a payslip or remittance via public API you need to pass the account and business unit reference to the base URL with the required parameters in the URL.
Account
- Cannot be Null
- You must select an existing Account
Business Unit
- Cannot be Null
- You must select an existing Business Unit
- Cannot be Blank
- Cannot be NULL
- Must be provided in the following format
- Cannot be Blank
- Cannot be NULL
- Can be Left Blank
- If provided, must be in Decimals.
- Can be Left Blank
- If provided, must be in Decimals.
If the results are displayed, then it should return 200 OK with results like this below:
{"accountReference": "Test 1",
"businessUnitReference": "BU1",
"periodId": 20231701000,
"rateReference": "1000",
"rateDescription": "Basic Pay",
"weekEndingDate": "2023-07-21T00:00:00",
"page": 1,
"size": 100,
"totalCount": 0,
"workerDetails": []
}
Method:
Base URL: {{publicApiUrl}}/payslip/{{accountReference}}/{{businessUnitReference}}/20231001000
To get details of all payslips or remittances in a period for an account via public API you need to pass the account and business unit reference to the base URL with the required parameters in the URL.
Account
- Cannot be Null
- You must select an existing Account
Business Unit
- Cannot be Null
- You must select an existing Business Unit
- Cannot be Blank
- Cannot be NULL
- Must be provided in the following format
If the results return, then it should return 200 OK with results.
Method:
Base URL: {{publicApiUrl}}/payslip/GetPaginated/{{accountReference}}/{{businessUnitReference}}/20231001000?iteration=1&size=10
To get details of all payslips or remittances in a period for an account via public API you need to pass the account and business unit reference to the base URL with the required parameters in the URL.
Account
- Cannot be Null
- You must select an existing Account
Business Unit
- Cannot be Null
- You must select an existing Business Unit
- Cannot be Blank
- Cannot be NULL
- Must be provided in the following format
- Can be Left Blank
- If provided, must be in decimals
- Can be Left Blank
- If provided, must be in decimals
If the results are displayed, then it should return 200 OK with results.
The contents of this document, along with any associated documents, are the property of PurePro Solutions Ltd. and are shared in strict confidence with the intended recipient. These materials may not be reproduced, shared, or used in any manner without prior written consent from PurePro Solutions Ltd. Unauthorized use or distribution is prohibited.