openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PLAN_GET_ALL_ACTIONS:
    post:
      tags:
      - SDB6PLAN
      summary: 'DB6: get planned job for a given time interval'
      operationId: /rfc/DB6_PLAN_GET_ALL_ACTIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SYSTEM_ID:
                  type: string
                  default: SY-SYSID
                  maxLength: 8
                  description: Name of the SAP System
                PLANNED_ACTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      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
                      CRETSTMP:
                        type: string
                        maxLength: 14
                        description: Date and time (timestamp) of schedule
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      BTYPE:
                        type: string
                        maxLength: 5
                        description: Type of DBA action
                      PERIOD:
                        type: integer
                        format: int64
                        description: Duration (in days) of DBA action
                      DELTSTMP:
                        type: string
                        maxLength: 14
                        description: Timestamp for deletion of DBA action
                      STARTTSTMP:
                        type: string
                        maxLength: 14
                        description: Timestamp for first run of DBA action
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      EXEHOST:
                        type: string
                        maxLength: 30
                        description: Name of the server where the DBA action is to be executed
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PLANNED_ACTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        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
                        CRETSTMP:
                          type: string
                          maxLength: 14
                          description: Date and time (timestamp) of schedule
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        BTYPE:
                          type: string
                          maxLength: 5
                          description: Type of DBA action
                        PERIOD:
                          type: integer
                          format: int64
                          description: Duration (in days) of DBA action
                        DELTSTMP:
                          type: string
                          maxLength: 14
                          description: Timestamp for deletion of DBA action
                        STARTTSTMP:
                          type: string
                          maxLength: 14
                          description: Timestamp for first run of DBA action
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        EXEHOST:
                          type: string
                          maxLength: 30
                          description: Name of the server where the DBA action is to be executed
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
