| Requires any of the roles: | Client, Admin, Partner |
| GET | /t/{TableSchema}/{TableName}/meta |
|---|
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 MetaGetTableMetaLookupResponse() =
member val Table:IEnumerable<Object> = null with get,set
member val Columns:IEnumerable<Object> = null with get,set
member val PrimaryKeys:IEnumerable<Object> = null with get,set
member val ForeignKeys:IEnumerable<Object> = null with get,set
member val LookupQueries:IEnumerable<Object> = null with get,set
member val Lookups:Object = null with get,set
member val ResponseStatus:ResponseStatus = null with get,set
[<AllowNullLiteral>]
type MetaGetTableMetaLookup() =
member val TableCatalog:String = null with get,set
member val TableName:String = null with get,set
member val TableSchema:String = null with get,set
F# MetaGetTableMetaLookup DTOs
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}/meta HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Lookups: {},
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}