Skip to content

Commit

Permalink
improve Unterlagen-API
Browse files Browse the repository at this point in the history
- rename Unterlagen-API terms
- add some requests
  • Loading branch information
MikeKrueger75 committed Feb 3, 2022
1 parent 097afd7 commit e665bc4
Showing 1 changed file with 90 additions and 24 deletions.
114 changes: 90 additions & 24 deletions EUROPACE API Calls.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@
"listen": "test",
"script": {
"exec": [
"pm.environment.set(\"ul_location\", pm.response.headers.get('Location'))"
"pm.environment.set(\"doc_location\", pm.response.headers.get('Location'))"
],
"type": "text/javascript"
}
Expand Down Expand Up @@ -1367,7 +1367,7 @@
"listen": "test",
"script": {
"exec": [
"pm.environment.set(\"ul_location\", pm.response.headers.get('Location'))"
"pm.environment.set(\"doc_location\", pm.response.headers.get('Location'))"
],
"type": "text/javascript"
}
Expand Down Expand Up @@ -1443,9 +1443,9 @@
"method": "GET",
"header": [],
"url": {
"raw": "{{ul_location}}",
"raw": "{{doc_location}}",
"host": [
"{{ul_location}}"
"{{doc_location}}"
]
}
},
Expand Down Expand Up @@ -1487,10 +1487,10 @@
"name": "Unterlagen API",
"item": [
{
"name": "add documents to a case",
"name": "add proof file to a case",
"item": [
{
"name": "1. store document",
"name": "1. store proof file",
"item": [
{
"name": "create presigned url",
Expand Down Expand Up @@ -1546,7 +1546,7 @@
"response": []
},
{
"name": "upload document file",
"name": "upload proof file",
"request": {
"method": "POST",
"header": [],
Expand Down Expand Up @@ -1612,7 +1612,7 @@
]
},
{
"name": "2. add uploaded document",
"name": "2. add uploaded proof file",
"event": [
{
"listen": "test",
Expand Down Expand Up @@ -1697,10 +1697,10 @@
]
},
{
"name": "get document",
"name": "get proof",
"item": [
{
"name": "get document",
"name": "get proof",
"request": {
"method": "GET",
"header": [
Expand Down Expand Up @@ -1849,7 +1849,7 @@
"response": []
},
{
"name": "assign pages (category)",
"name": "assign page (category)",
"request": {
"method": "PUT",
"header": [
Expand Down Expand Up @@ -1979,7 +1979,48 @@
"response": []
},
{
"name": "download shared content",
"name": "get all shared proofs of an application",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "X-TraceId",
"value": "{{traceId}}"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"url": {
"raw": "https://api.europace2.de/v1/dokumente/freigabe?antragsNummer={{vorgangsNummer}}/1/1",
"protocol": "https",
"host": [
"api",
"europace2",
"de"
],
"path": [
"v1",
"dokumente",
"freigabe"
],
"query": [
{
"key": "antragsNummer",
"value": "{{vorgangsNummer}}/1/1"
}
]
}
},
"response": []
},
{
"name": "get metadata of shared proof",
"request": {
"method": "GET",
"header": [
Expand Down Expand Up @@ -2012,14 +2053,10 @@
"response": []
},
{
"name": "get all shared documents of an application",
"name": "download shared proof",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "X-TraceId",
"value": "{{traceId}}"
Expand All @@ -2030,7 +2067,7 @@
}
],
"url": {
"raw": "https://api.europace2.de/v1/dokumente/freigabe?antragsNummer={{vorgangsNummer}}/1/1",
"raw": "https://api.europace2.de/v1/dokumente/freigabe/{{ul_freigabeId}}/content",
"protocol": "https",
"host": [
"api",
Expand All @@ -2040,13 +2077,42 @@
"path": [
"v1",
"dokumente",
"freigabe"
],
"query": [
{
"key": "antragsNummer",
"value": "{{vorgangsNummer}}/1/1"
"freigabe",
"{{ul_freigabeId}}",
"content"
]
}
},
"response": []
},
{
"name": "set receiving state",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"status\": \"DELIVERED\",\n \"message\": \"Bank hat Unterlage erhalten.\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://api.europace2.de/v1/dokumente/freigabe/{{ul_freigabeId}}/status",
"protocol": "https",
"host": [
"api",
"europace2",
"de"
],
"path": [
"v1",
"dokumente",
"freigabe",
"{{ul_freigabeId}}",
"status"
]
}
},
Expand Down

0 comments on commit e665bc4

Please sign in to comment.