UserRate

GetUserRates

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 + "/rates");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

GetUserRatesAsync

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 + "/rates/international");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

GetUserRate

Authorizations:
oauth2 (scope:hours)
path Parameters
accountUid
required
string <uuid>
userUid
required
string <uuid>
rateUid
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 RateUid = "YOUR_rateUid_PARAMETER";
      var request = await client.GetAsync("/api/hours/accounts/" + AccountUid + "/users/" + UserUid + "/rates/" + RateUid);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}