Skip to content
Snippets Groups Projects
Commit 2403d03d authored by David Schwarzmann's avatar David Schwarzmann
Browse files

Merge branch 'add-endpoints-for-cases' into 'main'

Move the event log from a submission to the case

See merge request fit-connect/api!119
parents 06000e66 4dd30320
No related branches found
No related tags found
1 merge request!119Move the event log from a submission to the case
parameters:
- $ref: '../../../parameters/submissionId.yaml'
- $ref: '../../../parameters/caseId.yaml'
get:
operationId: get-submission-events
operationId: get-case-events
summary: Event Log auslesen
description: >
Über diesen Endpunkt kann der [Event Log](https://docs.fitko.de/fit-connect/details/event-log) einer Einreichung
abgerufen werden, um den Status der Einreichung zu überprüfen.
Über diesen Endpunkt kann der [Event Log](https://docs.fitko.de/fit-connect/details/event-log) eines Vorgangs
abgerufen werden, um z.B. den Status des Vorgangs zu überprüfen.
tags:
- Einreichungsempfang
- Einreichungsübermittlung
......@@ -29,12 +29,6 @@ get:
examples:
Beispiel:
$ref: '../../../examples/event-log.yaml'
'400':
description: Bad Request
content:
application/problem+json:
schema:
$ref: ../../../schemas/error.yaml
'401':
description: Unauthorized
content:
......@@ -48,19 +42,19 @@ get:
schema:
$ref: ../../../schemas/error.yaml
'404':
description: Submission not found
description: Case not found
content:
application/problem+json:
schema:
$ref: ../../../schemas/error.yaml
post:
operationId: send-submission-event
operationId: send-case-event
summary: Event senden
description: >
Als empfangendes System ist es notwendig die Einreichung entweder zu akzeptieren oder abzulehnen und dadurch die Zustellung abzuschließen.
Hierfür muss ein entsprechendes Event, die Einreichung betreffend an den Zustelldienst gesendet werden.
Dieses Event kann nach der Validierung der Rahmenstruktur der Einreichung durchgeführt werden, wie
Hierfür muss ein entsprechendes Event im Vorgang hinterlegt werden, indem es den Zustelldienst gesendet wird.
Dieses Event kann nach der Validierung der Rahmenstruktur der Einreichung versendet werden, wie
[hier](https://docs.fitko.de/fit-connect/getting-started/receiving/process-and-acknowledge) beschrieben ist.
tags:
- Einreichungsempfang
......@@ -98,7 +92,7 @@ post:
schema:
$ref: ../../../schemas/error.yaml
'404':
description: Submission not found
description: Case not found
content:
application/problem+json:
schema:
......
name: caseId
in: path
required: true
schema:
type: string
format: uuid
minLength: 32
maxLength: 36
description: Die UUID des Vorgangs
......@@ -43,15 +43,15 @@ paths:
/v1/destinations/{destinationId}/keys/{keyId}:
$ref: './endpoints/destinations/keys/uuid.yaml'
/v1/cases/{caseId}/events:
$ref: './endpoints/cases/events/index.yaml'
/v1/submissions:
$ref: './endpoints/submissions/index.yaml'
/v1/submissions/{submissionId}:
$ref: './endpoints/submissions/uuid.yaml'
/v1/submissions/{submissionId}/events:
$ref: './endpoints/submissions/events/index.yaml'
/v1/submissions/{submissionId}/attachments/{attachmentId}:
$ref: './endpoints/attachments/uuid.yaml'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment