| Requires any of the roles: | Client, Admin, Partner |
| GET | /t/{TableSchema}/{TableName}/meta |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports digitaluapi.ServiceModel
Namespace Global
Namespace digitaluapi.ServiceModel
Public Partial Class MetaGetTableMetaLookup
Public Overridable Property TableCatalog As String
Public Overridable Property TableName As String
Public Overridable Property TableSchema As String
End Class
Public Partial Class MetaGetTableMetaLookupResponse
Public Overridable Property Table As IEnumerable(Of Object)
Public Overridable Property Columns As IEnumerable(Of Object)
Public Overridable Property PrimaryKeys As IEnumerable(Of Object)
Public Overridable Property ForeignKeys As IEnumerable(Of Object)
Public Overridable Property LookupQueries As IEnumerable(Of Object)
Public Overridable Property Lookups As Object
Public Overridable Property ResponseStatus As ResponseStatus
End Class
End Namespace
End Namespace
VB.NET MetaGetTableMetaLookup DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Lookups":{},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}