# Class ExecuteCommandRequest OptimaJet.Workflow.Api.Models.ExecuteCommandRequest Execute Command Request. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record ExecuteCommandRequest : IEquatable ``` ## Type Hierarchy - ExecuteCommandRequest Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public ExecuteCommandRequest(WorkflowCommand Command, string? IdentityId = null, string? ImpersonatedIdentityId = null, bool CheckRestrictions = false)` Execute Command Request. ### Parameters | Name | Type | Description | | --- | --- | --- | | `Command` | `WorkflowCommand` | | | `IdentityId` | `String` | | | `ImpersonatedIdentityId` | `String` | | | `CheckRestrictions` | `Boolean` | | ## Properties ### `public WorkflowCommand Command { get; init; }` ### `public string? IdentityId { get; init; }` ### `public string? ImpersonatedIdentityId { get; init; }` ### `public bool CheckRestrictions { get; init; }` [Previous ExceptionModel](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/ExceptionModel/) [Next ExecuteCommandResponse](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/ExecuteCommandResponse/)