Skip to main content

AddStatusReasonRequest

  • Namespace: PPDS.Dataverse.Metadata.Authoring
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary​

Request to add a status reason (statuscode option value) to an entity.

Members​

Properties​

Color​

string Color { get; set; }

Optional hex color.

DryRun​

bool DryRun { get; set; }

Validate without executing SDK call.

EntityLogicalName​

string EntityLogicalName { get; set; }

Logical name of the entity.

Label​

string Label { get; set; }

Display label for the new status reason.

Publish​

bool Publish { get; set; }

Publish the entity after the change.

SolutionUniqueName​

string SolutionUniqueName { get; set; }

Solution unique name — required for value derivation when Value is null.

StateCode​

int StateCode { get; set; }

State code the reason belongs to: 0 (Active) or 1 (Inactive).

Value​

Nullable<int> Value { get; set; }

Explicit option value; when null, derived via OptionValueDeriver.