Actions
BUG #3183
open[SQA] [API] Year Filter API Returns Inconsistent Results
Start date:
09/10/2025
Due date:
% Done:
100%
Estimated time:
Description
The year filter APIs are returning inconsistent results when filtering by fromYear and toYear.
-
POST API (
/vehicle/getKoreanStockList):
When tested withregistration_year=2023andmanufacturing_year=2024, the API returned 9236 total records. -
GET API (
/korean-stock/products?fromYear=2023&toYear=2024):
For the same year range, the API returned 77482 total records.
This indicates a data mismatch between the two API implementations.
Steps to Reproduce¶
-
POST Request
Endpoint: {{API_BASE_URL}}/vehicle/getKoreanStockList
Body:
{
"publish_company_id_1": 3,
"publish_company_id_2": 6,
"PageNo": 1,
"PageSize": 10,
"registration_year": "2023",
"manufacturing_year": "2024"
}
Response:
{
"IsSuccess": true,
"Message": "Request has been completed successfully",
"ReasonCode": 200,
"data": {
"DataList": [...],
"Total": 9236
}
}
-
GET Request
Endpoint:{{UI_HOSTNAME}}/korean-stock/products?fromYear=2023&toYear=2024
Response:
{
"pagination": {
"total": 77482,
"perPage": 10,
"currentPage": 1,
"lastPage": 7749
},
"data": [...]
}
Expected Result¶
Both POST and GET APIs should return the same record count when applying identical year filters.
Actual Result¶
- POST API: Returns 9236 records
- GET API: Returns 77482 records
Files
Actions
#2
Updated by Md.Sajib Ahmed 8 days ago
- File clipboard-202604021008-f55cu.png clipboard-202604021008-f55cu.png added
- File clipboard-202604021008-zdflr.png clipboard-202604021008-zdflr.png added
- Status changed from Pending to In Progress
- Assignee changed from Md.Sajib Ahmed to Md. Abdul Hamid
- % Done changed from 0 to 100


Note: Both are working now and return the same data.
Actions