| Requires any of the roles: | Client, Admin, Partner |
| GET | /t/{TableSchema}/{TableName} |
|---|
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using digitaluapi.ServiceModel;
using digitaluapi.ServiceModel.Types;
namespace digitaluapi.ServiceModel
{
public partial class MetaGetTableLookup
{
public virtual string TableName { get; set; }
public virtual string TableSchema { get; set; }
public virtual string TemplateString { get; set; }
public virtual Paging Paging { get; set; }
}
public partial class MetaGetTableLookupResponse
{
public virtual List<Object> data { get; set; }
public virtual ResponseStatus ResponseStatus { get; set; }
}
}
namespace digitaluapi.ServiceModel.Types
{
public partial class Paging
{
public virtual int PageNumber { get; set; }
public virtual int PageSize { get; set; }
}
}
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 /t/{TableSchema}/{TableName} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
data:
[
{
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}