Required role: | VeoliaAdmin |
DELETE | /user/{userid}/commoditycode |
---|
import 'package:servicestack/servicestack.dart';
class DeleteAllApplicationUserCommodityCode implements IDelete, IConvertible
{
int? UserId;
DeleteAllApplicationUserCommodityCode({this.UserId});
DeleteAllApplicationUserCommodityCode.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
UserId = json['UserId'];
return this;
}
Map<String, dynamic> toJson() => {
'UserId': UserId
};
getTypeName() => "DeleteAllApplicationUserCommodityCode";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: <String, TypeInfo> {
'DeleteAllApplicationUserCommodityCode': TypeInfo(TypeOf.Class, create:() => DeleteAllApplicationUserCommodityCode()),
});
Dart DeleteAllApplicationUserCommodityCode 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 /user/{userid}/commoditycode HTTP/1.1 Host: szallitoiportal-be.veolia.hu Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {}