diff --git a/source/ProcessManager.Client/IProcessManagerClient.cs b/source/ProcessManager.Client/IProcessManagerClient.cs
index 6bdb17eacc..4a66c8343b 100644
--- a/source/ProcessManager.Client/IProcessManagerClient.cs
+++ b/source/ProcessManager.Client/IProcessManagerClient.cs
@@ -26,7 +26,7 @@ public interface IProcessManagerClient
/// Cancel a scheduled orchestration instance.
///
public Task CancelScheduledOrchestrationInstanceAsync(
- CancelScheduledOrchestrationInstanceCommand requestDto,
+ CancelScheduledOrchestrationInstanceCommand command,
CancellationToken cancellationToken);
///
diff --git a/source/ProcessManager.Client/ProcessManager.Client.csproj b/source/ProcessManager.Client/ProcessManager.Client.csproj
index 6fd2002e11..fb935df1e6 100644
--- a/source/ProcessManager.Client/ProcessManager.Client.csproj
+++ b/source/ProcessManager.Client/ProcessManager.Client.csproj
@@ -53,6 +53,8 @@
+
+
@@ -64,6 +66,7 @@
+
diff --git a/source/ProcessManager.Client/ProcessManagerClient.cs b/source/ProcessManager.Client/ProcessManagerClient.cs
index b3c4badbbf..993ebef19c 100644
--- a/source/ProcessManager.Client/ProcessManagerClient.cs
+++ b/source/ProcessManager.Client/ProcessManagerClient.cs
@@ -34,14 +34,14 @@ public ProcessManagerClient(IHttpClientFactory httpClientFactory)
///
public async Task CancelScheduledOrchestrationInstanceAsync(
- CancelScheduledOrchestrationInstanceCommand requestDto,
+ CancelScheduledOrchestrationInstanceCommand command,
CancellationToken cancellationToken)
{
using var request = new HttpRequestMessage(
HttpMethod.Post,
"/api/processmanager/orchestrationinstance/cancel");
request.Content = new StringContent(
- JsonSerializer.Serialize(requestDto),
+ JsonSerializer.Serialize(command),
Encoding.UTF8,
"application/json");
diff --git a/source/ProcessManager.Client/Processes/BRS_023_027/V1/INotifyAggregatedMeasureDataClientV1.cs b/source/ProcessManager.Client/Processes/BRS_023_027/V1/INotifyAggregatedMeasureDataClientV1.cs
index 89ba31e6b9..47ed70d085 100644
--- a/source/ProcessManager.Client/Processes/BRS_023_027/V1/INotifyAggregatedMeasureDataClientV1.cs
+++ b/source/ProcessManager.Client/Processes/BRS_023_027/V1/INotifyAggregatedMeasureDataClientV1.cs
@@ -27,7 +27,7 @@ public interface INotifyAggregatedMeasureDataClientV1
/// Schedule a BRS-023 or BRS-027 calculation and return its id.
///
public Task ScheduleNewCalculationAsync(
- ScheduleOrchestrationInstanceCommand requestDto,
+ ScheduleOrchestrationInstanceCommand command,
CancellationToken cancellationToken);
///
diff --git a/source/ProcessManager.Client/Processes/BRS_023_027/V1/NotifyAggregatedMeasureDataClientV1.cs b/source/ProcessManager.Client/Processes/BRS_023_027/V1/NotifyAggregatedMeasureDataClientV1.cs
index 2d0119fe8e..122d68ea9f 100644
--- a/source/ProcessManager.Client/Processes/BRS_023_027/V1/NotifyAggregatedMeasureDataClientV1.cs
+++ b/source/ProcessManager.Client/Processes/BRS_023_027/V1/NotifyAggregatedMeasureDataClientV1.cs
@@ -37,7 +37,7 @@ public NotifyAggregatedMeasureDataClientV1(IHttpClientFactory httpClientFactory)
///
public async Task ScheduleNewCalculationAsync(
- ScheduleOrchestrationInstanceCommand requestDto,
+ ScheduleOrchestrationInstanceCommand command,
CancellationToken cancellationToken)
{
// TODO:
@@ -47,7 +47,7 @@ public async Task ScheduleNewCalculationAsync(
HttpMethod.Post,
"/api/processmanager/orchestrationinstance/brs_023_027/1");
request.Content = new StringContent(
- JsonSerializer.Serialize(requestDto),
+ JsonSerializer.Serialize(command),
Encoding.UTF8,
"application/json");
diff --git a/source/ProcessManager.Client/Processes/BRS_026_028/V1/IRequestCalculatedDataClientV1.cs b/source/ProcessManager.Client/Processes/BRS_026_028/V1/IRequestCalculatedDataClientV1.cs
index 2f3b484128..bfe08ded01 100644
--- a/source/ProcessManager.Client/Processes/BRS_026_028/V1/IRequestCalculatedDataClientV1.cs
+++ b/source/ProcessManager.Client/Processes/BRS_026_028/V1/IRequestCalculatedDataClientV1.cs
@@ -25,10 +25,14 @@ public interface IRequestCalculatedDataClientV1
///
/// Start a request for energy results
///
- public Task RequestCalculatedEnergyTimeSeriesAsync(RequestCalculatedDataInputV1 input, CancellationToken cancellationToken);
+ public Task RequestCalculatedEnergyTimeSeriesAsync(
+ RequestCalculatedDataInputV1 input,
+ CancellationToken cancellationToken);
///
/// Start a request for wholesale results
///
- public Task RequestCalculatedWholesaleServicesAsync(RequestCalculatedDataInputV1
/// Identity of the user executing the command.
-public abstract record UserCommand(UserIdentityDto UserIdentity);
+public abstract record UserCommand(UserIdentityDto UserIdentity)
+ : OrchestrationInstanceCommand(UserIdentity);
diff --git a/source/Shared/ProcessManager/Orchestrations/Processes/BRS_023_027/V1/Model/NotifyAggregatedMeasureDataInputV1.cs b/source/Shared/ProcessManager/Orchestrations/Processes/BRS_023_027/V1/Model/NotifyAggregatedMeasureDataInputV1.cs
index f5013045ce..39feb6cb2c 100644
--- a/source/Shared/ProcessManager/Orchestrations/Processes/BRS_023_027/V1/Model/NotifyAggregatedMeasureDataInputV1.cs
+++ b/source/Shared/ProcessManager/Orchestrations/Processes/BRS_023_027/V1/Model/NotifyAggregatedMeasureDataInputV1.cs
@@ -17,7 +17,7 @@ namespace Energinet.DataHub.ProcessManager.Orchestrations.Processes.BRS_023_027.
///
/// An immutable input to start the orchestration instance for "BRS_023_027" V1.
///
-public sealed record NotifyAggregatedMeasureDataInputV1(
+public record NotifyAggregatedMeasureDataInputV1(
CalculationTypes CalculationType,
IReadOnlyCollection GridAreaCodes,
DateTimeOffset PeriodStartDate,