openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BX_AGR_READ_TEXTPOOL:
    post:
      tags:
      - SMTR_NAVIGATION_MODULES_AX
      operationId: /rfc/BX_AGR_READ_TEXTPOOL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                PROGRAM_NAME:
                  type: string
                  maxLength: 40
                TEXTPOOL_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 1
                        description: ABAP/4 text pool ID (selection text/numbered text)
                      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
                      LENGTH:
                        type: integer
                        format: int32
                        description: Reserved length for text (with language reserve)
              required:
              - PROGRAM_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_ID:
                    type: integer
                    format: int64
                  NO_ASSIGN_AUTHORITY:
                    type: string
                    maxLength: 1
                  NO_CHANGE_AUTHORITY:
                    type: string
                    maxLength: 1
                  NO_CREATE_AUTHORITY:
                    type: string
                    maxLength: 1
                  NO_DELETE_AUTHORITY:
                    type: string
                    maxLength: 1
                  NO_DISPLAY_AUTHORITY:
                    type: string
                    maxLength: 1
                  TEXTPOOL_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 1
                          description: ABAP/4 text pool ID (selection text/numbered text)
                        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
                        LENGTH:
                          type: integer
                          format: int32
                          description: Reserved length for text (with language reserve)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
