<back to all web services

GetRootMethods

The following routes are available for this service:
GET/RestApi/diagnostics/methods
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Telerik.Sitefinity.Diagnostics.Tools.Methods.Web.Services.DTO.Request
Imports Telerik.Sitefinity.Diagnostics.Tools.Methods.Web.Services.DTO.Response
Imports Telerik.Sitefinity.Diagnostics.Tools.Methods.Web.Services.DTO.ViewModel

Namespace Global

    Namespace Telerik.Sitefinity.Diagnostics.Tools.Methods.Web.Services.DTO.Request

        Public Partial Class GetRootMethods
            Public Overridable Property RootOperationId As Guid
            Public Overridable Property Category As String
        End Class
    End Namespace

    Namespace Telerik.Sitefinity.Diagnostics.Tools.Methods.Web.Services.DTO.Response

        Public Partial Class MethodsProxy
            Public Overridable Property Items As IEnumerable(Of MethodViewModel)
        End Class
    End Namespace

    Namespace Telerik.Sitefinity.Diagnostics.Tools.Methods.Web.Services.DTO.ViewModel

        Public Partial Class MethodViewModel
            Public Overridable Property Id As Guid
            Public Overridable Property RootOperationId As Guid
            Public Overridable Property ParentOperationId As Guid
            Public Overridable Property Method As String
            Public Overridable Property Start As Nullable(Of Date)
            Public Overridable Property [End] As Nullable(Of Date)
            Public Overridable Property Duration As Nullable(Of Double)
            Public Overridable Property QueryCount As Integer
            Public Overridable Property HasChildren As Boolean
        End Class
    End Namespace
End Namespace

VB.NET GetRootMethods DTOs

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

HTTP + OTHER

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

GET /RestApi/diagnostics/methods HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{}