openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WEBQUERY:
    post:
      tags:
      - RRX1
      operationId: /rfc/WEBQUERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTENT_LENGTH:
                  type: integer
                  format: int32
                  description: Length of contents (required for binary objects)
                CONTENT_TYPE:
                  type: string
                  maxLength: 128
                  description: Type of contents
                RETURN_CODE:
                  type: integer
                  format: int32
                  description: Return code for ITS
                HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                MIME:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
                QUERY_STRING:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: Name for WWW query string name/value pair
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Value for WWW query string name/value pair
              required:
              - CONTENT_LENGTH
              - CONTENT_TYPE
              - RETURN_CODE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENT_LENGTH:
                    type: integer
                    format: int32
                    description: Length of contents (required for binary objects)
                  CONTENT_TYPE:
                    type: string
                    maxLength: 128
                    description: Type of contents
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: Return code for ITS
                  HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  MIME:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
                  QUERY_STRING:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 30
                          description: Name for WWW query string name/value pair
                        VALUE:
                          type: string
                          maxLength: 250
                          description: Value for WWW query string name/value pair
                required:
                - CONTENT_LENGTH
                - CONTENT_TYPE
                - RETURN_CODE
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
