openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/W3_CREATE_URL_WEBAPP:
    post:
      tags:
      - W3_API_MINIAPP
      operationId: /rfc/W3_CREATE_URL_WEBAPP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HALF_HEIGHT:
                  type: string
                  maxLength: 1
                  description: Half height
                HALF_WIDTH:
                  type: string
                  maxLength: 1
                  description: Half width
                LANGUAGE:
                  type: string
                  maxLength: 2
                MINIAPP_FOR_PERSONALISATION:
                  type: string
                  maxLength: 30
                NUMBER_OF_LINES:
                  type: integer
                  format: int32
                REFRESH_ON:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                REFRESH_TIME:
                  type: string
                  maxLength: 6
                  description: Date and Time, Current Application Server Time
                TEXT_LONG:
                  type: string
                  maxLength: 75
                  description: MiniApp Short Description
                TEXT_MEDIUM:
                  type: string
                  maxLength: 40
                  description: Medium text
                TEXT_SHORT:
                  type: string
                  maxLength: 20
                  description: Short Text
                TYPE_MINIAPP:
                  type: string
                  default: X
                  maxLength: 1
                TYPE_PERSONALISATION:
                  type: string
                  default: ' '
                  maxLength: 1
                URL:
                  type: string
                  maxLength: 1024
                  description: Character 1024
                WEBAPPNAME:
                  type: string
                  maxLength: 30
                  description: MiniApp Name
              required:
              - LANGUAGE
              - TEXT_LONG
              - TYPE_MINIAPP
              - URL
              - WEBAPPNAME
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
