digitaluapi

<back to all web services

GetTableLookupsById

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

class GetTableLookupsById implements IConvertible
{
    int? TablesId;

    GetTableLookupsById({this.TablesId});
    GetTableLookupsById.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

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

Dart GetTableLookupsById 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/{TablesId}/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>