(* Options:
Date: 2024-11-26 01:52:19
Version: 6.110
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://reportfiling.pwc.de
//GlobalNamespace:
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//ExportValueTypes: False
IncludeTypes: BatchRecallReportsAsync.*
//ExcludeTypes:
//InitializeCollections: True
//AddNamespaces:
*)
namespace PwC.Elmaas.Core.Domain.Concretes.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
type Verfahren =
| CC = 0
| CS = 1
| DC = 2
| FC = 3
| FS = 4
| FA = 5
| KM = 6
///
///Represent parameters to search or filter on submissions.
///
[]
[]
type SearchCriteria() =
///
///Full or partial name of the item (report or protocol) to search.
///
[]
member val Name:String = null with get,set
///
///TThe ELMA product designation.
///
[]
member val Designation:Nullable = new Nullable() with get,set
///
///Represents a PEM-encoded certificate.
///
[]
[]
type PemCertificate() =
///
///The unique identifier (e.g. the file name) of the certificate.
///
[]
member val Id:String = null with get,set
///
///The PEM-encoded content of the certificate.
///
[]
member val Content:String = null with get,set
///
///The description of the certificate.
///
[]
member val Description:String = null with get,set
///
///Tags to label or identify the certificate.
///
[]
member val Tags:ResizeArray = new ResizeArray() with get,set
///
///Represents the credentials of a user to authenticate the access of an ELMA server.
///
[]
[]
type ElmaCredential() =
///
///The unique identifier of this instance. This identifer is only relevant in the context of data storage and retrieval.
///
[]
member val Id:String = null with get,set
///
///The security certificate to authenticate the user and grant access to the ELMA server. This certificate is generated from the BZSt-issued *.pfx BOP certificate. More details on BOP (BZSt-Online Portal - https://www.elster.de/bportal/start)
///
[]
[]
[]
member val Certificate:PemCertificate = null with get,set
///
///The BZSt (Bundeszentralamt für Steuern) - tax number of the user. 11-character text field that may only consist of two capital letters and 9 digits (0-9). The fiscal authority BZSt provides this number during registration at the BOP (BZSt-Online Portal - https://www.elster.de/bportal/start). The number is available in the private area of the BOP user account under "My BOP" under the "Registration Information"
///
[]
[]
[]
member val AuthSteuernummer:String = null with get,set
///
///The account identifier of a BZSt-Online Portal (BOP) user. 10-character text field that may only contain numbers (0-9).
///
[]
[]
[]
member val AccountId:String = null with get,set
///
///The password to protect the certificate from unauthorized access.
///
[]
member val Password:String = null with get,set
[]
type IAuthenticateRequest =
abstract Credential:ElmaCredential with get,set
[]
type IStageableRequest =
abstract StagingEnabled:Nullable with get,set
///
///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 recall reports from the ELMA server before it is processed.
///
[]
[]
type BatchRecallReportsBase() =
interface IPost
///
///The parameters to search or filter on reports.
///
[]
member val SearchCriteria:SearchCriteria = null with get,set
///
///The credential to gain access on the ELMA server.
///
[]
member val Credential:ElmaCredential = null with get,set
///
///Should operations be staged on the ELMA server? true: operations are executed on the Test ELMA server. false: operations are executed on the Live (Production) ELMA server.
///
[]
member val StagingEnabled:Nullable = new Nullable() with get,set
[]
type IElmaCredential =
abstract Certificate:PemCertificate with get,set
abstract AuthSteuernummer:String with get,set
abstract AccountId:String with get,set
abstract Password:String with get,set
///
///Encapsulates the results of a report recall operation.
///
[]
[]
type RecallResponse() =
///
///The recalled reports.
///
[]
member val Reports:ResizeArray = new ResizeArray() with get,set
///
///The status of the recall operation.
///
[]
member val ResponseStatus:ResponseStatus = null with get,set
///
///Represents a request to recall reports from the ELMA server before it is processed in an asynchronous operation.
///
[]
[]
[]
type BatchRecallReportsAsync() =
inherit BatchRecallReportsBase()
interface IReturn