Get all Instance Steps
Gets all steps in an instance.
Permissions Required
You must have Find permissions to the Instance for this request to succeed.
Method Signature
InstanceStepsPage GetSteps(Guid id);
async Task<InstanceStepsPage> GetStepsAsync(Guid id);
Parameters
Parameter | Type | Description |
---|---|---|
id | Guid | The id of the Instance to get Steps from |
returns | InstanceStepsPage | A page of all Steps in this Instance |
InstanceStepsPage GetSteps(string id);
async Task<InstanceStepsPage> GetStepsAsync(string id);
Parameter | Type | Description |
---|---|---|
id | string | The id of the Instance to get Steps from |
returns | InstanceStepsPage | A page of all Steps in this Instance |
Example
/*
* This example demonstrates getting an Instance's Steps by the Instance 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 steps = catalytic.Instances
.GetSteps("e6df431b-1041-4326-89e5-1e14caa6a08f");
}
}
}
Updated over 2 years ago