<back to all web services

GetRootMethods

The following routes are available for this service:
GET/RestApi/diagnostics/methods
namespace Telerik.Sitefinity.Diagnostics.Tools.Methods.Web.Services.DTO.Request

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type GetRootMethods() = 
        member val RootOperationId:Guid = new Guid() with get,set
        member val Category:String = null with get,set

    [<AllowNullLiteral>]
    type MethodViewModel() = 
        member val Id:Guid = new Guid() with get,set
        member val RootOperationId:Guid = new Guid() with get,set
        member val ParentOperationId:Guid = new Guid() with get,set
        member val Method:String = null with get,set
        member val Start:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val End:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val Duration:Nullable<Double> = new Nullable<Double>() with get,set
        member val QueryCount:Int32 = new Int32() with get,set
        member val HasChildren:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type MethodsProxy() = 
        member val Items:IEnumerable<MethodViewModel> = null with get,set

F# GetRootMethods DTOs

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 /RestApi/diagnostics/methods HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}