@@ -29,14 +29,15 @@ https://www.europace2.de/kreditsmart/kex/antraege/dokumente
2929
3030The following properties are available for the request body:
3131
32- Request parameter | Description | Comment
33- ------------------------------|---------------------------------------------------------------|----------------------------------------------------------------
34- antragsnummer | Identifier of the application on the Europace2 platform | Mandatory if no ** produktanbieterantragsnummer** is submitted.
35- produktanbieterantragsnummer | Identifier of the application to the relevant Produktanbieter | Mandatory if no ** antragsnummer** is submitted.
36- kommentar | Comment, that can be displayed in the GUI | Optional
37- antragsdokument | The document to be uploaded | Mandatory
38- antragsdokument.fileName | The document's file name | Mandatory
39- antragsdokument.fileContent | The document's content as a base64 encoded string | Mandatory
32+ Request parameter | Description | Comment |
33+ ------------------------------|---------------------------------------------------------------|----------------------------------------------------------------|
34+ antragsnummer | Identifier of the application on the Europace2 platform | Mandatory if no ** produktanbieterantragsnummer** is submitted. |
35+ produktanbieterantragsnummer | Identifier of the application to the relevant Produktanbieter | Mandatory if no ** antragsnummer** is submitted. |
36+ kommentar | Comment, that can be displayed in the GUI | Optional |
37+ tags | List of tags describing features of the uploaded document | Optional <br ><br >allowed values:<li >** QES** </li > |
38+ antragsdokument | The document to be uploaded | Mandatory |
39+ antragsdokument.fileName | The document's file name | Mandatory |
40+ antragsdokument.fileContent | The document's content as a base64 encoded string | Mandatory |
4041
4142The following HTTP headers will be expected:
4243
@@ -45,7 +46,8 @@ The following HTTP headers will be expected:
4546 Content-Type | Content type of the request body | Always has to be ` application/json ` |
4647
4748The request body size must not exceed 10 MB.
48- In case of success the API will respond with an HTTP status ` 201 ` .
49+
50+ If the document already exists in the current application (with same name, comment and document hash), it will not be added again.
4951
5052## Authentication
5153
@@ -56,10 +58,11 @@ the [Authorization-API](https://docs.api.europace.de/privatkredit/authentifizier
5658| -------------------------------| ---------------------------------------| ---------------------------|
5759| privatkredit:antrag: schreiben | KreditSmart-Anträge anlegen/verändern | Scope for updating a case |
5860
59- ## HTTP Status Errors
61+ ## HTTP Status Codes
6062
6163| Error Code | Message | Description |
6264| ------------| --------------------------| -------------------------------|
65+ | 201 | Created | Request was successful |
6366| 401 | Unauthorized | Authentication failed |
6467| 403 | Forbidden | The API client misses a scope |
6568| 413 | Request Entity Too Large | Request body is too large |
@@ -91,11 +94,11 @@ The document for an application with the Produktanbieterantragsnummer `12919351`
9194
9295### Adding a document with Antragsnummer
9396
94- Alternatively, the Antragsnummer can be transferred instead of the Produktanbieterantragsnummer:
97+ Alternatively, the Antragsnummer can be used instead of the Produktanbieterantragsnummer:
9598
9699``` json
97100{
98- "antragsnummer" : " 985132 /1/1" ,
101+ "antragsnummer" : " ABC123 /1/1" ,
99102 "antragsdokument" : {
100103 "fileName" : " Kreditvertrag.pdf" ,
101104 "fileContent" : " ....."
@@ -105,11 +108,11 @@ Alternatively, the Antragsnummer can be transferred instead of the Produktanbiet
105108
106109### Adding a document with comment
107110
108- Furthermore, the request can also contain a comment which is displayed to the users of ** Kredit** Smart in addition to the actual document:
111+ The request can also contain a comment which is displayed to the users of ** Kredit** Smart in addition to the actual document:
109112
110113``` json
111114{
112- "produktanbieterantragsnummer " : " 12919351 " ,
115+ "antragsnummer " : " ABC123/1/1 " ,
113116 "kommentar" : " Der Kreditvertrag wurde erstellt. Bitte prüfen und unterschreiben." ,
114117 "antragsdokument" : {
115118 "fileName" : " Kreditvertrag.pdf" ,
@@ -118,7 +121,20 @@ Furthermore, the request can also contain a comment which is displayed to the us
118121}
119122```
120123
121- If the document already exists in the current application by name, comment and document hash, it will not be added again.
124+ ### Adding a document with tags
125+
126+ The request can also contain a list of tags describing features of a document:
127+
128+ ``` json
129+ {
130+ "antragsnummer" : " ABC123/1/1" ,
131+ "tags" : [" QES" ],
132+ "antragsdokument" : {
133+ "fileName" : " Kreditvertrag.pdf" ,
134+ "fileContent" : " ....."
135+ }
136+ }
137+ ```
122138
123139## Terms of use
124140
0 commit comments