openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_INFTY_SUBTY_TEXTS:
    post:
      tags:
      - RHA0
      operationId: /rfc/RH_INFTY_SUBTY_TEXTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                READ_INFTY_TEXTS:
                  type: string
                  default: X
                  maxLength: 1
                READ_SUBTY_TEXTS:
                  type: string
                  default: X
                  maxLength: 1
                SELECT_PA_INFOTYPES:
                  type: string
                  default: X
                  maxLength: 1
                SELECT_PD_INFOTYPES:
                  type: string
                  default: X
                  maxLength: 1
                INFOTYPES:
                  type: array
                  items:
                    type: object
                    properties:
                      INFTY:
                        type: string
                        maxLength: 4
                        description: Infotype for Standard Object
                INFOTYPES_SUBTYPES_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      INFTY:
                        type: string
                        maxLength: 4
                        description: Infotype
                      SUBTY:
                        type: string
                        maxLength: 4
                        description: Subtype
                      SUTXT:
                        type: string
                        maxLength: 25
                        description: Subtype Text
                INFOTYPES_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      INFTY:
                        type: string
                        maxLength: 4
                        description: Infotype
                      ITEXT:
                        type: string
                        maxLength: 25
                        description: Infotype Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFOTYPES:
                    type: array
                    items:
                      type: object
                      properties:
                        INFTY:
                          type: string
                          maxLength: 4
                          description: Infotype for Standard Object
                  INFOTYPES_SUBTYPES_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        INFTY:
                          type: string
                          maxLength: 4
                          description: Infotype
                        SUBTY:
                          type: string
                          maxLength: 4
                          description: Subtype
                        SUTXT:
                          type: string
                          maxLength: 25
                          description: Subtype Text
                  INFOTYPES_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        INFTY:
                          type: string
                          maxLength: 4
                          description: Infotype
                        ITEXT:
                          type: string
                          maxLength: 25
                          description: Infotype Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
