DELETE | /RestApi/Sitefinity/mobile-formats/content-types/delete |
---|
import 'package:servicestack/servicestack.dart';
class DeleteMobileFormatContentTypeDto implements IConvertible
{
String? ContentTypeId;
DeleteMobileFormatContentTypeDto({this.ContentTypeId});
DeleteMobileFormatContentTypeDto.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ContentTypeId = json['ContentTypeId'];
return this;
}
Map<String, dynamic> toJson() => {
'ContentTypeId': ContentTypeId
};
getTypeName() => "DeleteMobileFormatContentTypeDto";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
'DeleteMobileFormatContentTypeDto': TypeInfo(TypeOf.Class, create:() => DeleteMobileFormatContentTypeDto()),
});
Dart DeleteMobileFormatContentTypeDto DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /RestApi/Sitefinity/mobile-formats/content-types/delete HTTP/1.1 Host: www.asg.com.au Accept: text/csv