openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TWPN_GET_MINIAPP_OLD:
    post:
      tags:
      - PWP2
      operationId: /rfc/TWPN_GET_MINIAPP_OLD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ENABLE_LOGGING:
                  type: string
                  default: X
                  maxLength: 1
                POSITION:
                  type: integer
                  format: int64
                ROLENAME:
                  type: string
                  maxLength: 30
                MESSAGE_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGDATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      MSGTIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Entry type (I/W/E)
                      MESSAGE:
                        type: string
                        maxLength: 255
                        description: Message long text
                SERVICE_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      SRVKEY:
                        type: string
                        maxLength: 30
                        description: Key(s)
                      SRVLANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      SRVVALUE:
                        type: string
                        maxLength: 255
                        description: Entry value
              required:
              - POSITION
              - ROLENAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESSAGE_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGDATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        MSGTIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: Entry type (I/W/E)
                        MESSAGE:
                          type: string
                          maxLength: 255
                          description: Message long text
                  SERVICE_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        SRVKEY:
                          type: string
                          maxLength: 30
                          description: Key(s)
                        SRVLANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        SRVVALUE:
                          type: string
                          maxLength: 255
                          description: Entry value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
