| Requires any of the roles: | Client, Admin, Partner |
| GET | /t/{TableSchema}/{TableName} |
|---|
namespace digitaluapi.ServiceModel
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type MetaGetTableLookupResponse() =
member val data:ResizeArray<Object> = null with get,set
member val ResponseStatus:ResponseStatus = null with get,set
[<AllowNullLiteral>]
type Paging() =
member val PageNumber:Int32 = new Int32() with get,set
member val PageSize:Int32 = new Int32() with get,set
[<AllowNullLiteral>]
type MetaGetTableLookup() =
member val TableName:String = null with get,set
member val TableSchema:String = null with get,set
member val TemplateString:String = null with get,set
member val Paging:Paging = null with 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
}
}
}