openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/W3_GET_MINIAPP_TEXTS:
    post:
      tags:
      - W3_API_MINIAPP
      operationId: /rfc/W3_GET_MINIAPP_TEXTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                MINIAPP_NAME:
                  type: string
                  maxLength: 30
                  description: MiniApp Name
                APP_ADMIN:
                  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
                APP_TEXTS:
                  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
              required:
              - LANGUAGE
              - MINIAPP_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LONG_TEXT:
                    type: string
                    maxLength: 75
                    description: MiniApp Short Description
                  MEDIUM_TEXT:
                    type: string
                    maxLength: 40
                    description: Long field label
                  SHORT_TEXT:
                    type: string
                    maxLength: 20
                    description: Medium field label
                  APP_ADMIN:
                    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
                  APP_TEXTS:
                    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.
