digitaluapi

<back to all web services

GetTableLookups

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

class Paging implements IConvertible
{
    int? PageNumber;
    int? PageSize;

    Paging({this.PageNumber,this.PageSize});
    Paging.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        PageNumber = json['PageNumber'];
        PageSize = json['PageSize'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'PageNumber': PageNumber,
        'PageSize': PageSize
    };

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

class GetTableLookups implements IConvertible
{
    List<int>? Queries;
    Map<String,dynamic?>? ParameterList;
    Paging? Paging;

    GetTableLookups({this.Queries,this.ParameterList,this.Paging});
    GetTableLookups.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Queries = JsonConverters.fromJson(json['Queries'],'List<int>',context!);
        ParameterList = JsonConverters.fromJson(json['ParameterList'],'Map<String,dynamic?>',context!);
        Paging = JsonConverters.fromJson(json['Paging'],'Paging',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Queries': JsonConverters.toJson(Queries,'List<int>',context!),
        'ParameterList': JsonConverters.toJson(ParameterList,'Map<String,dynamic?>',context!),
        'Paging': JsonConverters.toJson(Paging,'Paging',context!)
    };

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

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

Dart GetTableLookups DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /scadmeta/tables/lookups HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <anyType />
</ArrayOfanyType>