Evo Voice

<back to all web services

AppDeleteFile

Requires Authentication
The following routes are available for this service:
DELETE/portal/files/{fileId}
import 'package:servicestack/servicestack.dart';

class AppDeleteFile implements IConvertible
{
    String? accountId;
    String? customerId;
    String? fileId;

    AppDeleteFile({this.accountId,this.customerId,this.fileId});
    AppDeleteFile.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

    Map<String, dynamic> toJson() => {
        'accountId': accountId,
        'customerId': customerId,
        'fileId': fileId
    };

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

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

Dart AppDeleteFile DTOs

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /portal/files/{fileId} HTTP/1.1 
Host: evovoice.io 
Accept: text/csv