4.2 Get Server Information
Client Request:
-
GET https://www.contoso.com/services/builtin/servermanagement.svc/serverinformation HTTP/1.1 User-Agent: Sample App Name/1.0.0.0 Accept: application/xml AppName: Sample App Name AppVersion: 1.0.0.0 AppPublisherName: Publisher Authorization: Basic VXNlcjpQYXNzd29yZCE= Host: domainName
Server Response (XML):
-
HTTP/1.1 200 OK Cache-Control: no-cache Content-Length: 633 Content-Type: application/xml; charset=utf-8 Server: Microsoft-IIS/8.5 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET X-Content-Type-Options: nosniff Date: Fri, 14 Jun 2013 10:56:44 GMT <ServerInfo xmlns="http://contracts.microsoft.com/WindowsServerEssentials/2011/09/WebApi" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <IsMediaStreamingServiceAvailable>false</IsMediaStreamingServiceAvailable> <IsTsGatewayEnabled>false</IsTsGatewayEnabled> <ServerDomainGuid>82d53067-a76d-4d22-aa64-c8ff19fe22d3</ServerDomainGuid> <ServerGuid>b82fde5b-4289-4a8f-913a-06e887a3c528</ServerGuid> <ServerInternetDomainName>www.contoso.com</ServerInternetDomainName> <ServerName>domainName</ServerName> <ServerSku>50</ServerSku> <ServerUtcNow>2013-12-02T03:09:57.3817387Z</ServerUtcNow> <ServerVersion>6.3.9660.0</ServerVersion> </ServerInfo>