openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_BEX_GET_MIMES:
    post:
      tags:
      - RS_MIME_BROWSER
      summary: Get mime for Display in Frontend
      operationId: /rfc/RS_BEX_GET_MIMES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                C_T_MIMES:
                  type: array
                  items:
                    type: object
                    properties:
                      URL:
                        type: string
                        maxLength: 4096
                        description: 'KW Framework: URL or Part URL'
                      DESCRIPTION:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      TYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      LOIO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      LENGTH:
                        type: integer
                        format: int32
                        description: Natural number
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      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
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
                E_T_MIME_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LOIO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      DATA:
                        type: string
                        format: byte
                        description: MIME data container
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                    description: Message Type
                  C_T_MIMES:
                    type: array
                    items:
                      type: object
                      properties:
                        URL:
                          type: string
                          maxLength: 4096
                          description: 'KW Framework: URL or Part URL'
                        DESCRIPTION:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        TYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        LOIO:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        LENGTH:
                          type: integer
                          format: int32
                          description: Natural number
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        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
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
                  E_T_MIME_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LOIO:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        DATA:
                          type: string
                          format: byte
                          description: MIME data container
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
