openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSWAD_STATIC_METADATA_IO:
    post:
      tags:
      - RSWAD
      summary: 'Web Application Designer Metadata: Download of Files from Mime Repos.'
      operationId: /rfc/RSWAD_STATIC_METADATA_IO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_FEDIR_ROOT:
                  type: string
                  default: C:\temp\mx\
                  maxLength: 4096
                  description: Frontend target directory root \ terminated!
                I_LANGPREF:
                  type: string
                  default: NN
                  maxLength: 2
                  description: Language Key to use for download ( EN / NN )
                I_MDDATA:
                  type: string
                  format: byte
                  description: Compressed Metadata
                I_REQUESTSTRING:
                  type: string
                  default: TDV
                  description: Request string ( text / data / valuehelp )
                I_TIMESTAMP:
                  type: string
                  description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                I_VERSION:
                  type: string
                  default: '070'
                  description: Metadata Version ( 070 )
                C_T_MDDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Empty table 4096
                E_T_FIXVAL:
                  type: array
                  items:
                    type: object
                    properties:
                      DOMAIN:
                        type: string
                        maxLength: 30
                        description: Domain name
                      CHAVL:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      TEXT:
                        type: string
                        maxLength: 60
                        description: Long description
                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:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 4096
                        description: 'KW Framework: URL or Part URL'
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      LENGTH:
                        type: integer
                        format: int32
                        description: Natural number
                E_T_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                E_T_SMIME_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                E_T_SMIME_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 4096
                        description: 'KW Framework: URL or Part URL'
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      LENGTH:
                        type: integer
                        format: int32
                        description: Natural number
                E_T_XMIME_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
                E_T_XMIME_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 4096
                        description: 'KW Framework: URL or Part URL'
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      LENGTH:
                        type: integer
                        format: int32
                        description: Natural number
              required:
              - I_FEDIR_ROOT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                    description: Message Type
                  E_MDDATA:
                    type: string
                    format: byte
                    description: Compressed Metadata
                  E_MDDATALEN:
                    type: integer
                    format: int32
                    description: Length of MDData
                  E_MDSTRING:
                    type: string
                    description: Metadata File
                  E_MDTEXT:
                    type: string
                    description: Metadata File
                  E_MDXML:
                    type: string
                    description: Metadata XML
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value of ABAP Statements
                  E_TIMESTAMP:
                    type: string
                    description: Timestamp of returned data
                  C_T_MDDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Empty table 4096
                  E_T_FIXVAL:
                    type: array
                    items:
                      type: object
                      properties:
                        DOMAIN:
                          type: string
                          maxLength: 30
                          description: Domain name
                        CHAVL:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Long description
                  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:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 4096
                          description: 'KW Framework: URL or Part URL'
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        LENGTH:
                          type: integer
                          format: int32
                          description: Natural number
                  E_T_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  E_T_SMIME_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  E_T_SMIME_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 4096
                          description: 'KW Framework: URL or Part URL'
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        LENGTH:
                          type: integer
                          format: int32
                          description: Natural number
                  E_T_XMIME_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
                  E_T_XMIME_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 4096
                          description: 'KW Framework: URL or Part URL'
                        MIMETYPE:
                          type: string
                          maxLength: 128
                          description: HTML content type
                        LENGTH:
                          type: integer
                          format: int32
                          description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
