openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SUBST_GET_FILE_LIST:
    post:
      tags:
      - SAUS
      summary: Retrieve List of Files that Match Import Parameter from OS Level
      operationId: /rfc/SUBST_GET_FILE_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIRNAME:
                  type: string
                  maxLength: 40
                FILENM:
                  type: string
                  maxLength: 20
                PATTERN:
                  type: string
                  maxLength: 20
                FILE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      DIRNAME:
                        type: string
                        maxLength: 75
                        description: name of directory. (possibly t
                      NAME:
                        type: string
                        maxLength: 75
                        description: name of entry. (possibly trunc
                      TYPE:
                        type: string
                        maxLength: 10
                        description: '         " type of entry.'
                      LEN:
                        type: integer
                        format: int64
                        description: '         " length in bytes.'
                      OWNER:
                        type: string
                        maxLength: 8
                        description: '         " owner of the entry.'
                      MTIME:
                        type: integer
                        format: int64
                        description: last modification date, second
                      FMODE:
                        type: string
                        maxLength: 9
                        description: 'Like "rwx-r-x--x": protection'
                      USEABLE:
                        type: string
                        maxLength: 1
                        description: ''
                      SUBRC:
                        type: string
                        maxLength: 4
                        description: ''
                      ERRNO:
                        type: string
                        maxLength: 3
                        description: ''
                      ERRMSG:
                        type: string
                        maxLength: 40
                        description: ''
                      MOD_DATE:
                        type: string
                        format: date
                        description: ''
                      MOD_TIME:
                        type: string
                        maxLength: 8
                        description: HH:MM:SS
                      SEEN:
                        type: string
                        maxLength: 1
                        description: ''
                      CHANGED:
                        type: string
                        maxLength: 1
                        description: ''
              required:
              - DIRNAME
              - FILENM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FILE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        DIRNAME:
                          type: string
                          maxLength: 75
                          description: name of directory. (possibly t
                        NAME:
                          type: string
                          maxLength: 75
                          description: name of entry. (possibly trunc
                        TYPE:
                          type: string
                          maxLength: 10
                          description: '         " type of entry.'
                        LEN:
                          type: integer
                          format: int64
                          description: '         " length in bytes.'
                        OWNER:
                          type: string
                          maxLength: 8
                          description: '         " owner of the entry.'
                        MTIME:
                          type: integer
                          format: int64
                          description: last modification date, second
                        FMODE:
                          type: string
                          maxLength: 9
                          description: 'Like "rwx-r-x--x": protection'
                        USEABLE:
                          type: string
                          maxLength: 1
                          description: ''
                        SUBRC:
                          type: string
                          maxLength: 4
                          description: ''
                        ERRNO:
                          type: string
                          maxLength: 3
                          description: ''
                        ERRMSG:
                          type: string
                          maxLength: 40
                          description: ''
                        MOD_DATE:
                          type: string
                          format: date
                          description: ''
                        MOD_TIME:
                          type: string
                          maxLength: 8
                          description: HH:MM:SS
                        SEEN:
                          type: string
                          maxLength: 1
                          description: ''
                        CHANGED:
                          type: string
                          maxLength: 1
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
