openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DX_TASKS_LIST:
    post:
      tags:
      - DX_TASK
      operationId: /rfc/DX_TASKS_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROJECT:
                  type: string
                  maxLength: 15
                RUNDEF:
                  type: string
                  maxLength: 15
                SUBPROJECT:
                  type: string
                  maxLength: 15
                TASKLIST:
                  type: array
                  items:
                    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
                      TASK:
                        type: string
                        maxLength: 15
                        description: Data transfer task
                      TASKTYPE:
                        type: string
                        maxLength: 3
                        description: 'Task type  enumValues: PUR=Clean data,LOA=Load Data,MAP=Convert data,MRG=File Merge,CHK=Check file,SPL=File Split,EXT=Extract data,MSC=Various,AUD=Check data'
                        enum:
                        - PUR
                        - LOA
                        - MAP
                        - MRG
                        - CHK
                        - SPL
                        - EXT
                        - MSC
                        - AUD
                      PROGTYPE:
                        type: string
                        maxLength: 4
                        description: Program type
                      PRETASK:
                        type: string
                        maxLength: 15
                        description: Data transfer task
                TASKLIST_T:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      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
                      TASK:
                        type: string
                        maxLength: 15
                        description: Data transfer task
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TASKLIST:
                    type: array
                    items:
                      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
                        TASK:
                          type: string
                          maxLength: 15
                          description: Data transfer task
                        TASKTYPE:
                          type: string
                          maxLength: 3
                          description: 'Task type  enumValues: PUR=Clean data,LOA=Load Data,MAP=Convert data,MRG=File Merge,CHK=Check file,SPL=File Split,EXT=Extract data,MSC=Various,AUD=Check data'
                          enum:
                          - PUR
                          - LOA
                          - MAP
                          - MRG
                          - CHK
                          - SPL
                          - EXT
                          - MSC
                          - AUD
                        PROGTYPE:
                          type: string
                          maxLength: 4
                          description: Program type
                        PRETASK:
                          type: string
                          maxLength: 15
                          description: Data transfer task
                  TASKLIST_T:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        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
                        TASK:
                          type: string
                          maxLength: 15
                          description: Data transfer task
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
