openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_MULTIPLE_OTYPE_SEARCH:
    post:
      tags:
      - RHWL
      operationId: /rfc/RH_MULTIPLE_OTYPE_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                ACT_SEARCH:
                  type: string
                  default: '*'
                  maxLength: 12
                  description: Search Term
                ACT_TITLE:
                  type: string
                  maxLength: 25
                SELECTED_OBJ_APPEND:
                  type: string
                  maxLength: 1
                SET_MODE:
                  type: string
                  maxLength: 1
                USE_OBJECTS_TO_BE_SEARCHED_FOR:
                  type: string
                  maxLength: 1
                OBJECTS_TO_BE_SEARCHED_FOR:
                  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
                OTYPE_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      OTYPE:
                        type: string
                        maxLength: 2
                        description: Standard Object Type
                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
      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
                  OBJECTS_TO_BE_SEARCHED_FOR:
                    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
                  OTYPE_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        OTYPE:
                          type: string
                          maxLength: 2
                          description: Standard Object Type
                  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.
