Evo Voice

<back to all web services

DeleteAlert

Delete the specified alert

Requires Authentication
Requires any of the roles:SystemAdministrator, Manager, Customer
The following routes are available for this service:
DELETE/alerts/{alertId}
import 'package:servicestack/servicestack.dart';

/**
* Delete the specified alert
*/
// @Api(Description="Delete the specified alert")
class DeleteAlert implements IDelete, IConvertible
{
    /**
    * The ID of the alert to delete
    */
    // @ApiMember(Description="The ID of the alert to delete")
    String? alertId;

    DeleteAlert({this.alertId});
    DeleteAlert.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        alertId = json['alertId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'alertId': alertId
    };

    getTypeName() => "DeleteAlert";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'evovoice.io', types: <String, TypeInfo> {
    'DeleteAlert': TypeInfo(TypeOf.Class, create:() => DeleteAlert()),
});

Dart DeleteAlert 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 /alerts/{alertId} HTTP/1.1 
Host: evovoice.io 
Accept: text/jsonl