Evo Voice

<back to all web services

AppDeleteEndpoint

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

class AppDeleteEndpoint implements IConvertible
{
    String? accountId;
    String? customerId;
    String? endpointId;

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

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

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

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

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

Dart AppDeleteEndpoint DTOs

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

HTTP + XML

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

DELETE /portal/endpoints/{endpointId} HTTP/1.1 
Host: evovoice.io 
Accept: application/xml