Billhighway Cloud API

<back to all web services

ServerInfoRq

The following routes are available for this service:
GET/devops/api/diagnostics/server

export class ServerInfo
{
    public NumOfProcessors?: number;
    public MachineName?: string;
    public Os?: string;
    public Is64BitProcess?: boolean;
    public Is64BitOperatingSystem?: boolean;
    public SystemPageSize?: number;
    public UptimeTicks?: number;
    public ClrVersion?: string;
    public MappedProcessMemory?: number;

    public constructor(init?: Partial<ServerInfo>) { (Object as any).assign(this, init); }
}

export class ServerInfoRs
{
    public Server?: ServerInfo;

    public constructor(init?: Partial<ServerInfoRs>) { (Object as any).assign(this, init); }
}

export class ServerInfoRq
{

    public constructor(init?: Partial<ServerInfoRq>) { (Object as any).assign(this, init); }
}

TypeScript ServerInfoRq 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 /devops/api/diagnostics/server HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Server: 
	{
		NumOfProcessors: 0,
		MachineName: String,
		Os: String,
		Is64BitProcess: False,
		Is64BitOperatingSystem: False,
		SystemPageSize: 0,
		UptimeTicks: 0,
		ClrVersion: String,
		MappedProcessMemory: 0
	}
}