openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/XDB_GET_STEPS_AND_UTILITIES:
    post:
      tags:
      - SSHO
      operationId: /rfc/XDB_GET_STEPS_AND_UTILITIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PERIOD_END_TIME:
                  type: string
                  maxLength: 14
                  description: Unique operation ID
                PERIOD_START_TIME:
                  type: string
                  maxLength: 14
                  description: Unique operation ID
                SYS_ID:
                  type: string
                  maxLength: 8
                  description: Database System ID
                I_DBAML:
                  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
                      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
                      STATUS:
                        type: string
                        maxLength: 30
                        description: 'Status: STARTED, RUNNING, COMPLETED  enumValues: STARTED=Operation started: no details available,COMPLETED=Operation completed,RUNNING=Operation running: details available'
                        enum:
                        - STARTED
                        - COMPLETED
                        - RUNNING
                      BEGIN_OP:
                        type: string
                        maxLength: 14
                        description: Sub-operation start time
                      END_OP:
                        type: string
                        maxLength: 14
                        description: End of sub-operation
                      RC:
                        type: integer
                        format: int64
                        description: 'Sub-operation return code  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                        enum:
                        - '0001'
                        - '0002'
                        - '0000'
                        - '0003'
                      INTERNAL:
                        type: string
                        maxLength: 255
                        description: For internal purposes
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMBER_OF_RECORDS:
                    type: integer
                    format: int32
                    description: DB operations, number of table lines processed
                  I_DBAML:
                    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
                        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
                        STATUS:
                          type: string
                          maxLength: 30
                          description: 'Status: STARTED, RUNNING, COMPLETED  enumValues: STARTED=Operation started: no details available,COMPLETED=Operation completed,RUNNING=Operation running: details available'
                          enum:
                          - STARTED
                          - COMPLETED
                          - RUNNING
                        BEGIN_OP:
                          type: string
                          maxLength: 14
                          description: Sub-operation start time
                        END_OP:
                          type: string
                          maxLength: 14
                          description: End of sub-operation
                        RC:
                          type: integer
                          format: int64
                          description: 'Sub-operation return code  enumValues: 0001=Warning,0002=General error,0000=Everything OK,0003=Detailed error'
                          enum:
                          - '0001'
                          - '0002'
                          - '0000'
                          - '0003'
                        INTERNAL:
                          type: string
                          maxLength: 255
                          description: For internal purposes
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
