openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_TEXTPOOL_GET:
    post:
      tags:
      - RS_NET_SERVICES
      operationId: /rfc/RS_TEXTPOOL_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                E_T_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      PROGNM:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      VERSION:
                        type: integer
                        format: int32
                        description: Natural number
                      KEY:
                        type: string
                        maxLength: 8
                        description: Text element key (number/selection name)
                      ENTRY:
                        type: string
                        maxLength: 255
                        description: Language-dependent text in ABAP/4 text pool
                I_T_TEXTPOOL:
                  type: array
                  items:
                    type: object
                    properties:
                      PROGNM:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      VERSION:
                        type: integer
                        format: int32
                        description: Natural number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        PROGNM:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        VERSION:
                          type: integer
                          format: int32
                          description: Natural number
                        KEY:
                          type: string
                          maxLength: 8
                          description: Text element key (number/selection name)
                        ENTRY:
                          type: string
                          maxLength: 255
                          description: Language-dependent text in ABAP/4 text pool
                  I_T_TEXTPOOL:
                    type: array
                    items:
                      type: object
                      properties:
                        PROGNM:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        VERSION:
                          type: integer
                          format: int32
                          description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
