openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DX_RUN_START:
    post:
      tags:
      - DX_RUN
      operationId: /rfc/DX_RUN_START
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIALOG:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Checkbox: ''X'' = True, '' '' = False'
                PROJECT:
                  type: string
                  maxLength: 15
                RESTART:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Checkbox: ''X'' = True, '' '' = False'
                RUNDEF:
                  type: string
                  maxLength: 15
                SUBPROJECT:
                  type: string
                  maxLength: 15
              required:
              - DIALOG
              - PROJECT
              - RESTART
              - RUNDEF
              - SUBPROJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RUNDATA:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PROJECT:
                        type: string
                        maxLength: 15
                        description: Data transfer project
                      SUBPROJECT:
                        type: string
                        maxLength: 15
                        description: Data Transfer Subproject
                      RUNDEF:
                        type: string
                        maxLength: 15
                        description: Data Transfer - Run Definition
                      RUNID:
                        type: integer
                        format: int64
                        description: Data Transfer Run
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Status of data transfer run  enumValues: X=Run finished,A=Task not completed, restart after cause analysed,1=Task completed without errors,2=Task completed with errors, restart after errors analysed,4=Task completed manually,3=Task ended with errors, restart not possible'
                        enum:
                        - X
                        - A
                        - '1'
                        - '2'
                        - '4'
                        - '3'
                      ACTUALTASK:
                        type: string
                        maxLength: 15
                        description: Data transfer task
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
