{"swagger":"2.0","info":{"description":"Api Documentation","version":"1.0","title":"Api Documentation","termsOfService":"urn:tos","contact":{},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0"}},"host":"gdv-xport-400.herokuapp.com","basePath":"/","tags":[{"name":"datenpaket-controller","description":"Datenpaket Controller"}],"paths":{"/api/v1/Abweichungen":{"get":{"tags":["datenpaket-controller"],"summary":"validiert die uebergebene URI und gibt die gefundenen Abweichungen zurueck","operationId":"validateUsingGET","produces":["*/*"],"parameters":[{"name":"uri","in":"query","description":"z.B. http://www.gdv-online.de/vuvm/musterdatei_bestand/musterdatei_041222.txt","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Model"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"post":{"tags":["datenpaket-controller"],"summary":"validiert den uebergebene Text im GDV-Format und gibt die gefundenen Abweichungen zurueck","operationId":"validateUsingPOST_1","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","description":"Datenpaket im GDV-Format","required":false,"schema":{"type":"string"}},{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"string"}},{"name":"text","in":"query","description":"text","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Model"}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/Abweichungen/uploaded":{"post":{"tags":["datenpaket-controller"],"summary":"dient zur Validierung einer Datei im GDV-Format","operationId":"validateUsingPOST","consumes":["multipart/form-data"],"produces":["*/*"],"parameters":[{"name":"file","in":"formData","description":"file","required":true,"type":"file"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Model"}}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/Datenpaket*":{"get":{"tags":["datenpaket-controller"],"summary":"liest das Datenpaket von der angegebenen URI und gibt es im gewuenschten Format zurueck","operationId":"importDatenpaketUsingGET","produces":["*/*"],"parameters":[{"name":"format","in":"query","description":"HTML, XML, JSON, CSV oder TEXT","required":false,"type":"string"},{"name":"uri","in":"query","description":"z.B. http://www.gdv-online.de/vuvm/musterdatei_bestand/musterdatei_041222.txt","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Datenpaket"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"post":{"tags":["datenpaket-controller"],"summary":"liest das uebergebene Datenpaket und gibt es im gewuenschten Format zurueck","operationId":"importDatenpaketUsingPOST","consumes":["application/json"],"produces":["application/xml","text/html","application/json","text/xml","text/comma-separated-values","text/plain"],"parameters":[{"in":"body","description":"Datenpaket im GDV-Format","required":false,"schema":{"type":"string"}},{"in":"body","name":"body","description":"body","required":false,"schema":{"type":"string"}},{"name":"format","in":"query","description":"HTML, XML, JSON, CSV oder TEXT","required":false,"type":"string"},{"name":"text","in":"query","description":"text","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Datenpaket"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/Datenpaket/uploaded":{"post":{"tags":["datenpaket-controller"],"summary":"dient zum Laden und Anzeigen einer Datei im GDV-Format","operationId":"uploadDatenpaketUsingPOST","consumes":["multipart/form-data"],"produces":["*/*"],"parameters":[{"name":"file","in":"formData","description":"file","required":true,"type":"file"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Datenpaket"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}}},"definitions":{"Betrag":{"type":"object","title":"Betrag"},"BetragMitVorzeichen":{"type":"object","title":"BetragMitVorzeichen"},"Datenpaket":{"type":"object","properties":{"absender":{"type":"string"},"adressat":{"type":"string"},"datensaetze":{"type":"array","items":{"$ref":"#/definitions/Datensatz"}},"erstellungsDatumBis":{"$ref":"#/definitions/Datum"},"erstellungsDatumVon":{"$ref":"#/definitions/Datum"},"nachsatz":{"$ref":"#/definitions/Nachsatz"},"valid":{"type":"boolean"},"vermittler":{"type":"string"},"vorsatz":{"$ref":"#/definitions/Vorsatz"},"vuNummer":{"type":"string"}},"title":"Datenpaket"},"Datensatz":{"type":"object","properties":{"art":{"type":"integer","format":"int32"},"felder":{"type":"array","items":{"$ref":"#/definitions/Feld"}},"folgenummer":{"type":"integer","format":"int32"},"numberOfTeildatensaetze":{"type":"integer","format":"int32"},"satzart":{"type":"integer","format":"int32"},"satzartFeld":{"$ref":"#/definitions/NumFeld"},"sparteFeld":{"$ref":"#/definitions/NumFeld"},"teildatensaetze":{"type":"array","items":{"$ref":"#/definitions/Teildatensatz"}},"teildatensatzNummer":{"type":"string"},"valid":{"type":"boolean"},"vermittler":{"type":"string"},"versicherungsscheinNummer":{"type":"string"},"vuNummer":{"type":"string"}},"title":"Datensatz"},"Datum":{"type":"object","title":"Datum"},"Feld":{"type":"object","title":"Feld"},"Model":{"type":"object","title":"Model"},"Nachsatz":{"type":"object","properties":{"anzahlSaetze":{"type":"integer","format":"int32"},"felder":{"type":"array","items":{"$ref":"#/definitions/Feld"}},"gesamtBeitrag":{"$ref":"#/definitions/Betrag"},"gesamtBeitragBrutto":{"$ref":"#/definitions/BetragMitVorzeichen"},"numberOfTeildatensaetze":{"type":"integer","format":"int32"},"satzart":{"type":"integer","format":"int32"},"satzartFeld":{"$ref":"#/definitions/NumFeld"},"schadenbearbeitungsKosten":{"$ref":"#/definitions/BetragMitVorzeichen"},"teildatensaetze":{"type":"array","items":{"$ref":"#/definitions/Teildatensatz"}},"valid":{"type":"boolean"},"vermittler":{"type":"string"},"versicherungsLeistungen":{"$ref":"#/definitions/BetragMitVorzeichen"}},"title":"Nachsatz"},"NumFeld":{"type":"object","title":"NumFeld"},"Teildatensatz":{"type":"object","properties":{"felder":{"type":"array","items":{"$ref":"#/definitions/Feld"}},"numberOfTeildatensaetze":{"type":"integer","format":"int32"},"nummer":{"$ref":"#/definitions/Zeichen"},"satzart":{"type":"integer","format":"int32"},"satzartFeld":{"$ref":"#/definitions/NumFeld"},"teildatensaetze":{"type":"array","items":{"$ref":"#/definitions/Teildatensatz"}},"valid":{"type":"boolean"}},"title":"Teildatensatz"},"Vorsatz":{"type":"object","properties":{"absender":{"type":"string"},"adressat":{"type":"string"},"felder":{"type":"array","items":{"$ref":"#/definitions/Feld"}},"numberOfTeildatensaetze":{"type":"integer","format":"int32"},"satzart":{"type":"integer","format":"int32"},"satzartFeld":{"$ref":"#/definitions/NumFeld"},"teildatensaetze":{"type":"array","items":{"$ref":"#/definitions/Teildatensatz"}},"valid":{"type":"boolean"},"vermittler":{"type":"string"},"vuNummer":{"type":"string"}},"title":"Vorsatz"},"Zeichen":{"type":"object","title":"Zeichen"}}}