Search Results for

    Show / Hide Table of Contents

    Class BusinessRuleTraceLog

    Contains a trace for a single document affected by potentially multiple business rules being evaluated and executed.

    Inheritance
    object
    BusinessRuleTraceLog
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class BusinessRuleTraceLog

    Properties

    Audit

    Audit information.

    Declaration
    [JsonProperty("audit", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public UserAudit Audit { get; set; }
    Property Value
    UserAudit

    DocumentId

    ID of the document.

    Declaration
    [JsonProperty("documentId", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string DocumentId { get; set; }
    Property Value
    string

    DocumentType

    Type of the document.

    Declaration
    [JsonProperty("documentType", Required = Required.Always)]
    [Required(AllowEmptyStrings = true)]
    [JsonConverter(typeof(StringEnumConverter))]
    public BusinessRuleTriggerDocType DocumentType { get; set; }
    Property Value
    BusinessRuleTriggerDocType

    GeneralErrors

    General errors occuring when saving the document.

    Declaration
    [JsonProperty("generalErrors", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<ErrorResponse> GeneralErrors { get; set; }
    Property Value
    ICollection<ErrorResponse>

    Id

    ID of the trace.

    Declaration
    [JsonProperty("id", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string Id { get; set; }
    Property Value
    string

    RuleIds

    IDs of rules that were traced for this document.

    Declaration
    [JsonProperty("ruleIds", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<string> RuleIds { get; set; }
    Property Value
    ICollection<string>

    Rules

    Detailed information about rules traced.

    Declaration
    [JsonProperty("rules", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<BusinessRuleTracedRule> Rules { get; set; }
    Property Value
    ICollection<BusinessRuleTracedRule>

    ValidationErrors

    Validation errors occuring after all rules have ran.

    Declaration
    [JsonProperty("validationErrors", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<ErrorResponse> ValidationErrors { get; set; }
    Property Value
    ICollection<ErrorResponse>

    Methods

    FromJson(string)

    Declaration
    public static BusinessRuleTraceLog FromJson(string data)
    Parameters
    string data

    Returns
    BusinessRuleTraceLog

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX