openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_CUA_INTERNAL_VERS_RETRIEVE:
    post:
      tags:
      - SMPI
      summary: 'Menu Painter - internal call: Restore version'
      operationId: /rfc/RS_CUA_INTERNAL_VERS_RETRIEVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CUSTOMER:
                  type: string
                  maxLength: 1
                  description: Request/Task
                PROGRAM:
                  type: string
                  maxLength: 110
                TR_CORR:
                  type: string
                  maxLength: 20
                  description: Request/Task
                TR_KEY:
                  type: object
                  properties:
                    DEVCLASS:
                      type: string
                      maxLength: 30
                      description: Package
                    OBJ_TYPE:
                      type: string
                      maxLength: 4
                      description: Object Type
                    OBJ_NAME:
                      type: string
                      maxLength: 40
                      description: Object Name in Object Directory
                    SUB_TYPE:
                      type: string
                      maxLength: 4
                      description: Object Type
                    SUB_NAME:
                      type: string
                      maxLength: 120
                      description: Object name in SUBKEY
                VERSNO:
                  type: integer
                  format: int64
              required:
              - CUSTOMER
              - PROGRAM
              - TR_CORR
              - TR_KEY
              - VERSNO
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
