chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Central Management API - Add To Result Field of Create OutdatedReports API Call #274

Open ryanrichter94 opened 2 years ago

ryanrichter94 commented 2 years ago

Description of Enhancement

Would like to have the reportId, date, and status added to the result response from the following API call. /api/services/app/OutdatedReports/Create

Reason for request is to provide the added result fields to data generated by call. So that other external service can generate reports based off the API calls made.

Examples

Current results from API call:

{
  "result": null,
  "targetUrl": null,
  "success": true,
  "error": null,
  "unAuthorizedRequest": false,
  "__abp": true
}

Suggested results:

{
  "result": {
                “reportId”,”80”,              
                “status”, “created”
                “date”, “UTC date”
 }            
  "targetUrl": null,
  "success": true,
  "error": null,
  "unAuthorizedRequest": false,
  "__abp": true
}

References

┆Issue is synchronized with this Gitlab issue by Unito