openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXPG_STEP_COMMAND_START:
    post:
      tags:
      - SSXP
      operationId: /rfc/SXPG_STEP_COMMAND_START
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADDITIONAL_PARAMETERS:
                  type: string
                  maxLength: 255
                BATCH:
                  type: string
                  maxLength: 1
                COMMANDNAME:
                  type: string
                  maxLength: 18
                CONNCNTL:
                  type: string
                  default: H
                  maxLength: 1
                DESTINATION:
                  type: string
                  maxLength: 32
                JOBCOUNT:
                  type: string
                  maxLength: 8
                JOBNAME:
                  type: string
                  maxLength: 32
                LONG_PARAMS:
                  type: string
                  maxLength: 1024
                OPERATINGSYSTEM:
                  type: string
                  maxLength: 10
                STDERRCNTL:
                  type: string
                  maxLength: 1
                STDINCNTL:
                  type: string
                  maxLength: 1
                STDOUTCNTL:
                  type: string
                  maxLength: 1
                STEPCOUNT:
                  type: integer
                  format: int32
                TARGET:
                  type: string
                  maxLength: 1024
                TERMCNTL:
                  type: string
                  maxLength: 1
                TRACECNTL:
                  type: string
                  maxLength: 1
                TRACELEVEL:
                  type: integer
                  format: int32
                  default: 0
                LOG:
                  type: array
                  items:
                    type: object
                    properties:
                      MESSAGE:
                        type: string
                        maxLength: 128
                        description: Log message from external program
              required:
              - ADDITIONAL_PARAMETERS
              - COMMANDNAME
              - OPERATINGSYSTEM
              - STDERRCNTL
              - STDINCNTL
              - STDOUTCNTL
              - TERMCNTL
              - TRACECNTL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONVID:
                    type: string
                    maxLength: 8
                    description: Conversation id
                  EXITCODE:
                    type: integer
                    format: int32
                    description: Conversation id
                  EXITSTAT:
                    type: string
                    maxLength: 1
                    description: Conversation id
                  LAST_HOST:
                    type: string
                    maxLength: 100
                    description: Conversation id
                  LAST_PROC:
                    type: string
                    maxLength: 8
                    description: Conversation id
                  LAST_PROC_NUM:
                    type: string
                    maxLength: 2
                    description: Conversation id
                  PARAMS:
                    type: string
                    maxLength: 255
                    description: Conversation id
                  STRTSTAT:
                    type: string
                    maxLength: 1
                  XPGID:
                    type: integer
                    format: int32
                  LOG:
                    type: array
                    items:
                      type: object
                      properties:
                        MESSAGE:
                          type: string
                          maxLength: 128
                          description: Log message from external program
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
