Get Domain Name

API Type

REST

HTTP Method

GET

Description

Retrieves the domain name to which AgilePoint Server connects.

URL Format (On Premises)

https://[domain]:[port]/AgilePointServer/Admin/GetDomainName

URL Format (AgilePoint for Azure)

https://[domain]:[port]/AgilePointService/Admin/GetDomainName

Request Parameters

Name Description
None Not Applicable

JavaScript Code Example

$("#btnGetDomainName").click(function () {
  
  $.ajax({
    url: "https://mydomain:9011/AgilePointServer/Admin/GetDomainName",
    type: "GET"
  });
  
});

Java Code Example

public String GetDomainName() {

  String URI = "http://mydomain:9011/AgilePointServer/Admin/GetDomainName";

  HTTPOperations ops = new HTTPOperations(domain, this.userName,
				               password, appID, locale);

  return ops.GETMethod(URI);
}

C# Code Example

public string GetDomainName(string userName)
  {
    string URI = "http://mydomain:9011/AgilePointServer/Admin/GetDomainName";

    HTTPOperations ops = new HTTPOperations(domain, this.userName, 
                         password, appID, locale);

    return ops.GetData(URI);
  }

Output

A string containing the domain name of the AgilePoint Server machine.

JSON Response Body Example

  "String content"

Supported Versions

AgilePoint BPMS v5.0 R2 and higher