Get an Instance Step
Gets an Instance Step by ID. The Step ID can be found with the Get Instance Steps or Find Instance Steps calls, or copied from the URL of the Instance Step.
Permissions Required
You must have Find permissions to the Instance for this request to succeed.
Method Signature
InstanceStep GetStep(Guid id);
async Task<InstanceStep> GetStepAsync(Guid id);
Parameters
Parameter | Type | Description |
---|---|---|
id | Guid | The id of the Instance Step to get |
returns | InstanceStep | The requested Instance Step |
InstanceStep GetStep(string id);
async Task<InstanceStep> GetStepAsync(string id);
Parameter | Type | Description |
---|---|---|
id | string | The id of the Instance Step to get |
returns | InstanceStep | The requested Instance Step |
Example
/*
* This example demonstrates getting an Instance Step by ID
*/
using Catalytic.Sdk.Entities;
namespace Catalytic.Sdk.Examples
{
class Program
{
static void Main(string[] args)
{
var catalytic = new Catalytic.Sdk.CatalyticClient(Credentials.Default);
var step = catalytic.Instances.GetStep("e6df431b-1041-4326-89e5-1e14caa6a08f");
}
}
}
Updated almost 4 years ago