Skip to content

Latest commit

 

History

History
82 lines (61 loc) · 2.22 KB

File metadata and controls

82 lines (61 loc) · 2.22 KB

Workforce.Api.ImageApi

All URIs are relative to https://api.workforcehr.org

Method HTTP request Description
V1ImagesEmployeeGet GET /v1/images/employee

V1ImagesEmployeeGet

void V1ImagesEmployeeGet (string id = null, int? width = null, int? height = null)

Example

using System.Collections.Generic;
using System.Diagnostics;
using Workforce.Api;
using Workforce.Client;
using Workforce.Model;

namespace Example
{
    public class V1ImagesEmployeeGetExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://api.workforcehr.org";
            // Configure OAuth2 access token for authorization: Bearer
            config.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new ImageApi(config);
            var id = id_example;  // string |  (optional) 
            var width = 56;  // int? |  (optional) 
            var height = 56;  // int? |  (optional) 

            try
            {
                apiInstance.V1ImagesEmployeeGet(id, width, height);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ImageApi.V1ImagesEmployeeGet: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
id string [optional]
width int? [optional]
height int? [optional]

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 Success -

[Back to top] [Back to API list] [Back to Model list] [Back to README]