<back to all web services

GetChildMethods

The following routes are available for this service:
GET/RestApi/diagnostics/methods/children/{operationId}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetChildMethods
    {
        public UUID OperationId = null;
        public UUID RootOperationId = null;
        
        public UUID getOperationId() { return OperationId; }
        public GetChildMethods setOperationId(UUID value) { this.OperationId = value; return this; }
        public UUID getRootOperationId() { return RootOperationId; }
        public GetChildMethods setRootOperationId(UUID value) { this.RootOperationId = value; return this; }
    }

    public static class MethodsProxy
    {
        public ArrayList<MethodViewModel> Items = null;
        
        public ArrayList<MethodViewModel> getItems() { return Items; }
        public MethodsProxy setItems(ArrayList<MethodViewModel> value) { this.Items = value; return this; }
    }

    public static class MethodViewModel
    {
        public UUID Id = null;
        public UUID RootOperationId = null;
        public UUID ParentOperationId = null;
        public String Method = null;
        public Date Start = null;
        public Date End = null;
        public Double Duration = null;
        public Integer QueryCount = null;
        public Boolean HasChildren = null;
        
        public UUID getId() { return Id; }
        public MethodViewModel setId(UUID value) { this.Id = value; return this; }
        public UUID getRootOperationId() { return RootOperationId; }
        public MethodViewModel setRootOperationId(UUID value) { this.RootOperationId = value; return this; }
        public UUID getParentOperationId() { return ParentOperationId; }
        public MethodViewModel setParentOperationId(UUID value) { this.ParentOperationId = value; return this; }
        public String getMethod() { return Method; }
        public MethodViewModel setMethod(String value) { this.Method = value; return this; }
        public Date getStart() { return Start; }
        public MethodViewModel setStart(Date value) { this.Start = value; return this; }
        public Date getEnd() { return End; }
        public MethodViewModel setEnd(Date value) { this.End = value; return this; }
        public Double getDuration() { return Duration; }
        public MethodViewModel setDuration(Double value) { this.Duration = value; return this; }
        public Integer getQueryCount() { return QueryCount; }
        public MethodViewModel setQueryCount(Integer value) { this.QueryCount = value; return this; }
        public Boolean isHasChildren() { return HasChildren; }
        public MethodViewModel setHasChildren(Boolean value) { this.HasChildren = value; return this; }
    }

}

Java GetChildMethods DTOs

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

{}