Billhighway Cloud API

<back to all web services

ServerInfoRq

The following routes are available for this service:
GET/devops/api/diagnostics/server
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using BH.CloudAPI.DTO.Diagnostics.Api.Request;
using BH.CloudAPI.DTO.Diagnostics.Api.Response;
using BH.CloudAPI.DTO.Diagnostics.Api;

namespace BH.CloudAPI.DTO.Diagnostics.Api
{
    public partial class ServerInfo
    {
        public virtual int NumOfProcessors { get; set; }
        public virtual string MachineName { get; set; }
        public virtual string Os { get; set; }
        public virtual bool Is64BitProcess { get; set; }
        public virtual bool Is64BitOperatingSystem { get; set; }
        public virtual int SystemPageSize { get; set; }
        public virtual int UptimeTicks { get; set; }
        public virtual string ClrVersion { get; set; }
        public virtual long MappedProcessMemory { get; set; }
    }

}

namespace BH.CloudAPI.DTO.Diagnostics.Api.Request
{
    public partial class ServerInfoRq
    {
    }

}

namespace BH.CloudAPI.DTO.Diagnostics.Api.Response
{
    public partial class ServerInfoRs
    {
        public virtual ServerInfo Server { get; set; }
    }

}

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

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