Evo Voice

<back to all web services

DeleteIntegration

Delete the specified integration

The following routes are available for this service:
DELETE/integrations/{integrationId}
import 'package:servicestack/servicestack.dart';

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

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

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

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

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

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

Dart DeleteIntegration DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

DELETE /integrations/{integrationId} HTTP/1.1 
Host: evovoice.io 
Accept: application/json