GET get-version-info

 

Description

Retrieves the version information of the web layer assembly.

To use this action, send a GET request to the /version resource.

In response to a get-version-info request, CaseMap Server returns a <version> element that contains the major, minor, and build version numbers.

 

Requests

 

Syntax

GET {ServerNameHere}/CaseMapAD/CMServerAD/version

 

or

 

GET {ServerNameHere}/CaseMapLA/CMServerLA/version

 

Headers

The request includes the GET, User-Agent, and Host headers, which are standard for all CaseMap Server requests. For more information, see About request headers.

 

Parameters

The URL does not contain any parameters.

 

Content

The request does not contain any elements in the body.

 

Responses

 

Headers

The response includes the headers common to all CaseMap Server responses. For more information, see About response headers.

 

Content

 

Name

Description

version

Parent element for the response.

Type: complex

Children: major, minor, build

 

major

Major version number.

Type: int

Parent: version

Example: 1

 

minor

Minor version number

Type: int

Parent: version

Example: 6

 

build

Build number.

Type: int

Parent: version

Example: 71

 

 

Status Codes

Returns 200 on a valid response. Otherwise, returns one of the common status codes. for more information, see GET.

 

Examples

 

Request Example

The following requests the version information.

 

GET /CMServerAD/version HTTP/1.1

User-Agent: Fiddler

Host: localhost:3952

 

C# Example

The following example retrieves the version number of CaseMap Server. The sample takes the server URL as a parameter. The sample also uses the DisplayMessage helper method to display the response message. For more information on the helper methods, see CaseMap Server Helper Methods.

 

public static void getServerVersion(string serverResource)

{

  //define the resource and the endpoint

  string resourceName = "/CaseMapAD/CMServerAD.svc/version";

  string endPoint = serverResource + resourceName;

 

  //create the call

  HttpWebRequest request = WebRequest.Create(endPoint) as HttpWebRequest;

   request.Method = "GET";

 

  //send it off and get the response.

  HttpWebResponse response = request.GetResponse() as HttpWebResponse;

 

  //display the response

   DisplayMessage(response);

  Console.ReadLine();

 

   response.Close();

}

 

Response Example

The following is a response to the request in the previous example.

HTTP/1.1 200 OK

Server: ASP.NET Development Server/9.0.0.0

Date: Tue, 09 Aug 2011 21:49:42 GMT

X-AspNet-Version: 2.0.50727

Cache-Control: private

Content-Type: application/xml; charset=utf-8

Content-Length: 199

Connection: Close

 

<version xmlns="http://services.lexisnexis.com/xmlschema/litigation-services/casemap/1" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

 <major>1</major>

 <minor>6</minor>

 <build>71</build>

</version>

 

 

Need additional help? Email the CaseMap Support team at: casemap.support@lexisnexis.com, or contact a support representative at 1-800-833-3346 (option 3). The CaseMap Support team is available between the hours of 9:00 a.m. to 7:00 p.m. Eastern Time, Monday - Friday.

© 2017 LexisNexis. All rights reserved.