ApexERPHost

<back to all web services

GetDbServers

Requires Authentication
Required role:SysAdmin
The following routes are available for this service:
GET/dbadmin/servers
GetDbServersResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<DbServer>No
DbServer Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
TypeformintNo
ConnStringformstringNo
SupportedDbMetricsformList<DbServerMetricViewMeta>No
SupportedDbActionsformList<DbServerActionMeta>No
DbServerMetricViewMeta Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
GroupNameformstringNo
DescriptionformstringNo
ViewTypeformstringNo
SortIdformint?No
AllowAutoRefreshformbool?No
HasDbFilterformbool?No
DbFilterRequiredformbool?No
ActionsformList<DbServerActionBinding>No
DetailViewSourceColumnformstringNo
UnIdformGuid?No
DbServerActionBinding Parameters:
NameParameterData TypeRequiredDescription
ActionIdformstringNo
ParametersformDictionary<string, string>No
DbServerActionMeta Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
DescriptionformstringNo
ParametersformList<DbServerActionParameterMeta>No
ResultTypeformstringNo
UnIdformGuid?No
DbServerActionParameterMeta Parameters:
NameParameterData TypeRequiredDescription
SortIdformintNo
NameformstringNo
DescriptionformstringNo
SourceColumnformstringNo
TypeformstringNo
Requiredformbool?No

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

HTTP + JSON

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

GET /dbadmin/servers HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"Id":"String","Name":"String","Type":0,"ConnString":"String","SupportedDbMetrics":[{"Id":"String","Name":"String","GroupName":"String","Description":"String","ViewType":"String","SortId":0,"AllowAutoRefresh":false,"HasDbFilter":false,"DbFilterRequired":false,"Actions":[{"ActionId":"String","Parameters":{"String":"String"}}],"DetailViewSourceColumn":"String","UnId":"00000000000000000000000000000000"}],"SupportedDbActions":[{"Id":"String","Name":"String","Description":"String","Parameters":[{"SortId":0,"Name":"String","Description":"String","SourceColumn":"String","Type":"String","Required":false}],"ResultType":"String","UnId":"00000000000000000000000000000000"}]}]}