ItemTypeAssignRequest

ItemTypeAssignRequest_GetItemTypeRequests

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 + "/requests/assign?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

ItemTypeAssignRequest_CreateItemTypeRequest

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
employeeUid
string <uuid>
note
string [ 0 .. 150 ] characters
required
Array of objects (Zalary.Models.ItemsAndAccess.ItemTypeRequest.ItemTypeCommentRequest)

Responses

Request samples

Content type
{
}

ItemTypeAssignRequest_GetItemTypeRequestDetails

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
requestUid
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 RequestUid = "YOUR_requestUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/requests/assign/" + RequestUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

ItemTypeAssignRequest_RejecttemTypeRequest

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
required
Array of objects (Zalary.Models.ItemsAndAccess.ItemTypeRequest.PerformActionItemTypeRequestRequest)

Responses

Request samples

Content type
{
}

ItemTypeAssignRequest_ApproveItemTypeRequest

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
required
Array of objects (Zalary.Models.ItemsAndAccess.ItemTypeRequest.PerformActionItemTypeRequestRequest)

Responses

Request samples

Content type
{
}

ItemTypeAssignRequest_ExecuteItemTypeRequest

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

Responses

Request samples

Content type
{
}

ItemTypeAssignRequest_PullBackItemTypeAssignRequest

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
requestUid
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 RequestUid = "YOUR_requestUid_PARAMETER";
      var request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/requests/assign/" + RequestUid + "/pullback?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}