openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/W3_GET_WEBAPP_DEFINITION:
    post:
      tags:
      - W3_API_MINIAPP
      operationId: /rfc/W3_GET_WEBAPP_DEFINITION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MINIAPP:
                  type: string
                  maxLength: 30
                  description: MiniApp Name
                MATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      APPNAME:
                        type: string
                        maxLength: 30
                        description: MiniApp Name
                      SRV_FILE:
                        type: string
                        maxLength: 64
                        description: Service Name (Caller)
                      APPNAMEV:
                        type: string
                        maxLength: 30
                        description: MiniApp Name
                      APPTYPE:
                        type: string
                        maxLength: 10
                        description: 'Type of Application  enumValues: M=MiniApp,PERS=Personalization MiniApp, Personalization Service,WEBAPP=Web Application,OFF=Offline Application'
                        enum:
                        - M
                        - PERS
                        - WEBAPP
                        - 'OFF'
                      IMPTYPE:
                        type: string
                        maxLength: 10
                        description: 'Implementation type  enumValues: URLOBJ=General URL object,O2=Oxygen class,ITS=ITS service'
                        enum:
                        - URLOBJ
                        - O2
                        - ITS
                      INITPAGE:
                        type: string
                        maxLength: 90
                        description: First Page
                      URLCOMPO1:
                        type: string
                        maxLength: 128
                        description: Text 128
                      URLCOMPO2:
                        type: string
                        maxLength: 128
                        description: Text 128
                      URLCOMPO3:
                        type: string
                        maxLength: 128
                        description: Text 128
                      URLCOMPO4:
                        type: string
                        maxLength: 128
                        description: Text 128
                      URLCOMPO5:
                        type: string
                        maxLength: 128
                        description: Text 128
                      URLCOMPO6:
                        type: string
                        maxLength: 128
                        description: Text 128
                      URLCOMPO7:
                        type: string
                        maxLength: 128
                        description: Text 128
                      URLCOMPO8:
                        type: string
                        maxLength: 128
                        description: Text 128
                      THEME:
                        type: string
                        maxLength: 2
                        description: Theme of Internet Application Component
                      PERSMIN:
                        type: string
                        maxLength: 30
                        description: MiniApp Name
                      PERVASIVE:
                        type: string
                        maxLength: 1
                        description: Pervasive enabled
                      REFRESH:
                        type: string
                        maxLength: 1
                        description: Auto-refresh activated
                      REFR_TIME:
                        type: string
                        maxLength: 6
                        description: Time
                      HEIGHT:
                        type: string
                        maxLength: 10
                        description: Height of the MiniApp
                      WIDTH:
                        type: string
                        maxLength: 10
                        description: Width of the MiniApp
                      STATLINE:
                        type: string
                        maxLength: 1
                        description: Status Line
                MDEVICES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      DEVTYPE:
                        type: string
                        maxLength: 30
                        description: Device Type
                      VALUE:
                        type: string
                        maxLength: 120
                        description: Text with Length of 120 Characters
                MPARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      APPNAME:
                        type: string
                        maxLength: 30
                        description: MiniApp Name
                      PARAMNAME:
                        type: string
                        maxLength: 64
                        description: Name of Interface Parameter for Service
                      WERT:
                        type: string
                        maxLength: 80
                        description: Value of Service Interface Parameter
                MPARAMETERSN:
                  type: array
                  items:
                    type: object
                    properties:
                      APPNAME:
                        type: string
                        maxLength: 30
                        description: MiniApp Name
                      PARAMNAME:
                        type: string
                        maxLength: 64
                        description: Name of Interface Parameter for Service
                      WERT:
                        type: string
                        maxLength: 80
                        description: Value of Service Interface Parameter
                      PERSONAL:
                        type: string
                        maxLength: 1
                        description: Can Personalize
                MPTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      APPNAME:
                        type: string
                        maxLength: 30
                        description: MiniApp Name
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      PARAMNAME:
                        type: string
                        maxLength: 64
                        description: Name of Interface Parameter for Service
                      STEXT:
                        type: string
                        maxLength: 75
                        description: MiniApp Short Description
                MTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      APPNAME:
                        type: string
                        maxLength: 30
                        description: MiniApp Name
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      STEXT:
                        type: string
                        maxLength: 75
                        description: MiniApp Short Description
                      SHORTTEXT:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      MEDIUMTEXT:
                        type: string
                        maxLength: 40
                        description: Long Field Label
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        APPNAME:
                          type: string
                          maxLength: 30
                          description: MiniApp Name
                        SRV_FILE:
                          type: string
                          maxLength: 64
                          description: Service Name (Caller)
                        APPNAMEV:
                          type: string
                          maxLength: 30
                          description: MiniApp Name
                        APPTYPE:
                          type: string
                          maxLength: 10
                          description: 'Type of Application  enumValues: M=MiniApp,PERS=Personalization MiniApp, Personalization Service,WEBAPP=Web Application,OFF=Offline Application'
                          enum:
                          - M
                          - PERS
                          - WEBAPP
                          - 'OFF'
                        IMPTYPE:
                          type: string
                          maxLength: 10
                          description: 'Implementation type  enumValues: URLOBJ=General URL object,O2=Oxygen class,ITS=ITS service'
                          enum:
                          - URLOBJ
                          - O2
                          - ITS
                        INITPAGE:
                          type: string
                          maxLength: 90
                          description: First Page
                        URLCOMPO1:
                          type: string
                          maxLength: 128
                          description: Text 128
                        URLCOMPO2:
                          type: string
                          maxLength: 128
                          description: Text 128
                        URLCOMPO3:
                          type: string
                          maxLength: 128
                          description: Text 128
                        URLCOMPO4:
                          type: string
                          maxLength: 128
                          description: Text 128
                        URLCOMPO5:
                          type: string
                          maxLength: 128
                          description: Text 128
                        URLCOMPO6:
                          type: string
                          maxLength: 128
                          description: Text 128
                        URLCOMPO7:
                          type: string
                          maxLength: 128
                          description: Text 128
                        URLCOMPO8:
                          type: string
                          maxLength: 128
                          description: Text 128
                        THEME:
                          type: string
                          maxLength: 2
                          description: Theme of Internet Application Component
                        PERSMIN:
                          type: string
                          maxLength: 30
                          description: MiniApp Name
                        PERVASIVE:
                          type: string
                          maxLength: 1
                          description: Pervasive enabled
                        REFRESH:
                          type: string
                          maxLength: 1
                          description: Auto-refresh activated
                        REFR_TIME:
                          type: string
                          maxLength: 6
                          description: Time
                        HEIGHT:
                          type: string
                          maxLength: 10
                          description: Height of the MiniApp
                        WIDTH:
                          type: string
                          maxLength: 10
                          description: Width of the MiniApp
                        STATLINE:
                          type: string
                          maxLength: 1
                          description: Status Line
                  MDEVICES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        DEVTYPE:
                          type: string
                          maxLength: 30
                          description: Device Type
                        VALUE:
                          type: string
                          maxLength: 120
                          description: Text with Length of 120 Characters
                  MPARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        APPNAME:
                          type: string
                          maxLength: 30
                          description: MiniApp Name
                        PARAMNAME:
                          type: string
                          maxLength: 64
                          description: Name of Interface Parameter for Service
                        WERT:
                          type: string
                          maxLength: 80
                          description: Value of Service Interface Parameter
                  MPARAMETERSN:
                    type: array
                    items:
                      type: object
                      properties:
                        APPNAME:
                          type: string
                          maxLength: 30
                          description: MiniApp Name
                        PARAMNAME:
                          type: string
                          maxLength: 64
                          description: Name of Interface Parameter for Service
                        WERT:
                          type: string
                          maxLength: 80
                          description: Value of Service Interface Parameter
                        PERSONAL:
                          type: string
                          maxLength: 1
                          description: Can Personalize
                  MPTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        APPNAME:
                          type: string
                          maxLength: 30
                          description: MiniApp Name
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        PARAMNAME:
                          type: string
                          maxLength: 64
                          description: Name of Interface Parameter for Service
                        STEXT:
                          type: string
                          maxLength: 75
                          description: MiniApp Short Description
                  MTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        APPNAME:
                          type: string
                          maxLength: 30
                          description: MiniApp Name
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        STEXT:
                          type: string
                          maxLength: 75
                          description: MiniApp Short Description
                        SHORTTEXT:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        MEDIUMTEXT:
                          type: string
                          maxLength: 40
                          description: Long Field Label
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
