| Requires any of the roles: | Client, Admin, Partner |
| 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?>()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
}
]