Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
languagec#
linenumberstrue
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CongreeRestApiSample.Reporting.Congree
{
    public class Error
        
    {
        public int ErrorId { get; set; }
        public string ErrorType { get; set; }
        public string ErrorCode { get; set; }
        public string Notification { get; set; }
        public List<string> Proposals { get; set; }
        public string Status { get; set; }
    }

    public class ParagraphReport
    {
        public List<Error> Errors { get; set; }
        public string Context { get; set; }
    }
}


If the document check yields no errors pass for each paragraph/context as request with the context only, i.e. the Errors arry is empty.


Property in Paragraph ReportProperty in CongreeCheckResult
ErrorIdId in Errors
ErrorTypeType in Errors
ErrorCodeCode in Errors
NotificationHeader in Descriptions/Description
ProposalsAn array containing the strings in Text in each Proposal
StatusThe information on the status, e.g. how the user dealt with the issue. Possible values are "Normal", "Ignored", "Disregarded"

...