| Requires the role: | Riskstore.Admin |
| DELETE | /api/riskstore/maintenance/delete-results | Delete unsaved result on or before the specified UTC date/time |
|---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class DeleteUnsavedResultsRequest(IDelete):
# @ApiMember(DataType="string", Description="The UTC date/time to delete on or before", Format="date-time", IsRequired=true)
delete_results_not_saved_on_or_before_date_time_utc: datetime.datetime = datetime.datetime(1, 1, 1)
"""
The UTC date/time to delete on or before
"""
Python DeleteUnsavedResultsRequest 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/maintenance/delete-results HTTP/1.1 Host: riskstoreng-dev.nephila.com Accept: application/xml