openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CSM_SHOW_COMMANDS:
    post:
      tags:
      - SCSM_EXTPROG
      operationId: /rfc/CSM_SHOW_COMMANDS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMMAND_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGIC_NAME:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      OS_COMMAND:
                        type: string
                        maxLength: 512
                        description: Character 512
                      PARAMETERS:
                        type: string
                        maxLength: 255
                        description: Char255
                      ADD_PARAMETERS:
                        type: string
                        maxLength: 255
                        description: Char255
                      INTERVAL_MIN:
                        type: integer
                        format: int32
                        description: Natural number
                      INTERVAL_HOUR:
                        type: integer
                        format: int32
                        description: Natural number
                      INTERVAL_DAYS:
                        type: integer
                        format: int32
                        description: Natural number
                      START_DATE:
                        type: string
                        format: date
                        description: Field of type DATS
                      START_TIME:
                        type: string
                        maxLength: 6
                        description: Field of type TIMS
                      STDOUT_FILE:
                        type: string
                        maxLength: 1024
                        description: Character 1024
                      COMMAND_INDEX:
                        type: integer
                        format: int32
                        description: Natural number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COMMAND_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGIC_NAME:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        OS_COMMAND:
                          type: string
                          maxLength: 512
                          description: Character 512
                        PARAMETERS:
                          type: string
                          maxLength: 255
                          description: Char255
                        ADD_PARAMETERS:
                          type: string
                          maxLength: 255
                          description: Char255
                        INTERVAL_MIN:
                          type: integer
                          format: int32
                          description: Natural number
                        INTERVAL_HOUR:
                          type: integer
                          format: int32
                          description: Natural number
                        INTERVAL_DAYS:
                          type: integer
                          format: int32
                          description: Natural number
                        START_DATE:
                          type: string
                          format: date
                          description: Field of type DATS
                        START_TIME:
                          type: string
                          maxLength: 6
                          description: Field of type TIMS
                        STDOUT_FILE:
                          type: string
                          maxLength: 1024
                          description: Character 1024
                        COMMAND_INDEX:
                          type: integer
                          format: int32
                          description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
