openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSOD_SKWF_GET_CONTENT:
    post:
      tags:
      - RSOD_SKFW_RM
      operationId: /rfc/RSOD_SKWF_GET_CONTENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_APPL:
                  type: string
                  default: BW
                  maxLength: 15
                  description: Application
                I_ONLY_CONTENT_INFO:
                  type: string
                  default: RS_C_FALSE
                  maxLength: 1
                I_S_LOIO:
                  type: object
                  properties:
                    OBJTYPE:
                      type: string
                      maxLength: 1
                      description: 'KW Framework: IO type  enumValues: R=Relationship,L=LOIO,P=PHIO,""=Undefined (= all),F=Directory'
                      enum:
                      - R
                      - L
                      - P
                      - ''
                      - F
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
              required:
              - I_ONLY_CONTENT_INFO
              - I_S_LOIO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_TEXT:
                    type: string
                    description: Error Text
                  E_CONTENT:
                    type: string
                    format: byte
                  E_S_CONTENT_INFO:
                    type: object
                    properties:
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                      MIMETYPE:
                        type: string
                        maxLength: 128
                        description: HTML content type
                      FILE_SIZE:
                        type: integer
                        format: int64
                        description: File size (in bytes)
                      ENCODING:
                        type: string
                        maxLength: 20
                        description: Identifier for Character Format (UTF-8, UCS-2, ...)
                      ENDIAN:
                        type: string
                        maxLength: 1
                        description: 'Flag for Byte Sequence (Big-Endian, Little-Endian)  enumValues: B=Big-Endian,L=Little-Endian,""=Default'
                        enum:
                        - B
                        - L
                        - ''
                      LANGUAGE:
                        type: string
                        maxLength: 2
                        description: Language (Acc. To ISO Standard 639)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
