ApexERPHost

<back to all web services

GetDbServerMetricView

Requires Authentication
Required role:SysAdmin
The following routes are available for this service:
GET/dbadmin/servers/databases/metrics/{MetricId*}
GET/dbadmin/servers/{ServerId}/databases/metrics/{MetricId*}
GetDbServerMetricView Parameters:
NameParameterData TypeRequiredDescription
ServerIdpathstringNo
DbNamequerystringNo
MetricIdpathstringNo
GetDbServerMetricViewResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultSetformList<DynamicData>No
MetaformDictionary<string, string>No
DynamicData Parameters:
NameParameterData TypeRequiredDescription
SchemaformDynamicDataSchemaNo
DataformList<List<String>>No
DynamicDataSchema Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ColumnsformList<DataColumnInfo>No
DataColumnInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
TypeformintNo
MaxLengthformint?No
FormatformstringNo
ComplexTypeSchemaformDynamicDataSchemaNo

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

HTTP + CSV

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

GET /dbadmin/servers/databases/metrics/{MetricId*} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ResultSet":[{"Schema":{"Name":"String","Columns":[{"Id":0,"Name":"String","Type":0,"MaxLength":0,"Format":"String","ComplexTypeSchema":{"Name":"String","Columns":[{"Id":0,"Name":"String","Type":0,"MaxLength":0,"Format":"String","ComplexTypeSchema":{"Name":"String","Columns":[{"Id":0,"Name":"String","Type":0,"MaxLength":0,"Format":"String"}]}}]}}]},"Data":[["String"]]}],"Meta":{"String":"String"}}