openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ARCHIV_GET_ARCHIVINFOS:
    post:
      tags:
      - OPTD
      operationId: /rfc/ARCHIV_GET_ARCHIVINFOS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ARCHIV_ID:
                  type: string
                  maxLength: 2
                  description: ID of physical archive
              required:
              - ARCHIV_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ARCHIVPATH:
                    type: string
                    maxLength: 70
                    description: Archive standard path for accessing objects
                  BASICPATH:
                    type: string
                    maxLength: 70
                    description: Basic path for archive server on R/3 server
                  HTTP_SCRIPT:
                    type: string
                    maxLength: 70
                    description: Physical archiving path
                  HTTP_SERVER:
                    type: string
                    maxLength: 64
                    description: Physical archiving path
                  INTERFACE:
                    type: string
                    maxLength: 14
                    description: ICC partner
                  PHYS_ARCHIVPATH:
                    type: string
                    maxLength: 70
                    description: Physical archiving path
                  PHYS_BASICPATH:
                    type: string
                    maxLength: 70
                    description: Physical basic path
                  PROTOKOLL:
                    type: string
                    maxLength: 8
                    description: Archive connection protocol
                  RPC_HOST:
                    type: string
                    maxLength: 32
                    description: 'RPC host: Computer partner is on'
                  RPC_SERVICE:
                    type: string
                    maxLength: 32
                    description: 'RPC service: Number of RPC service'
                  SPOOLPATH:
                    type: string
                    maxLength: 70
                    description: Physical archiving path
                  STORAGEPATH:
                    type: string
                    maxLength: 20
                    description: Basic path for archive server on R/3 server
                  S_TOAAR:
                    type: object
                    properties:
                      ARCHIV_ID:
                        type: string
                        maxLength: 2
                        description: Content Repository Identification
                      INTERFACE:
                        type: string
                        maxLength: 14
                        description: 'SAP ArchiveLink: Name of communication connection component'
                      SCAN_ID:
                        type: string
                        maxLength: 14
                        description: 'SAP ArchiveLink: Name of scan connection component'
                      ARCHIVNAME:
                        type: string
                        maxLength: 32
                        description: 'SAP ArchiveLink: Storage system name'
                      ARCHIVPATH:
                        type: string
                        maxLength: 70
                        description: 'SAP ArchiveLink: Standard archive path'
                      BASICPATH:
                        type: string
                        maxLength: 70
                        description: 'SAP ArchiveLink: Basic path for storage server on R/3 server'
                      ARCHIV_SNA:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Storage system short name'
                      FUNCTIONS:
                        type: string
                        maxLength: 25
                        description: 'SAP ArchiveLink: Allowed functions'
                      IN_VERSION:
                        type: string
                        maxLength: 10
                        description: 'SAP ArchiveLink: Sequential version number'
                      PROTOKOLL:
                        type: string
                        maxLength: 8
                        description: 'SAP ArchiveLink: Storage connection protocol'
                      RPC_HOST:
                        type: string
                        maxLength: 32
                        description: SAP ArchiveLink RPC host
                      RPC_SERVIC:
                        type: string
                        maxLength: 32
                        description: 'SAP ArchiveLink: RPC service / RFC destination'
                      VERSION:
                        type: string
                        maxLength: 4
                        description: 'SAP ArchiveLink: Version number  enumValues: 0031=SAP ArchiveLink Interface 3.1,*=SAP ArchiveLink Interface Default Version ''*'',0045=SAP ArchiveLink HTTP Content Server Interface 4.5,0046=SAP ArchiveLink HTTP Content Server Interface 4.6'
                        enum:
                        - '0031'
                        - '*'
                        - '0045'
                        - '0046'
                      VIEWER:
                        type: string
                        maxLength: 20
                        description: 'SAP ArchiveLink: Viewer name'
                      VIEWOPTION:
                        type: string
                        maxLength: 100
                        description: 'SAP ArchiveLink: Viewer options'
                      RPC:
                        type: string
                        maxLength: 1
                        description: Storage system communicates on the server side via RPC
                      RFC:
                        type: string
                        maxLength: 1
                        description: Storage system communicates on the server side via RFC
                      FILES:
                        type: string
                        maxLength: 1
                        description: File store
                      HTTP:
                        type: string
                        maxLength: 1
                        description: SAP ArchiveLink flag for HTTP communication
                      FILEDIRECT:
                        type: string
                        maxLength: 20
                        description: Storage Path
                      SPOOLPATH:
                        type: string
                        maxLength: 70
                        description: SAP ArchiveLink file paths
                      HTTP_SERV:
                        type: string
                        maxLength: 64
                        description: HTTP server ID
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: Created by
                      CREA_TIME:
                        type: integer
                        format: int64
                        description: Creation time (UTC)
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHNG_TIME:
                        type: integer
                        format: int64
                        description: Time of change (UTC)
                      SCRIPT:
                        type: string
                        maxLength: 70
                        description: 'SAP ArchiveLink: Program Name and Path Name'
                  VERSION:
                    type: string
                    maxLength: 4
                    description: Version number of archive protocol
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
