POST | /datenabholungen/protokolle/17/verarbeitungsprotokoll/batch |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
/**
* Represents a base class for a file with raw data.
*/
// @Api(Description="Represents a base class for a file with raw data.")
abstract class FileBase
{
/**
* The raw data content of the file.
*/
// @ApiMember(Description="The raw data content of the file.", Name="Content")
Uint8List? content;
FileBase({this.content});
FileBase.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
content = JsonConverters.fromJson(json['content'],'Uint8List',context!);
return this;
}
Map<String, dynamic> toJson() => {
'content': JsonConverters.toJson(content,'Uint8List',context!)
};
getTypeName() => "FileBase";
TypeContext? context = _ctx;
}
/**
* Represents a portal certificate that is protected by a password.
*/
// @Api(Description="Represents a portal certificate that is protected by a password.")
class PortalCertificate extends FileBase implements ISecuredCertificate, IHasIndex, IConvertible
{
/**
* The unique identifier of the certificate.
*/
// @ApiMember(Description="The unique identifier of the certificate.")
String? id;
/**
* The position of the certificate element in an indexed collection of certificates.
*/
// @ApiMember(Description="The position of the certificate element in an indexed collection of certificates.")
int? index;
/**
* The password to protect the certificate from unauthorized access.
*/
// @StringLength(255)
// @ApiMember(Description="The password to protect the certificate from unauthorized access.")
String? pin;
/**
* The description of the certificate.
*/
// @StringLength(2147483647)
// @ApiMember(Description="The description of the certificate.")
String? description;
/**
* Tags that can be used to label or identify the certificate.
*/
// @ApiMember(Description="Tags that can be used to label or identify the certificate.")
List<String>? tags;
/**
* Gets or sets the file name of the certificate.
*/
// @ApiMember(Description="Gets or sets the file name of the certificate.")
String? name;
/**
* The raw data content of the file.
*/
// @ApiMember(Description="The raw data content of the file.", Name="Content")
Uint8List? content;
PortalCertificate({this.id,this.index,this.pin,this.description,this.tags,this.name,this.content});
PortalCertificate.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
id = json['id'];
index = json['index'];
pin = json['pin'];
description = json['description'];
tags = JsonConverters.fromJson(json['tags'],'List<String>',context!);
name = json['name'];
content = JsonConverters.fromJson(json['content'],'Uint8List',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'id': id,
'index': index,
'pin': pin,
'description': description,
'tags': JsonConverters.toJson(tags,'List<String>',context!),
'name': name,
'content': JsonConverters.toJson(content,'Uint8List',context!)
});
getTypeName() => "PortalCertificate";
TypeContext? context = _ctx;
}
/**
* Represents a base service request to retrieve processing records from specified tax statements.
*/
// @Api(Description="Represents a base service request to retrieve processing records from specified tax statements.")
abstract class BatchProtokollRequestBase implements IPost
{
/**
* The authentification certificate.
*/
// @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
PortalCertificate? zertifikat;
BatchProtokollRequestBase({this.zertifikat});
BatchProtokollRequestBase.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!);
return this;
}
Map<String, dynamic> toJson() => {
'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!)
};
getTypeName() => "BatchProtokollRequestBase";
TypeContext? context = _ctx;
}
/**
* Represents the transmission path.
*/
enum Uebertragungsweg
{
direkt,
link,
sammellink,
}
/**
* The data packet from the retrieval operation.
*/
// @Api(Description="The data packet from the retrieval operation.")
class Datenpaket implements IConvertible
{
/**
* Encoded (compressed and encrypted) requested data record
*/
// @ApiMember(Description="Encoded (compressed and encrypted) requested data record")
String? value;
Datenpaket({this.value});
Datenpaket.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
value = json['value'];
return this;
}
Map<String, dynamic> toJson() => {
'value': value
};
getTypeName() => "Datenpaket";
TypeContext? context = _ctx;
}
/**
* Represents the download of requested records. The downloaded content from the web server takes place: a) with https b) on port 443 c) on datenabholung1.elster.de or datenabholung2.elster.de. The HTTP Basic Authentication mechanism according to RFC 2617 is used for authentication.
*/
// @Api(Description="Represents the download of requested records. The downloaded content from the web server takes place: a) with https b) on port 443 c) on datenabholung1.elster.de or datenabholung2.elster.de. The HTTP Basic Authentication mechanism according to RFC 2617 is used for authentication.")
class Download implements IConvertible
{
/**
* The link to the data on the web server.
*/
// @ApiMember(Description="The link to the data on the web server.")
String? url;
/**
* The user name for the web server.
*/
// @ApiMember(Description="The user name for the web server.")
String? benutzer;
/**
* Password for the web server.
*/
// @ApiMember(Description="Password for the web server.")
String? passwort;
Download({this.url,this.benutzer,this.passwort});
Download.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
url = json['url'];
benutzer = json['benutzer'];
passwort = json['passwort'];
return this;
}
Map<String, dynamic> toJson() => {
'url': url,
'benutzer': benutzer,
'passwort': passwort
};
getTypeName() => "Download";
TypeContext? context = _ctx;
}
/**
* Represents the request to retrieve tax assessments by means of a specfied ID.
*/
// @Api(Description="Represents the request to retrieve tax assessments by means of a specfied ID.")
abstract class Abholung
{
/**
* The identifier of the data record.
*/
// @ApiMember(Description="The identifier of the data record.")
String? id;
/**
* The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'.
*/
// @ApiMember(Description="The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'.")
String? idnr;
/**
* The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'.
*/
// @ApiMember(Description="The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'.")
int? veranlagungsjahr;
/**
* The transmission path used.
*/
// @ApiMember(Description="The transmission path used.")
Uebertragungsweg? uebertragungsweg;
/**
* The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING.
*/
// @ApiMember(Description="The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING.")
String? encoding;
/**
* The client number; only applicable to the tax type 'ElsterDIVADaten'.
*/
// @ApiMember(Description="The client number; only applicable to the tax type 'ElsterDIVADaten'.")
String? mandantennummer;
/**
* The tax number; only applicable to the tax type 'ElsterDIVADaten'.
*/
// @ApiMember(Description="The tax number; only applicable to the tax type 'ElsterDIVADaten'.")
String? steuernummer;
/**
* The asessment date; only applicable to the tax type 'ElsterDIVADaten'.
*/
// @ApiMember(Description="The asessment date; only applicable to the tax type 'ElsterDIVADaten'.")
DateTime? bescheiddatum;
/**
* Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet.
*/
// @ApiMember(Description="Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet.")
Datenpaket? datenpaket;
/**
* Download requested data records. Ensure the second payload data block is empty for bulk retrieval operations.
*/
// @ApiMember(Description="Download requested data records. Ensure the second payload data block is empty for bulk retrieval operations.")
Download? download;
Abholung({this.id,this.idnr,this.veranlagungsjahr,this.uebertragungsweg,this.encoding,this.mandantennummer,this.steuernummer,this.bescheiddatum,this.datenpaket,this.download});
Abholung.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
idnr = json['idnr'];
veranlagungsjahr = json['veranlagungsjahr'];
uebertragungsweg = JsonConverters.fromJson(json['uebertragungsweg'],'Uebertragungsweg',context!);
encoding = json['encoding'];
mandantennummer = json['mandantennummer'];
steuernummer = json['steuernummer'];
bescheiddatum = JsonConverters.fromJson(json['bescheiddatum'],'DateTime',context!);
datenpaket = JsonConverters.fromJson(json['datenpaket'],'Datenpaket',context!);
download = JsonConverters.fromJson(json['download'],'Download',context!);
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'idnr': idnr,
'veranlagungsjahr': veranlagungsjahr,
'uebertragungsweg': JsonConverters.toJson(uebertragungsweg,'Uebertragungsweg',context!),
'encoding': encoding,
'mandantennummer': mandantennummer,
'steuernummer': steuernummer,
'bescheiddatum': JsonConverters.toJson(bescheiddatum,'DateTime',context!),
'datenpaket': JsonConverters.toJson(datenpaket,'Datenpaket',context!),
'download': JsonConverters.toJson(download,'Download',context!)
};
getTypeName() => "Abholung";
TypeContext? context = _ctx;
}
/**
* Represents the various tax types for the retrieval of data.
*/
enum Steuerart
{
ESB,
GSB,
USB,
EPBescheid,
EPMitteilung,
Gewerbesteuerbescheid,
Gewerbesteuermitteilung,
GEWMB,
DIVAAnzeigeEinerLotterie,
DIVABescheid,
DivaBescheidESt,
DIVABuchmachersteuer,
DIVALotteriesteuerEinmal,
DIVALotteriesteuerMehr,
DIVASportwettensteuer,
DIVATotalisator,
OZGBescheid,
VerbindlicheAuskunft,
VerbindlicheZusage,
DivaSonstigerVA,
DivaBescheidErbSt,
DivaBescheidFEIN,
DivaBescheidGewSt,
DivaBescheidKSt,
DivaBescheidUSt,
DivaBescheidSchenkSt,
DIVATroncabgabe,
DIVAVirtuelleAutomatenStB,
DIVAOnlinePokerStB,
LStHVVMRM,
EinlagenrueckgewaehrVA,
FTTMeldungVA,
StatusInvStGVA,
UStVEUVA,
VERSVA,
AltZertVA,
KapEStEntlastungVA,
PostUDLVA,
StAb50aVA,
StAbEntlastungVA,
KassenangelegenheitenVA,
KStOptVA,
SteueroasenabwehrVA,
KDBVollmachtRM,
STBKE,
VDBKDBRueckmeldungLief,
AnhangRueckmeldung,
DivaEinwilligungRM,
GlueckspielF,
OZGMitteilung,
VerbindlicheAuskunftInfoF,
ELOProtokoll,
}
/**
* Specifies the encoding of the metadata.
*/
enum Coding
{
text,
base64,
}
/**
* Represents the metadata of a data record.
*/
// @Api(Description="Represents the metadata of a data record.")
class Meta17 implements IConvertible
{
/**
* The type of metadata, e.g. datei [file]
*/
// @ApiMember(Description="The type of metadata, e.g. datei [file]")
String? name;
/**
* The encoding of the metadata (text or base64)
*/
// @ApiMember(Description="The encoding of the metadata (text or base64)")
Coding? coding;
/**
* The content of the metadata
*/
// @ApiMember(Description="The content of the metadata")
String? value;
Meta17({this.name,this.coding,this.value});
Meta17.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
name = json['name'];
coding = JsonConverters.fromJson(json['coding'],'Coding',context!);
value = json['value'];
return this;
}
Map<String, dynamic> toJson() => {
'name': name,
'coding': JsonConverters.toJson(coding,'Coding',context!),
'value': value
};
getTypeName() => "Meta17";
TypeContext? context = _ctx;
}
/**
* Represents a list of meta information maps.
*/
class MetaInfoMaps17 implements IConvertible
{
MetaInfoMaps17();
MetaInfoMaps17.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "MetaInfoMaps17";
TypeContext? context = _ctx;
}
/**
* Represents meta information.
*/
// @Api(Description="Represents meta information.")
class MetaInformationen17 implements IConvertible
{
/**
* List of metadata.
*/
// @ApiMember(Description="List of metadata.")
List<Meta17>? meta;
/**
* List of meta infomation maps.
*/
// @ApiMember(Description="List of meta infomation maps.")
MetaInfoMaps17? metaInfoMaps;
MetaInformationen17({this.meta,this.metaInfoMaps});
MetaInformationen17.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
meta = JsonConverters.fromJson(json['meta'],'List<Meta17>',context!);
metaInfoMaps = JsonConverters.fromJson(json['metaInfoMaps'],'MetaInfoMaps17',context!);
return this;
}
Map<String, dynamic> toJson() => {
'meta': JsonConverters.toJson(meta,'List<Meta17>',context!),
'metaInfoMaps': JsonConverters.toJson(metaInfoMaps,'MetaInfoMaps17',context!)
};
getTypeName() => "MetaInformationen17";
TypeContext? context = _ctx;
}
/**
* Represents a list of attachments.
*/
class Anhaenge17 implements IConvertible
{
Anhaenge17();
Anhaenge17.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "Anhaenge17";
TypeContext? context = _ctx;
}
/**
* Represents a request to retrieve data records by means of one or more IDs.
*/
// @Api(Description="Represents a request to retrieve data records by means of one or more IDs.")
class Abholung17 extends Abholung implements IConvertible
{
/**
* The tax type (e.g. ESB) of the data record.
*/
// @ApiMember(Description="The tax type (e.g. ESB) of the data record.")
Steuerart? steuerart;
/**
* The meta information of the identifier.
*/
// @ApiMember(Description="The meta information of the identifier.")
MetaInformationen17? metaInformationen;
/**
* Die Transfertickets der Datensaetze. Es duerfen max. 100 Bereitstellungstickets in einem Request angegeben werden.
*/
// @ApiMember(Description="Die Transfertickets der Datensaetze. Es duerfen max. 100 Bereitstellungstickets in einem Request angegeben werden.")
String? bereitstellungsticket;
/**
* The attachments of the data records.
*/
// @ApiMember(Description="The attachments of the data records.")
Anhaenge17? anhaenge;
/**
* The identifier of the data record.
*/
// @ApiMember(Description="The identifier of the data record.")
String? id;
/**
* The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'.
*/
// @ApiMember(Description="The ID number of the receipt owner. This attribute is only required for the tax type 'ElsterVaStDaten'.")
String? idnr;
/**
* The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'.
*/
// @ApiMember(Description="The assessment year (YYYY) of the receipt. This attribute is only required for the tax type 'ElsterVaStDaten'.")
int? veranlagungsjahr;
/**
* The transmission path used.
*/
// @ApiMember(Description="The transmission path used.")
Uebertragungsweg? uebertragungsweg;
/**
* The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING.
*/
// @ApiMember(Description="The character encoding of the data record (e.g. ISO-8859-15). The exception is the data type ElsterVaStDaten, here we submit KEIN ENCODING.")
String? encoding;
/**
* The client number; only applicable to the tax type 'ElsterDIVADaten'.
*/
// @ApiMember(Description="The client number; only applicable to the tax type 'ElsterDIVADaten'.")
String? mandantennummer;
/**
* The tax number; only applicable to the tax type 'ElsterDIVADaten'.
*/
// @ApiMember(Description="The tax number; only applicable to the tax type 'ElsterDIVADaten'.")
String? steuernummer;
/**
* The asessment date; only applicable to the tax type 'ElsterDIVADaten'.
*/
// @ApiMember(Description="The asessment date; only applicable to the tax type 'ElsterDIVADaten'.")
DateTime? bescheiddatum;
/**
* Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet.
*/
// @ApiMember(Description="Das Datenpaket angeforderter Datensaetze. Nur bei der Direktsendung ueber das ERiClet.")
Datenpaket? datenpaket;
/**
* Download requested data records. Ensure the second payload data block is empty for bulk retrieval operations.
*/
// @ApiMember(Description="Download requested data records. Ensure the second payload data block is empty for bulk retrieval operations.")
Download? download;
Abholung17({this.steuerart,this.metaInformationen,this.bereitstellungsticket,this.anhaenge,this.id,this.idnr,this.veranlagungsjahr,this.uebertragungsweg,this.encoding,this.mandantennummer,this.steuernummer,this.bescheiddatum,this.datenpaket,this.download});
Abholung17.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
steuerart = JsonConverters.fromJson(json['steuerart'],'Steuerart',context!);
metaInformationen = JsonConverters.fromJson(json['metaInformationen'],'MetaInformationen17',context!);
bereitstellungsticket = json['bereitstellungsticket'];
anhaenge = JsonConverters.fromJson(json['anhaenge'],'Anhaenge17',context!);
id = json['id'];
idnr = json['idnr'];
veranlagungsjahr = json['veranlagungsjahr'];
uebertragungsweg = JsonConverters.fromJson(json['uebertragungsweg'],'Uebertragungsweg',context!);
encoding = json['encoding'];
mandantennummer = json['mandantennummer'];
steuernummer = json['steuernummer'];
bescheiddatum = JsonConverters.fromJson(json['bescheiddatum'],'DateTime',context!);
datenpaket = JsonConverters.fromJson(json['datenpaket'],'Datenpaket',context!);
download = JsonConverters.fromJson(json['download'],'Download',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'steuerart': JsonConverters.toJson(steuerart,'Steuerart',context!),
'metaInformationen': JsonConverters.toJson(metaInformationen,'MetaInformationen17',context!),
'bereitstellungsticket': bereitstellungsticket,
'anhaenge': JsonConverters.toJson(anhaenge,'Anhaenge17',context!),
'id': id,
'idnr': idnr,
'veranlagungsjahr': veranlagungsjahr,
'uebertragungsweg': JsonConverters.toJson(uebertragungsweg,'Uebertragungsweg',context!),
'encoding': encoding,
'mandantennummer': mandantennummer,
'steuernummer': steuernummer,
'bescheiddatum': JsonConverters.toJson(bescheiddatum,'DateTime',context!),
'datenpaket': JsonConverters.toJson(datenpaket,'Datenpaket',context!),
'download': JsonConverters.toJson(download,'Download',context!)
});
getTypeName() => "Abholung17";
TypeContext? context = _ctx;
}
/**
* Represents a base service request to retrieve processing records from specified tax statements. Applicable to version 17..
*/
// @Api(Description="Represents a base service request to retrieve processing records from specified tax statements. Applicable to version 17..")
abstract class BatchProtokollRequestBase17 extends BatchProtokollRequestBase
{
/**
* The tax assessements, whose processing records shall be obtained.
*/
// @ApiMember(Description="The tax assessements, whose processing records shall be obtained.", Name="Bescheide")
List<Abholung17>? bescheide;
/**
* The authentification certificate.
*/
// @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
PortalCertificate? zertifikat;
BatchProtokollRequestBase17({this.bescheide,this.zertifikat});
BatchProtokollRequestBase17.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
bescheide = JsonConverters.fromJson(json['bescheide'],'List<Abholung17>',context!);
zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'bescheide': JsonConverters.toJson(bescheide,'List<Abholung17>',context!),
'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!)
});
getTypeName() => "BatchProtokollRequestBase17";
TypeContext? context = _ctx;
}
/**
* Represents the service request to retrieve logs about tax statements.
*/
// @Api(Description="Represents the service request to retrieve logs about tax statements.")
class BatchProtokollRequest17 extends BatchProtokollRequestBase17 implements IConvertible
{
/**
* The tax assessements, whose processing records shall be obtained.
*/
// @ApiMember(Description="The tax assessements, whose processing records shall be obtained.", Name="Bescheide")
List<Abholung17>? bescheide;
/**
* The authentification certificate.
*/
// @ApiMember(Description="The authentification certificate.", IsRequired=true, Name="Zertifikat")
PortalCertificate? zertifikat;
BatchProtokollRequest17({this.bescheide,this.zertifikat});
BatchProtokollRequest17.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
bescheide = JsonConverters.fromJson(json['bescheide'],'List<Abholung17>',context!);
zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!);
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'bescheide': JsonConverters.toJson(bescheide,'List<Abholung17>',context!),
'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!)
});
getTypeName() => "BatchProtokollRequest17";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'taxfiling.pwc.de', types: <String, TypeInfo> {
'FileBase': TypeInfo(TypeOf.AbstractClass),
'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)),
'PortalCertificate': TypeInfo(TypeOf.Class, create:() => PortalCertificate()),
'BatchProtokollRequestBase': TypeInfo(TypeOf.AbstractClass),
'Uebertragungsweg': TypeInfo(TypeOf.Enum, enumValues:Uebertragungsweg.values),
'Datenpaket': TypeInfo(TypeOf.Class, create:() => Datenpaket()),
'Download': TypeInfo(TypeOf.Class, create:() => Download()),
'Abholung': TypeInfo(TypeOf.AbstractClass),
'Steuerart': TypeInfo(TypeOf.Enum, enumValues:Steuerart.values),
'Coding': TypeInfo(TypeOf.Enum, enumValues:Coding.values),
'Meta17': TypeInfo(TypeOf.Class, create:() => Meta17()),
'MetaInfoMaps17': TypeInfo(TypeOf.Class, create:() => MetaInfoMaps17()),
'MetaInformationen17': TypeInfo(TypeOf.Class, create:() => MetaInformationen17()),
'List<Meta17>': TypeInfo(TypeOf.Class, create:() => <Meta17>[]),
'Anhaenge17': TypeInfo(TypeOf.Class, create:() => Anhaenge17()),
'Abholung17': TypeInfo(TypeOf.Class, create:() => Abholung17()),
'BatchProtokollRequestBase17': TypeInfo(TypeOf.AbstractClass),
'List<Abholung17>': TypeInfo(TypeOf.Class, create:() => <Abholung17>[]),
'BatchProtokollRequest17': TypeInfo(TypeOf.Class, create:() => BatchProtokollRequest17()),
});
Dart BatchProtokollRequest17 DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /datenabholungen/protokolle/17/verarbeitungsprotokoll/batch HTTP/1.1
Host: taxfiling.pwc.de
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"bescheide":[{"steuerart":"ESB","metaInformationen":{"meta":[{"name":"String","coding":"text","value":"String"}],"metaInfoMaps":[{"typ":"String","meta":[{"name":"String","coding":"text","value":"String"}]}]},"bereitstellungsticket":"String","anhaenge":[{"metadatenAnhang":[{"schluesselAnhang":{"dateibezeichnungID":"String","dateibezeichnungKurz":"String","value":"String"},"wertAnhang":{"dateibezeichnungID":"String","dateibezeichnungKurz":"String","value":"String"}}],"dateibezeichnung":"String","dateityp":"String","dateiinhalt":"String"}],"id":"String","idnr":"String","veranlagungsjahr":0,"uebertragungsweg":"direkt","encoding":"String","mandantennummer":"String","steuernummer":"String","bescheiddatum":"\/Date(-62135596800000-0000)\/","datenpaket":{"value":"String"},"download":{"url":"String","benutzer":"String","passwort":"String"}}],"zertifikat":{"id":"00000000000000000000000000000000","index":0,"pin":"String","description":"String","tags":["String"],"name":"String","content":"AA=="}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length [{"protokoll":{"version":0,"zeitStempel":"\/Date(-62135596800000-0000)\/","datenTeil":{"transferTicket":"String","code":0,"text":"String","nutzdatenbloecke":[{"nutzdatenTicket":"String","code":0,"text":"String","verarbeiteteNds":0,"nichtverarbeiteteNds":0,"ndSFehler":[{"lfdNr":"String","kmId":"String","ordnungsMerkmal":"String","fehlerNummer":0,"fehlerText":"String"}]}]}},"id":"String","index":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}]