| Requires the role: | Riskstore.Admin |
| DELETE | /api/riskstore/maintenance/delete-results | Delete unsaved result on or before the specified UTC date/time |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Nephila.RiskStore.ServiceModel.Requests
Namespace Global
Namespace Nephila.RiskStore.ServiceModel.Requests
Public Partial Class DeleteUnsavedResultsRequest
Implements IDelete
'''<Summary>
'''The UTC date/time to delete on or before
'''</Summary>
<ApiMember(DataType:="string", Description:="The UTC date/time to delete on or before", Format:="date-time", IsRequired:=true)>
Public Overridable Property DeleteResultsNotSavedOnOrBeforeDateTimeUtc As Date
End Class
End Namespace
End Namespace
VB.NET DeleteUnsavedResultsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /api/riskstore/maintenance/delete-results HTTP/1.1 Host: riskstoreng-dev.nephila.com Accept: text/jsonl