digitaluapi

<back to all web services

LookupListCategoriesLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/lookup_list_categories
import 'package:servicestack/servicestack.dart';

// @DataContract
class LookupListCategoriesLookup implements IConvertible
{
    // @DataMember(Order=2)
    String? Description;

    // @DataMember(Order=3)
    bool? IsEnabled;

    // @DataMember(Order=4)
    int? TenantId;

    // @DataMember(Order=5)
    String? RowVersionGuid;

    LookupListCategoriesLookup({this.Description,this.IsEnabled,this.TenantId,this.RowVersionGuid});
    LookupListCategoriesLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Description = json['Description'];
        IsEnabled = json['IsEnabled'];
        TenantId = json['TenantId'];
        RowVersionGuid = json['RowVersionGuid'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Description': Description,
        'IsEnabled': IsEnabled,
        'TenantId': TenantId,
        'RowVersionGuid': RowVersionGuid
    };

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

TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
    'LookupListCategoriesLookup': TypeInfo(TypeOf.Class, create:() => LookupListCategoriesLookup()),
});

Dart LookupListCategoriesLookup 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.

GET /lookup_list_categories HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"Description":"String","IsEnabled":false,"TenantId":0,"RowVersionGuid":"00000000000000000000000000000000","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]