openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPC_FW_START_RFC:
    post:
      tags:
      - UPC_FW_FRONTEND
      operationId: /rfc/UPC_FW_START_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AREA:
                  type: string
                  maxLength: 8
                  description: Planning Area
                I_FCODE:
                  type: string
                  maxLength: 70
                I_HIDE_TREES:
                  type: string
                  default: ' '
                  maxLength: 1
                I_METHOD:
                  type: string
                  maxLength: 8
                  description: Planning Function
                I_NODE_TYPE:
                  type: string
                  maxLength: 10
                  description: Node Type
                I_PACKAGE:
                  type: string
                  maxLength: 8
                  description: Planning Package
                I_PARAM:
                  type: string
                  maxLength: 8
                  description: Parameter group
                I_PLEVEL:
                  type: string
                  maxLength: 8
                  description: Planning Level
                I_PROFILE:
                  type: string
                  maxLength: 8
                ET_MESG:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGTXT:
                        type: string
                        maxLength: 273
                        description: 'Application Log: Message text with parameters'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Code
                  E_TR_DATA_CHANGED:
                    type: string
                    maxLength: 1
                  ET_MESG:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGTXT:
                          type: string
                          maxLength: 273
                          description: 'Application Log: Message text with parameters'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
