| Requires any of the roles: | Client, Admin, Partner |
| GET | /t/{TableSchema}/{TableName}/meta |
|---|
import Foundation
import ServiceStack
public class MetaGetTableMetaLookup : Codable
{
public var tableCatalog:String
public var tableName:String
public var tableSchema:String
required public init(){}
}
public class MetaGetTableMetaLookupResponse : Codable
{
public var table:[String]
public var columns:[String]
public var primaryKeys:[String]
public var foreignKeys:[String]
public var lookupQueries:[String]
public var lookups:String
public var responseStatus:ResponseStatus
required public init(){}
}
Swift MetaGetTableMetaLookup DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Lookups":{},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}