| Requires the role: | Riskstore.Admin |
| DELETE | /api/riskstore/eventset/archive | Archive An EventSet | This will delete the eventsetlosses from riskstore but keep the record of the eventset |
|---|
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 ArchiveEventSetRequest
Implements IDelete
Public Overridable Property EventSetId As Long
End Class
End Namespace
End Namespace
VB.NET ArchiveEventSetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /api/riskstore/eventset/archive HTTP/1.1 Host: riskstoreng-dev.nephila.com Accept: application/xml