GET | /RestApi/diagnostics/methods/children/{operationId} |
---|
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 GetChildMethods
Public Overridable Property OperationId As Guid
Public Overridable Property RootOperationId As Guid
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
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 /RestApi/diagnostics/methods/children/{operationId} HTTP/1.1 Host: www.asg.com.au Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {}