Vereinfachung von Request und Response bei den Änderungen.

This commit is contained in:
2025-04-10 14:58:31 +02:00
parent aad7f5bf33
commit 70e842b978
2 changed files with 51 additions and 13 deletions

View File

@@ -805,6 +805,24 @@
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CommonSimpleRequest_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstraktes einfaches Request Objekt</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="VUNr" type="omds:VUNr"/>
<xsd:element name="ClientId" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Optional eine rein technische ClientId z.B. für eine Zugriffsstatistik nach Client. Die Id darf nicht mit fachlichen Informationen verknüpft werden.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="KorrelationsId" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Eine rein technische Id des Requests für Zwecke des Debuggings, die Id darf nicht mit fachlichen Informationen verknüpft werden.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CommonResponse_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstraktes ResponseObjekt</xsd:documentation>
@@ -860,6 +878,21 @@
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CommonSimpleResponse_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstraktes einfaches Response Objekt</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="KorrelationsId" type="xsd:string">
<xsd:annotation>
<xsd:documentation>rein technische ID zum Debuggen</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CommonProcessRequest_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstakter Typ fuer Requests, die Teil eines Geschaeftsfalls mit eigener Id sind</xsd:documentation>

View File

@@ -17,7 +17,7 @@
<xsd:annotation><xsd:documentation>Requests-Type zur Anfrage von Änderungsmöglichkeiten für einen Vertrag</xsd:documentation></xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonRequest_Type">
<xsd:extension base="cst:CommonSimpleRequest_Type">
<xsd:sequence>
<xsd:element name="Vertrag" type="cst:Ersatzpolizze_Type">
<xsd:annotation><xsd:documentation>Bezeichnung, zu welchem Vertrag die Änderungsmöglichkeiten angezeigt werden sollen.</xsd:documentation></xsd:annotation>
@@ -31,7 +31,7 @@
<xsd:annotation><xsd:documentation>Requests-Type zur Anfrage von Änderungsmöglichkeiten für einen Vertrag</xsd:documentation></xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonResponse_Type">
<xsd:extension base="cst:CommonSimpleResponse_Type">
<xsd:sequence>
<xsd:element name="Aenderungsmoeglichkeit" type="ac:Konvertierungsumfang_Type">
<xsd:annotation><xsd:documentation>Bezeichnung, zu welchem Vertrag die Änderungsmöglichkeiten angezeigt werden sollen.</xsd:documentation></xsd:annotation>
@@ -47,7 +47,7 @@
<xsd:annotation><xsd:documentation>Requestobjekt für eine sofort wirksame einfache Vertragsänderung. Es gibt kein Modell und keine Geschäftsfallnummer.</xsd:documentation></xsd:annotation>
</xsd:element>
<xsd:element name="ImmediateSimpleContractChangeResponse" type="cst:CommonResponse_Type" >
<xsd:element name="ImmediateSimpleContractChangeResponse" type="cst:CommonSimpleResponse_Type" >
<xsd:annotation><xsd:documentation>Responseobjekt für eine sofort wirksame einfache Vertragsänderung. Es gibt kein Modell und keine Geschäftsfallnummer.</xsd:documentation></xsd:annotation>
</xsd:element>
@@ -153,7 +153,7 @@
<xsd:complexType name="RequestVertragsaenderung_Type" abstract="true">
<xsd:complexContent>
<xsd:extension base="cst:CommonRequest_Type">
<xsd:extension base="cst:CommonSimpleRequest_Type">
<xsd:sequence>
<xsd:element name="ObjektId" type="xsd:string">
<xsd:annotation><xsd:documentation>Id des Objekts, welches geändert werden soll, z.B. die VertragsId</xsd:documentation></xsd:annotation>
@@ -164,7 +164,7 @@
</xsd:complexType>
<xsd:complexType name="ResponseVertragsaenderung_Type" abstract="true">
<xsd:complexContent>
<xsd:extension base="cst:CommonResponse_Type">
<xsd:extension base="cst:CommonSimpleResponse_Type">
<!-- <xsd:sequence>-->
<!-- <xsd:element name="Vertrag" type="cst:Ersatzpolizze_Type">-->
<!-- <xsd:annotation><xsd:documentation>Vertrag, welcher geändert wird.</xsd:documentation></xsd:annotation>-->
@@ -348,6 +348,11 @@
</xsd:complexType>
<xsd:complexType name="ModellAenderung_Type" abstract="true">
<xsd:annotation><xsd:documentation>Das Modell mit den Angaben zur Änderung.</xsd:documentation></xsd:annotation>
<xsd:sequence>
<xsd:element name="Modellstatus" type="cst:Status_Type" minOccurs="1">
<xsd:annotation><xsd:documentation>Der Status des Modells.</xsd:documentation></xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- =========================================================== -->
@@ -357,7 +362,7 @@
<xsd:annotation><xsd:documentation>Requestobjekt, um Verträge zu erhalten, in welche Risikoobjekte einbezogen werden können.</xsd:documentation></xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonRequest_Type">
<xsd:extension base="cst:CommonSimpleRequest_Type">
<xsd:sequence>
<xsd:element name="Versicherungsnehmer" type="cst:Person_Type">
<xsd:annotation><xsd:documentation>Versicherungsnehmer</xsd:documentation></xsd:annotation>
@@ -377,7 +382,7 @@
<xsd:annotation><xsd:documentation>Response mit Verträgen für den VN in der vorgegebenen Sparte, in welche Risikoobjekte einbezogen werden können.</xsd:documentation></xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonResponse_Type">
<xsd:extension base="cst:CommonSimpleResponse_Type">
<xsd:sequence>
<xsd:element name="Vertrag" type="cst:Ersatzpolizze_Type" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation><xsd:documentation>Vertrag</xsd:documentation></xsd:annotation>
@@ -391,7 +396,7 @@
<xsd:annotation><xsd:documentation>Requests zur Anfrage eines Vorschlags für die Einbeziehung eines Risikoobjekts in einen Vertrag</xsd:documentation></xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonRequest_Type">
<xsd:extension base="cst:CommonSimpleRequest_Type">
<xsd:sequence>
<xsd:element name="Vertrag" type="cst:Ersatzpolizze_Type">
<xsd:annotation><xsd:documentation>Angabe des Vertrags, in welchen das Risikoobjekt einbezogen werden soll.</xsd:documentation></xsd:annotation>
@@ -410,7 +415,7 @@
<xsd:annotation><xsd:documentation>Response mit einem Vorschlag für die Einbeziehung eines Risikoobjekts in einen Vertrag</xsd:documentation></xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonResponse_Type">
<xsd:extension base="cst:CommonSimpleResponse_Type">
<xsd:sequence>
<xsd:element ref="Einbeziehung" />
</xsd:sequence>
@@ -422,7 +427,7 @@
<xsd:annotation><xsd:documentation>Response mit einem Vorschlag für die Einbeziehung eines Risikoobjekts in einen Vertrag</xsd:documentation></xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonRequest_Type">
<xsd:extension base="cst:CommonSimpleRequest_Type">
<xsd:sequence>
<xsd:element ref="Einbeziehung" />
</xsd:sequence>
@@ -433,7 +438,7 @@
<xsd:element name="AmendRiskConfigurationResponse" >
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonResponse_Type">
<xsd:extension base="cst:CommonSimpleResponse_Type">
<xsd:sequence>
<xsd:element ref="Einbeziehung" />
</xsd:sequence>
@@ -444,7 +449,7 @@
<xsd:element name="AmendRiskSubmitRequest" >
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonRequest_Type">
<xsd:extension base="cst:CommonSimpleRequest_Type">
<xsd:sequence>
<xsd:element ref="Einbeziehung" />
</xsd:sequence>
@@ -455,7 +460,7 @@
<xsd:element name="AmendRiskSubmitResponse">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="cst:CommonResponse_Type">
<xsd:extension base="cst:CommonSimpleResponse_Type">
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>