Portal

<back to all web services

DeleteAllApplicationUserCommodityCode

Requires Authentication
Required role:VeoliaAdmin
The following routes are available for this service:
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 .other suffix or ?format=other

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{}