Type Endpoint

Get

This method returns a Type.

Get/api/type/{typeid}

The URL must have the Type Id. It returns an IssueTypeDto.

Microsoft.NET example:

IssueTypeDto type = serviceManager.Meta.GetIssueType(55);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/type/55";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    type: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All

This method returns all Types.

Get/api/type

It returns a list of IssueTypeDto's.

Microsoft.NET example:

List<IssueTypeDto> types = serviceManager.Meta.GetIssueTypes();

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/type";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    type: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All Types By Template

This method returns all Types for a specific template.

Get/api/type/template/{templateid}

It returns a list of IssueTypeDto's.

Microsoft.NET example:

List<IssueTypeDto> types = serviceManager.Meta.GetIssueTypesForTemplate(10);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/type/template/10";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    type: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Create

This method creates a new Type.

POST/api/type

The request body must contain the Type Entity. The return value is the new IssueTypeDto where the Type Id field is populated.

Microsoft.NET example:

var type = new IssueType();

type.Label = "Bug";
type.TemplateId = 10;

serviceManager.Meta.CreateIssueType(type);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/type";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Label: "Bug",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    type: "POST",
    data: geminiData,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Update

This method updates an existing Type.

PUT/api/type

The request body must contain the Type entity including the Id. The return value is the updated IssueTypeDto.

Microsoft.NET example:

IssueTypeDto data = new IssueTypeDto();

data.Entity.Id = 87;
data.Entity.Label = "Bugs";
data.Entity.TemplateId = 10;

serviceManager.Meta.UpdateIssueType(data.Entity);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/type";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Id: "87",
    Label: "Bugs",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    type: "PUT",
    data: geminiProject,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Delete

This method deletes a Type

DELETE/api/type/{typeid}

The URL must contain the Type Id.

Microsoft.NET example:

serviceManager.Meta.DeleteIssueType(87);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/type/87";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    type: "DELETE",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function () {
      alert('Success!');
    }
});

Status Endpoint

Get

This method returns a Status.

Get/api/status/{statusid}

The URL must have the Status Id. It returns an IssueStatusDto.

Microsoft.NET example:

IssueStatusDto status = serviceManager.Meta.GetIssueStatus(55);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/status/55";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    status: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All

This method returns all Status values.

Get/api/status

It returns a list of IssueStatusDto's.

Microsoft.NET example:

List<IssueStatusDto> statuses = serviceManager.Meta.GetIssueStatuses();

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/status";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    status: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All Status Values By Template

This method returns all status values for a specific template.

Get/api/status/template/{templateid}

It returns a list of IssueStatusDto's.

Microsoft.NET example:

List<IssueStatusDto> statuses = serviceManager.Meta.GetStatusesForTemplate(10);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/status/template/10";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    status: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Create

This method creates a new Status.

POST/api/status

The request body must contain the Status Entity. The return value is the new IssueStatusDto where the Status Id field is populated.

Microsoft.NET example:

var status = new IssueStatus();

status.Label = "Completed";
status.TemplateId = 10;

serviceManager.Meta.CreateIssueStatus(status);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/status";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Label: "Completed",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    status: "POST",
    data: geminiProject,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Update

This method updates an existing Status.

PUT/api/status

The request body must contain the Status entity including the Id. The return value is the updated IssueStatusDto.

Microsoft.NET example:

IssueStatusDto data = new IssueStatusDto();

data.Entity.Id = 87;
data.Entity.Label = "Open";
data.Entity.TemplateId = 10;

serviceManager.Meta.UpdateIssueStatus(data.Entity);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/status";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Id: "87",
    Label: "Open",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    status: "PUT",
    data: geminiProject,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Delete

This method deletes a Status

DELETE/api/status/{statusid}

The URL must contain the Status Id.

Microsoft.NET example:

serviceManager.Meta.DeleteIssueStatus(87);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/status/87";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    status: "DELETE",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function () {
      alert('Success!');
    }
});

Severity Endpoint

Get

This method returns a Severity.

Get/api/severity/{id}

The URL must have the Severity Id. It returns a IssueSeverityDto.

Microsoft.NET example:

IssueSeverityDto severity = serviceManager.Meta.GetIssueSeverity(55);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/severity/55";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    severity: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All

This method returns all Severities.

Get/api/severity

It returns a list of IssueSeverityDto's.

Microsoft.NET example:

List<IssueSeverityDto> severities = serviceManager.Meta.GetIssueSeverities();

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/severity";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    severity: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All Severities By Template

This method returns all Severities for a specific template.

Get/api/severity/template/{templateid}

It returns a list of IssueSeverityDto's.

Microsoft.NET example:

List<IssueSeverityDto> severities = serviceManager.Meta.GetSeveritiesForTemplate(10);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/severity/template/10";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    severity: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Create

This method creates a new Severity.

POST/api/severity

The request body must contain the Severity Entity. The return value is the new IssueSeverityDto where the Severity Id field is populated.

Microsoft.NET example:

var severity = new IssueSeverity();

severity.Label = "Major";
severity.TemplateId = 10;

serviceManager.Meta.CreateIssueSeverity(severity);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/severity";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Label: "Major",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    severity: "POST",
    data: geminiData,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Update

This method updates an existing Severity.

PUT/api/severity

The request body must contain the Severity entity including the Id. The return value is the updated IssueSeverityDto.

Microsoft.NET example:

IssueSeverityDto data = new IssueSeverityDto();

data.Entity.Id = 87;
data.Entity.Label = "Minor";
data.Entity.TemplateId = 10;

serviceManager.Meta.UpdateIssueSeverity(data.Entity);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/severity";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Id: "87",
    Label: "Minor",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    severity: "PUT",
    data: geminiData,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Delete

This method deletes a Severity

DELETE/api/severity/{severityid}

The URL must contain the Severity Id.

Microsoft.NET example:

serviceManager.Meta.DeleteIssueSeverity(87);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/severity/87";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    severity: "DELETE",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function () {
      alert('Success!');
    }
});

Resolution Endpoint

Get

This method returns a Resolution.

Get/api/resolution/{id}

The URL must have the Resolution Id. It returns the Resolution Entity.

Microsoft.NET example:

IssueResolution resolution = serviceManager.Meta.GetIssueResolution(55);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/resolution/55";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    resolution: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All

This method returns all Resolutions.

Get/api/resolution

It returns a list of Resolution Entities.

Microsoft.NET example:

List<IssueResolution> resolutions = serviceManager.Meta.GetIssueResolutions();

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/resolution";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    resolution: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All Resolutions By Template

This method returns all Resolutions for a specific template.

Get/api/resolution/template/{templateid}

It returns a list of Resolution Entities.

Microsoft.NET example:

List<IssueResolution> resolutions = serviceManager.Meta.GetByTemplateResolution(10);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/resolution/template/10";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    resolution: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Create

This method creates a new Resolution.

POST/api/resolution

The request body must contain the Resolution Entity. The return value is the new Resolution Entity where the Resolution Id field is populated.

Microsoft.NET example:

var resolution = new IssueResolution();

resolution.Label = "Completed";
resolution.TemplateId = 10;

serviceManager.Meta.CreateIssueResolution(resolution);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/resolution";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Label: "Completed",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    resolution: "POST",
    data: geminiData,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Update

This method updates an existing Resolution.

PUT/api/resolution

The request body must contain the Resolution entity including the Id. The return value is the new Resolution entity.

Microsoft.NET example:

IssueResolution data = new IssueResolution();

data.Entity.Id = 87;
data.Entity.Label = "Open";
data.Entity.TemplateId = 10;

serviceManager.Meta.UpdateIssueResolution(data.Entity);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/resolution";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Id: "87",
    Label: "Open",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    resolution: "PUT",
    data: geminiData,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Delete

This method deletes a Resolution

DELETE/api/resolution/{resolutionid}

The URL must contain the Resolution Id.

Microsoft.NET example:

serviceManager.Meta.DeleteIssueResolution(87);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/resolution/87";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    resolution: "DELETE",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function () {
      alert('Success!');
    }
});

Priority Endpoint

Get

This method returns a Priority.

Get/api/priority/{id}

The URL must have the Priority Id. It returns the IssuePriorityDto.

Microsoft.NET example:

IssuePriorityDto priority = serviceManager.Meta.GetIssuePriority(55);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/priority/55";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    priority: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All

This method returns all Priorities.

Get/api/priority

It returns a list of IssuePriorityDto's.

Microsoft.NET example:

List<IssuePriorityDto> priorities = serviceManager.Meta.GetIssuePriorities();

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/priority";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    priority: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Get All Priorities By Template

This method returns all Priorities for a specific template.

Get/api/priority/template/{templateid}

It returns a list of IssuePriorityDto's.

Microsoft.NET example:

List<IssuePriorityDto> priorities = serviceManager.Meta.GetPrioritiesForTemplate(10);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/priority/template/10";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    priority: "GET",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function (data) {
      alert('Success!');
    }
});

Create

This method creates a new Priority.

POST/api/priority

The request body must contain the Priority entity. The return value is the new IssuePriorityDto where the Priority Id field is populated.

Microsoft.NET example:

var priority = new IssuePriority();

priority.Label = "High";
priority.TemplateId = 10;

serviceManager.Meta.CreateIssuePriority(priority);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/priority";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Label: "High",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    priority: "POST",
    data: geminiData,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Update

This method updates an existing Priority.

PUT/api/priority

The request body must contain the Priority entity including the Id. The return value is the updated IssuePriorityDto.

Microsoft.NET example:

IssuePriorityDto data = new IssuePriorityDto();

data.Entity.Id = 87;
data.Entity.Label = "Medium";
data.Entity.TemplateId = 10;

serviceManager.Meta.UpdateIssuePriority(data.Entity);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/priority";
var geminiLogin = Base64.encode("manager:xvitjc5bmm"); // user:apikey

var geminiData = {
    Id: "87",
    Label: "Bugs",
    TemplateId: "10"
};

$.ajax({
    url: geminiUrl,
    priority: "PUT",
    data: geminiData,
    headers: { "Authorization": "Basic " + geminiLogin },
    success: function (data) {
      alert('Success!');
    }
});

Delete

This method deletes a Priority

DELETE/api/priority/{priorityid}

The URL must contain the Priority Id.

Microsoft.NET example:

serviceManager.Meta.DeleteIssuePriority(87);

JavaScript example:

var geminiUrl = "http://localhost/gemini/api/priority/87";
var geminiUsername = Base64.encode("manager:xvitjc5bmm"); // user : apikey

$.ajax({
    url: geminiUrl,
    priority: "DELETE",
    headers: { "Authorization": "Basic " + geminiUsername },
    success: function () {
      alert('Success!');
    }
});