openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/XDB_GET_DETAILS:
    post:
      tags:
      - SSHO
      operationId: /rfc/XDB_GET_DETAILS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNC_ID:
                  type: string
                  maxLength: 3
                JOB_NR:
                  type: integer
                  format: int64
                  description: Unique Job Number in a Task
                OPER_ID:
                  type: string
                  maxLength: 14
                  description: Unique operation ID
                SYS_ID:
                  type: string
                  maxLength: 8
                  description: Database System ID
                TASKNAME:
                  type: string
                  maxLength: 30
                  description: Task Name
                TRIAL:
                  type: string
                  maxLength: 10
                  description: Unique ID Number of the Suboperation
                UTIL_NR:
                  type: integer
                  format: int64
                  description: Utility number within job step
                I_DBABARL:
                  type: array
                  items:
                    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
                      OBJ_TYPE:
                        type: string
                        maxLength: 64
                        description: Object type
                      BU_TYPE:
                        type: string
                        maxLength: 15
                        description: Backup type
                      BU_METHOD:
                        type: string
                        maxLength: 15
                        description: Backup method
                I_DBAEXTL:
                  type: array
                  items:
                    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
                      SPACE_NAME:
                        type: string
                        maxLength: 80
                        description: Name of the DB object or list
                      SIZE_BEF:
                        type: string
                        maxLength: 12
                        description: Size of the DB object before the operation
                      SIZE_AFT:
                        type: string
                        maxLength: 12
                        description: Size of the DB object after the operation
                      FILE_NAME:
                        type: string
                        maxLength: 255
                        description: Complete path including file name
                I_DBAOPTL:
                  type: array
                  items:
                    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
                      OBJ:
                        type: string
                        maxLength: 30
                        description: Object of DB operation
                      ANALY_METH:
                        type: string
                        maxLength: 30
                        description: Analysis Method
                      ANALY_OPTI:
                        type: string
                        maxLength: 30
                        description: Analysis method
                      TABLES:
                        type: string
                        maxLength: 12
                        description: Number of statistics to be checked
                      TAB_CHECK:
                        type: string
                        maxLength: 12
                        description: Number of checked statistics
                      TAB_OLD:
                        type: string
                        maxLength: 12
                        description: Number of tables with statistics that need to be updated
                      TAB_REFR:
                        type: string
                        maxLength: 12
                        description: Number of tables with updated statistics
                I_DBAREOL:
                  type: array
                  items:
                    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
                      OBJ:
                        type: string
                        maxLength: 30
                        description: Object name
                      OBJ_TYPE:
                        type: string
                        maxLength: 64
                        description: Object type
                      SIZE_BEF:
                        type: string
                        maxLength: 12
                        description: Size of the DB object before the operation
                      SIZE_AFT:
                        type: string
                        maxLength: 12
                        description: Size of the DB object after the operation
                      NSIZE_BEF:
                        type: string
                        maxLength: 12
                        description: Memory used by data before op.
                      NSIZE_AFT:
                        type: string
                        maxLength: 12
                        description: Memory used by data after op.
                      TSIZE:
                        type: string
                        maxLength: 12
                        description: Size of temporary files
                      METHOD:
                        type: string
                        maxLength: 30
                        description: Operation method used (for example, loader, EXP/IMP)
                      SOUR_TSP:
                        type: string
                        maxLength: 30
                        description: Parent DB object before the operation (object source)
                      TARG_TSP:
                        type: string
                        maxLength: 30
                        description: Parent DB object after the operation (object target)
                I_DBASPAL:
                  type: array
                  items:
                    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
                      OBJ:
                        type: string
                        maxLength: 30
                        description: Object of DB operation
                      OBJ_TYPE:
                        type: string
                        maxLength: 64
                        description: Object type
                      ALLOC:
                        type: string
                        maxLength: 12
                        description: Allocated memory (kB) for the database object
                      USED:
                        type: integer
                        format: int64
                        description: Used memory space (kB) in reserved memory
                      RUSED:
                        type: string
                        maxLength: 12
                        description: Real memory space used (kB) in allocated memory
              required:
              - FUNC_ID
              - JOB_NR
              - OPER_ID
              - SYS_ID
              - TASKNAME
              - TRIAL
              - UTIL_NR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CNT_DBABARL:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  CNT_DBAEXTL:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  CNT_DBAOPTL:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  CNT_DBAREOL:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  CNT_DBASPAL:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  I_DBABARL:
                    type: array
                    items:
                      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
                        OBJ_TYPE:
                          type: string
                          maxLength: 64
                          description: Object type
                        BU_TYPE:
                          type: string
                          maxLength: 15
                          description: Backup type
                        BU_METHOD:
                          type: string
                          maxLength: 15
                          description: Backup method
                  I_DBAEXTL:
                    type: array
                    items:
                      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
                        SPACE_NAME:
                          type: string
                          maxLength: 80
                          description: Name of the DB object or list
                        SIZE_BEF:
                          type: string
                          maxLength: 12
                          description: Size of the DB object before the operation
                        SIZE_AFT:
                          type: string
                          maxLength: 12
                          description: Size of the DB object after the operation
                        FILE_NAME:
                          type: string
                          maxLength: 255
                          description: Complete path including file name
                  I_DBAOPTL:
                    type: array
                    items:
                      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
                        OBJ:
                          type: string
                          maxLength: 30
                          description: Object of DB operation
                        ANALY_METH:
                          type: string
                          maxLength: 30
                          description: Analysis Method
                        ANALY_OPTI:
                          type: string
                          maxLength: 30
                          description: Analysis method
                        TABLES:
                          type: string
                          maxLength: 12
                          description: Number of statistics to be checked
                        TAB_CHECK:
                          type: string
                          maxLength: 12
                          description: Number of checked statistics
                        TAB_OLD:
                          type: string
                          maxLength: 12
                          description: Number of tables with statistics that need to be updated
                        TAB_REFR:
                          type: string
                          maxLength: 12
                          description: Number of tables with updated statistics
                  I_DBAREOL:
                    type: array
                    items:
                      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
                        OBJ:
                          type: string
                          maxLength: 30
                          description: Object name
                        OBJ_TYPE:
                          type: string
                          maxLength: 64
                          description: Object type
                        SIZE_BEF:
                          type: string
                          maxLength: 12
                          description: Size of the DB object before the operation
                        SIZE_AFT:
                          type: string
                          maxLength: 12
                          description: Size of the DB object after the operation
                        NSIZE_BEF:
                          type: string
                          maxLength: 12
                          description: Memory used by data before op.
                        NSIZE_AFT:
                          type: string
                          maxLength: 12
                          description: Memory used by data after op.
                        TSIZE:
                          type: string
                          maxLength: 12
                          description: Size of temporary files
                        METHOD:
                          type: string
                          maxLength: 30
                          description: Operation method used (for example, loader, EXP/IMP)
                        SOUR_TSP:
                          type: string
                          maxLength: 30
                          description: Parent DB object before the operation (object source)
                        TARG_TSP:
                          type: string
                          maxLength: 30
                          description: Parent DB object after the operation (object target)
                  I_DBASPAL:
                    type: array
                    items:
                      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
                        OBJ:
                          type: string
                          maxLength: 30
                          description: Object of DB operation
                        OBJ_TYPE:
                          type: string
                          maxLength: 64
                          description: Object type
                        ALLOC:
                          type: string
                          maxLength: 12
                          description: Allocated memory (kB) for the database object
                        USED:
                          type: integer
                          format: int64
                          description: Used memory space (kB) in reserved memory
                        RUSED:
                          type: string
                          maxLength: 12
                          description: Real memory space used (kB) in allocated memory
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
