Updates
Fix: Transaction Type Filtering in getHistoryList() and getHistoryListPaged()
Description
Previously, the getHistoryList() and getHistoryListPaged() endpoints did not correctly filter by transaction type when a model list (modlist) was included in the request. This issue has now been resolved.
Example
{
"modlist": ["298"],
"transtype": ["Lease"],
"lastactionstartdate": "01/20/2020",
"lastactionenddate": "01/22/2020"
}
Location
api/Aircraft/getHistoryList/security token}
api/Aircraft/getHistoryListPaged/{security token}/{page size}/{page}
Fix: Handling of Blank Product Code in getModelMarketTrends() Endpoint
Description
When the productcode parameter was either blank ("productcode": []) or contained the string "None" ("productcode": ["None"]), the endpoint returned an incorrect response:
"responsestatus": "SUCCESS: NO RESULTS FOUND [MODEL TRENDS]",
"count": 0,
"modelMarketTrends": null
This behavior has been corrected. The endpoint now properly handles both blank and "None" values for the productcode field.
Example
{
"airframetype": "None",
"maketype": "None",
"productcode": [],
"modelid": 0,
"make": "ASTRA",
"modlist": [23,24,25],
"displayRange": 12,
"startdate": "01/01/2024"
}
Location
api/Model/getModelMarketTrends/{security token}