openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_FA_TYPE_HELP:
    post:
      tags:
      - RHWL
      operationId: /rfc/RH_FA_TYPE_HELP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                ACT_ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                ACT_SEARCH_OTYPE:
                  type: string
                  maxLength: 2
                ACT_SEARCH_STRING:
                  type: string
                  maxLength: 12
                SET_MODE:
                  type: string
                  maxLength: 1
                SELECTED_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      PLVAR:
                        type: string
                        maxLength: 2
                        description: Plan Version
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Object Type
                      SOBID:
                        type: string
                        maxLength: 45
                        description: ID of Related Object
              required:
              - ACT_SEARCH_OTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SELECTED_OBJID:
                    type: string
                    maxLength: 45
                  SELECTED_OTYPE:
                    type: string
                    maxLength: 2
                  SELECTED_PLVAR:
                    type: string
                    maxLength: 2
                  SELECTED_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        PLVAR:
                          type: string
                          maxLength: 2
                          description: Plan Version
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Object Type
                        SOBID:
                          type: string
                          maxLength: 45
                          description: ID of Related Object
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
