In this PR, I added an additional API endpoint for paged profits. This API endpoint prepares for the pagination feature.
API end point located at /api/profits/paged/commonsid has 3 parameters. One parameter is required: commonid. Default values for page number and page size are 0 and 7.
Overview
In this PR, I added an additional API endpoint for paged profits. This API endpoint prepares for the pagination feature. API end point located at
/api/profits/paged/commonsid
has 3 parameters. One parameter is required: commonid. Default values for page number and page size are 0 and 7.Sample API endpoint:
Screenshots
Swagger
Tests
Backend Test coverage & Mutation 100%.
Linked Issues
Closes #65 Backend part of #6