Skip to content
Snippets Groups Projects
index.yaml 3.15 KiB
Newer Older
  - $ref: '../../../parameters/caseId.yaml'
  operationId: get-case-events
  summary: Event Log auslesen
  description: >
    Über diesen Endpunkt kann der [Event Log](https://docs.fitko.de/fit-connect/docs/getting-started/event-log/) eines Vorgangs
    abgerufen werden, um z.B. den Status des Vorgangs zu überprüfen.
  tags:
    - Einreichungsempfang
    - Einreichungsübermittlung
  security:
        - 'subscribe:destination:<id>'
        - 'manage:destination:<id>'
        - 'send:region:DE<region-id>+send:service:<service-uri>'
        - 'send:region:DE<region-id>'
  parameters:
    - $ref: '../../../parameters/pagination/limit.yaml'
    - $ref: '../../../parameters/pagination/offset.yaml'
  responses:
    '200':
      description: OK
      content:
        application/json:
          schema:
            $ref: '../../../schemas/event-log.yaml'
              $ref: '../../../examples/event-log.yaml'
    '401':
      description: Unauthorized
      content:
        application/problem+json:
          schema:
            $ref: ../../../schemas/error.yaml
    '403':
      description: Forbidden
      content:
        application/problem+json:
          schema:
            $ref: ../../../schemas/error.yaml
      description: Case not found
      content:
        application/problem+json:
          schema:
            $ref: ../../../schemas/error.yaml
  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 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/docs/getting-started/receiving/process-and-acknowledge/) beschrieben ist.
  tags:
    - Einreichungsempfang
  security:
        - 'subscribe:destination:<id>'
  requestBody:
    required: true
    content:
          $ref: '../../../schemas/security-event-token.yaml'
            $ref: '../../../examples/security-event-token.yaml'
    '204':
      description: SET angenommen
    '400':
      description: Bad Request
      content:
        application/problem+json:
          schema:
            $ref: ../../../schemas/error.yaml
    '401':
      description: Unauthorized
      content:
        application/problem+json:
          schema:
            $ref: ../../../schemas/error.yaml
    '403':
      description: Forbidden
      content:
        application/problem+json:
          schema:
            $ref: ../../../schemas/error.yaml
      description: Case not found
      content:
        application/problem+json:
          schema:
            $ref: ../../../schemas/error.yaml
    '409':
      description: 'Conflict: Invalid state transition'
      content:
        application/problem+json:
          schema: