<back to all web services

GetRootMethods

The following routes are available for this service:
GET/RestApi/diagnostics/methods
"use strict";
export class GetRootMethods {
    /** @param {{RootOperationId?:string,Category?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    RootOperationId;
    /** @type {string} */
    Category;
}
export class MethodViewModel {
    /** @param {{Id?:string,RootOperationId?:string,ParentOperationId?:string,Method?:string,Start?:string,End?:string,Duration?:number,QueryCount?:number,HasChildren?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Id;
    /** @type {string} */
    RootOperationId;
    /** @type {string} */
    ParentOperationId;
    /** @type {string} */
    Method;
    /** @type {?string} */
    Start;
    /** @type {?string} */
    End;
    /** @type {?number} */
    Duration;
    /** @type {number} */
    QueryCount;
    /** @type {boolean} */
    HasChildren;
}
export class MethodsProxy {
    /** @param {{Items?:MethodViewModel[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {MethodViewModel[]} */
    Items;
}

JavaScript GetRootMethods DTOs

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

{}