User

GetUsersAsync

Authorizations:
oauth2 (scope:hours)
path Parameters
accountUid
required
string <uuid>
query Parameters
skip
integer <int32>
take
integer <int32>

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 AccountUid = "YOUR_accountUid_PARAMETER";
      var request = await client.GetAsync("/api/hours/accounts/" + AccountUid + "/users?skip=0&take=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

GetAllowedUsersAsync

Authorizations:
oauth2 (scope:hours)
path Parameters
accountUid
required
string <uuid>
userUid
required
string <uuid>

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 AccountUid = "YOUR_accountUid_PARAMETER";
      var UserUid = "YOUR_userUid_PARAMETER";
      var request = await client.GetAsync("/api/hours/accounts/" + AccountUid + "/users/" + UserUid + "/allowedusers");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

GetUserAsync

Authorizations:
oauth2 (scope:hours)
path Parameters
accountUid
required
string <uuid>
userUid
required
string <uuid>

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 AccountUid = "YOUR_accountUid_PARAMETER";
      var UserUid = "YOUR_userUid_PARAMETER";
      var request = await client.GetAsync("/api/hours/accounts/" + AccountUid + "/users/" + UserUid);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}