All URIs are relative to https://api.gridly.com
Method | HTTP request | Description |
---|---|---|
Get | GET /v1/tasks/{taskId} | get |
Task Get (string taskId)
get
get
using System.Collections.Generic;
using System.Diagnostics;
using Com.Gridly.Api;
using Com.Gridly.Client;
using Com.Gridly.Model;
namespace Example
{
public class GetExample
{
public static void Main()
{
Configuration.Default.BasePath = "https://api.gridly.com";
// Configure API key authorization: ApiKey
Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new TaskApi(Configuration.Default);
var taskId = "taskId_example"; // string | taskId
try
{
// get
Task result = apiInstance.Get(taskId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling TaskApi.Get: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
taskId | string | taskId |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]