(* Options:
Date: 2024-11-26 01:38:21
Version: 6.110
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://reportfiling.staging.pwc.de
//GlobalNamespace:
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//ExportValueTypes: False
IncludeTypes: ValidateReportAsync.*
//ExcludeTypes:
//InitializeCollections: True
//AddNamespaces:
*)
namespace PwC.Elmaas.Core.Domain.Contracts.Models
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
open System.Xml.Schema
open System.Net
///
///Represents an ELMA report.
///
[]
[]
type Report() =
///
///The conventional ELMA file name of the report. The format of the ELMA formula is as follows: m5_<pb>_<BZSt-Nr>_<AccountID>_<DateiId>.xml where: m5 is a constant for all reporting types. pb is a constant that represents the ELMA product designation e.g. CC, DC, FC etc. BZSt-Nr is the 11-character BZSt (Bundeszentralamt für Steuern) - tax number of the ELMA user e.g. bz123456789 AccountID is the 10-digit account identifier of the BZSt-Online Portal (BOP) user e.g. 1234567890 DateiId is the 1 - 12 character internal short name for the data file.
///
[]
member val Id:String = null with get,set
///
///The XML-content of the report.
///
[]
member val Data:String = null with get,set
///
///Specifies a request to validate a report.
///
[]
[]
type ValidateReportBase() =
interface IPost
///
///The report to validate.
///
[]
member val Report:Report = null with get,set
///
///Represents a failure encountered during the validation of an ELMA report against its XML schema.
///
[]
[]
type ValidationError() =
///
///The unique identifier of the validation faílure. This is equivalent to the file name of the validated report.
///
[]
member val Id:String = null with get,set
///
///The message of the validation failure.
///
[]
member val Message:String = null with get,set
///
///The severity of the validation faílure.
///
[]
member val Severity:XmlSeverityType = new XmlSeverityType() with get,set
///
///The line number indicating where the error occurred.
///
[]
member val LineNumber:Int32 = new Int32() with get,set
///
///The line position indicating where the error occurred.
///
[]
member val LinePosition:Int32 = new Int32() with get,set
///
///Encapsulates the results of validating a report
///
[]
[]
type ValidationResponse() =
///
///The unique identifier of the report that was processed.The identifier is usually the filename.
///
[]
member val Id:String = null with get,set
///
///The errors encountered during the report validation operation.
///
[]
member val ValidationErrors:ResizeArray = new ResizeArray() with get,set
///
///The status of the validation operation.
///
[]
member val ResponseStatus:ResponseStatus = null with get,set
///
///Represents a request to validate a report in an asynchronous operation.
///
[]
[]
[]
type ValidateReportAsync() =
inherit ValidateReportBase()
interface IReturn