Nephila RiskStore

<back to all web services

DeleteUnsavedResultsRequest

Maintenance
Requires Authentication
Requires the role:Riskstore.Admin
The following routes are available for this service:
DELETE/api/riskstore/maintenance/delete-resultsDelete unsaved result on or before the specified UTC date/time
namespace Nephila.RiskStore.ServiceModel.Requests

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type DeleteUnsavedResultsRequest() = 
        interface 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)>]
        member val DeleteResultsNotSavedOnOrBeforeDateTimeUtc:DateTime = new DateTime() with get,set

F# DeleteUnsavedResultsRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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