| DELETE | /auto/customerssegments/{Id} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:collection';
class CustomersSegmentsAutoQueryDelete implements IDeleteDb<CustomersSegments>, IConvertible
{
// @DataMember(Order=1)
int? Id;
// @DataMember(Order=2)
int? TenantsId;
CustomersSegmentsAutoQueryDelete({this.Id,this.TenantsId});
CustomersSegmentsAutoQueryDelete.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Id = json['Id'];
TenantsId = json['TenantsId'];
return this;
}
Map<String, dynamic> toJson() => {
'Id': Id,
'TenantsId': TenantsId
};
getTypeName() => "CustomersSegmentsAutoQueryDelete";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
'CustomersSegmentsAutoQueryDelete': TypeInfo(TypeOf.Class, create:() => CustomersSegmentsAutoQueryDelete()),
});
Dart CustomersSegmentsAutoQueryDelete 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 /auto/customerssegments/{Id} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: application/xml