openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WWW_DISPATCH_REQUEST:
    post:
      tags:
      - SURL
      operationId: /rfc/WWW_DISPATCH_REQUEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: ALE/Web (ITS) context - field name
                      FIELDINDEX:
                        type: integer
                        format: int64
                        description: ALE/Web (ITS) context - index
                      FIELDCONT:
                        type: string
                        maxLength: 1024
                        description: ALE/Web (ITS) context - field contents
                HTML:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data 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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENT_LENGTH:
                    type: integer
                    format: int32
                  CONTENT_TYPE:
                    type: string
                    maxLength: 128
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: Determines whether connection or session was closed
                  DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: ALE/Web (ITS) context - field name
                        FIELDINDEX:
                          type: integer
                          format: int64
                          description: ALE/Web (ITS) context - index
                        FIELDCONT:
                          type: string
                          maxLength: 1024
                          description: ALE/Web (ITS) context - field contents
                  HTML:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data 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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
