openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SRET_INDEX_STORAGE_OPTIMIZE:
    post:
      tags:
      - SRAD
      operationId: /rfc/SRET_INDEX_STORAGE_OPTIMIZE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CODEPAGE:
                  type: string
                  format: byte
                DELAYMODE:
                  type: string
                  format: byte
                IDSTORID:
                  type: string
                  format: byte
                SEARCHENG:
                  type: string
                  format: byte
                XUSECLASS:
                  type: string
                  format: byte
                  description: Flag for classification for RFC transfer
                DOCUMENTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCID:
                        type: string
                        format: byte
                        description: Document key type RAW (hexadecimal representation)
                      STATUSID:
                        type: integer
                        format: int64
                        description: Return code
              required:
              - CODEPAGE
              - DELAYMODE
              - IDSTORID
              - SEARCHENG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RCODE:
                    type: string
                    maxLength: 4
                    description: Flag for classification for RFC transfer
                  DOCUMENTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCID:
                          type: string
                          format: byte
                          description: Document key type RAW (hexadecimal representation)
                        STATUSID:
                          type: integer
                          format: int64
                          description: Return code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
