openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/XDB_GET_ACTION_ID_FROM_FNAME:
    post:
      tags:
      - SSHO
      operationId: /rfc/XDB_GET_ACTION_ID_FROM_FNAME
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOGFILE_STRUCT:
                  type: object
                  properties:
                    SYS_ID:
                      type: string
                      maxLength: 8
                      description: Database system ID
                    OPER_ID:
                      type: string
                      maxLength: 14
                      description: Unique operation ID
                    TASKNAME:
                      type: string
                      maxLength: 30
                      description: Task Name
                    JOB_NR:
                      type: integer
                      format: int64
                      description: Unique Job Number in a Task
                    TRIAL:
                      type: string
                      maxLength: 10
                      description: Unique ID Number of the Suboperation
                    UTIL_NR:
                      type: integer
                      format: int64
                      description: Utility number within job step
                    FUNC_ID:
                      type: string
                      maxLength: 3
                      description: Oracle file ID
                    UPD_OP:
                      type: string
                      maxLength: 14
                      description: Update Time Stamp
                    TOOLSET:
                      type: string
                      maxLength: 30
                      description: Utility manufacturer
                    PROGNAME:
                      type: string
                      maxLength: 30
                      description: Name of program that executes database operation
                    LOG_NAME:
                      type: string
                      maxLength: 255
                      description: Directory path including log file name
                    LOG_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Log File Type (TASK Log, Job Log, Step Log, Utility Log)  enumValues: S=Step Logfile,U=Utility Logfile,J=Job Logfile,T=Task Logfile'
                      enum:
                      - S
                      - U
                      - J
                      - T
                    RC:
                      type: integer
                      format: int64
                      description: 'Return code for DBA action  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                      enum:
                      - '0001'
                      - '0002'
                      - '0000'
                      - '0003'
              required:
              - LOGFILE_STRUCT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT_STRUCT:
                    type: object
                    properties:
                      WEEK:
                        type: integer
                        format: int64
                        description: Week for calendar display of backup scheduling
                      DAYE:
                        type: integer
                        format: int64
                        description: 'Day of the week for DBA action  enumValues: 1=Monday,4=Thursday,5=Friday,7=Sunday,3=Wednesday,2=Tuesday,6=Saturday'
                        enum:
                        - '1'
                        - '4'
                        - '5'
                        - '7'
                        - '3'
                        - '2'
                        - '6'
                      TIMEE:
                        type: string
                        maxLength: 6
                        description: Time (24 hour clock) for DBA action to run
                      BEG:
                        type: string
                        maxLength: 14
                        description: Start of the DBA action
                      FUNCT:
                        type: string
                        maxLength: 3
                        description: Function ID for DBA action
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      OBJ:
                        type: string
                        maxLength: 16
                        description: Object of DB operation
                      RC:
                        type: integer
                        format: int64
                        description: 'Return code for DBA action  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                        enum:
                        - '0001'
                        - '0002'
                        - '0000'
                        - '0003'
                      STATE:
                        type: string
                        maxLength: 1
                        description: 'Status of the DBA Action  enumValues: W=Warning,U=Unknown,R=Running,E=Error,P=Planned,S=Success'
                        enum:
                        - W
                        - U
                        - R
                        - E
                        - P
                        - S
                      REQID:
                        type: integer
                        format: int32
                        description: Request ID for Informix onarchive actions
                      ACTID:
                        type: string
                        maxLength: 16
                        description: Name of DBA Log
                      DBSPACESET:
                        type: string
                        maxLength: 18
                        description: Informix dataset name
                      JOBID:
                        type: integer
                        format: int32
                        description: Job ID for Informix archive jobs
                      FDESC:
                        type: string
                        maxLength: 80
                        description: Description of DB Operation
                      SQLJOBID:
                        type: string
                        format: byte
                        description: MS SQL server job id
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
