ApexERPHost

<back to all web services

GetDbServerTableInfo

Requires Authentication
Required role:SysAdmin
The following routes are available for this service:
GET/dbadmin/servers/databases/tableinfo
GET/dbadmin/servers/{ServerId}/databases/tableinfo
GetDbServerTableInfo Parameters:
NameParameterData TypeRequiredDescription
ServerIdpathstringNo
DbNamequerystringNo
SchemaquerystringNo
NamequerystringNo
GetDbServerTableInfoResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<DbServerTableInfo>No
DbServerTableInfo Parameters:
NameParameterData TypeRequiredDescription
SchemaformstringNo
NameformstringNo
OwnerformstringNo
DataKBformintNo
RowCountformintNo
valueformstringNo
IndexKBformintNo
HasClusIdxformboolNo
ColumnsformintNo
create_dateformDateTimeNo
modify_dateformDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /dbadmin/servers/databases/tableinfo HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Result: 
	[
		{
			Schema: String,
			Name: String,
			Owner: String,
			DataKB: 0,
			RowCount: 0,
			value: String,
			IndexKB: 0,
			HasClusIdx: False,
			Columns: 0,
			create_date: 0001-01-01,
			modify_date: 0001-01-01
		}
	]
}