openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ARCHIVE_GET_FILES_OF_SESSION:
    post:
      tags:
      - ARCH
      summary: Determine Archive Files for a Session
      operationId: /rfc/ARCHIVE_GET_FILES_OF_SESSION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SESSION:
                  type: integer
                  format: int64
                  description: Archiving Session ID
                FILES_OF_SESSION:
                  type: array
                  items:
                    type: object
                    properties:
                      ARCHIV_KEY:
                        type: string
                        maxLength: 20
                        description: Key for Archive File
                      OBJ_COUNT:
                        type: integer
                        format: int32
                        description: Number of objects in an archive file
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: File name of archive file
              required:
              - SESSION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FILES_OF_SESSION:
                    type: array
                    items:
                      type: object
                      properties:
                        ARCHIV_KEY:
                          type: string
                          maxLength: 20
                          description: Key for Archive File
                        OBJ_COUNT:
                          type: integer
                          format: int32
                          description: Number of objects in an archive file
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: File name of archive file
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
