openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/KW_KEP_COURSE_CONTENT_GET:
    post:
      tags:
      - SKEP
      operationId: /rfc/KW_KEP_COURSE_CONTENT_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INFO_OBJECT:
                  type: object
                  properties:
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                LOG_DEST:
                  type: string
                  maxLength: 70
                  description: 'KEPlicator: Logical Destination (PC Equi No.)'
                ERROR_MSGS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                PHIOFILEINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      DOC_FORMAT:
                        type: string
                        maxLength: 4
                        description: Document format (TEXT, TIFF, RTF, PDF, ...)
                      DOC_FMTVER:
                        type: string
                        maxLength: 10
                        description: Document format version
                      FILE_SIZE:
                        type: integer
                        format: int64
                        description: File size (in bytes)
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Relative storage location of physical document
                      DIRECTORY:
                        type: string
                        maxLength: 255
                        description: Directory on target computer
              required:
              - INFO_OBJECT
              - LOG_DEST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_MSGS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        'NO':
                          type: integer
                          format: int64
                          description: Message Number
                        V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  PHIOFILEINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        DOC_FORMAT:
                          type: string
                          maxLength: 4
                          description: Document format (TEXT, TIFF, RTF, PDF, ...)
                        DOC_FMTVER:
                          type: string
                          maxLength: 10
                          description: Document format version
                        FILE_SIZE:
                          type: integer
                          format: int64
                          description: File size (in bytes)
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: Relative storage location of physical document
                        DIRECTORY:
                          type: string
                          maxLength: 255
                          description: Directory on target computer
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
