| Requires any of the roles: | Client, Admin, Partner |
| GET | /scadmeta/tables/{TablesId}/meta |
|---|
import Foundation
import ServiceStack
public class MetaGetTableMetaLookupById : Codable
{
public var tablesId:Int
public var dbTechnologiesId:Int
public var paging:Paging
required public init(){}
}
public class Paging : Codable
{
public var pageNumber:Int
public var pageSize:Int
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 MetaGetTableMetaLookupById 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 /scadmeta/tables/{TablesId}/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
}
}
}