openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TPDA_DOWNLOAD_PAR_TO_SE37:
    post:
      tags:
      - STPDA_SERVICES_TOOLS
      operationId: /rfc/TPDA_DOWNLOAD_PAR_TO_SE37
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_CONTAINER_IT:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      TAB_INDEX:
                        type: integer
                        format: int64
                        description: Index for table element
                      ELEMLENGTH:
                        type: integer
                        format: int64
                        description: Length of the field in bytes
                      TYPE:
                        type: string
                        maxLength: 1
                        description: ABAP Type of element
                      VALUE:
                        type: string
                        maxLength: 255
                        description: Character value
                P_FUNCNAME:
                  type: string
                  maxLength: 30
                P_TITLE:
                  type: string
                  maxLength: 40
              required:
              - P_CONTAINER_IT
              - P_FUNCNAME
              - P_TITLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_MESS_STRUC:
                    type: object
                    properties:
                      MESSAGE_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MESSAGE_CLASS:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MESSAGE_NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE_PAR1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_PAR2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_PAR3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_PAR4:
                        type: string
                        maxLength: 50
                        description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
