CompanySupportingTicket

CompanySupportingTicket_GetSupportingTicketsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supportingtickets?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupportingTicket_PostSupportingTicketAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
title
required
string [ 0 .. 100 ] characters
description
required
string
supportTopicCategoryKey
required
string
supportTopicSubCategoryKey
string
companySupporterUid
string <uuid>
employeeSupporterUid
string <uuid>
isFreeTicket
boolean

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanySupportingTicket_GetSupportingTicketAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var SupportingTicketUid = "YOUR_supportingTicketUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supportingtickets/" + SupportingTicketUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupportingTicket_RemoveSupportingTicketAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var SupportingTicketUid = "YOUR_supportingTicketUid_PARAMETER";
      var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supportingtickets/" + SupportingTicketUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

CompanySupportingTicket_GetSupportingTicketPriceAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var SupportingTicketUid = "YOUR_supportingTicketUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supportingtickets/" + SupportingTicketUid + "/price?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupportingTicket_GetSupportingTicketCommentsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var SupportingTicketUid = "YOUR_supportingTicketUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supportingtickets/" + SupportingTicketUid + "/comments?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

CompanySupportingTicket_CreateSupportingTicketCommentAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
comment
required
string

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

CompanySupportingTicket_SupportingGrantAccessSupporterAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
accessLevelType
integer <int32>
Enum: 1 2

Responses

Request samples

Content type
{
}

CompanySupportingTicket_SupportingRevokeAccessSupporterAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

using System;
using System.Net.Http;
using System.Threading.Tasks;

public class Program
{
  public static async Task Main(string[] args)
  {
    using (var client = new HttpClient())
    {
      client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>");
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var SupportingTicketUid = "YOUR_supportingTicketUid_PARAMETER";
      var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supportingtickets/" + SupportingTicketUid + "/grant?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

CompanySupportingTicket_ConfirmSupportingTicketAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
rating
number <double> [ 0 .. 10 ]
comment
required
string

Responses

Request samples

Content type
{
}

CompanySupportingTicket_DiscardSupportingTicketAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
supportingTicketUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
rating
number <double> [ 0 .. 10 ]
comment
required
string

Responses

Request samples

Content type
{
}