...
Codeblock | ||||
---|---|---|---|---|
| ||||
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 Report | Property in CongreeCheckResult |
---|---|
ErrorId | Id in Errors |
ErrorType | Type in Errors |
ErrorCode | Code in Errors |
Notification | Header in Descriptions/Description |
Proposals | An array containing the strings in Text in each Proposal |
Status | The information on the status, e.g. how the user dealt with the issue. Possible values are "Normal", "Ignored", "Disregarded" |
...