openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXPG_COMMAND_CHECK:
    post:
      tags:
      - SSXP
      operationId: /rfc/SXPG_COMMAND_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ADDITIONAL_PARAMETERS:
                  type: string
                  maxLength: 255
                  description: Arguments for the External Command
                COMMANDNAME:
                  type: string
                  maxLength: 18
                  description: Name of External Command
                DESTINATION:
                  type: string
                  maxLength: 32
                  description: Arguments for the External Command
                LONG_PARAMS:
                  type: string
                  maxLength: 1024
                  description: Arguments for the External Command
                OPERATINGSYSTEM:
                  type: string
                  default: SY-OPSYS
                  maxLength: 10
                  description: Executing Host System
                TARGETSYSTEM:
                  type: string
                  maxLength: 1024
                  description: Target System
              required:
              - COMMANDNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALL_PARAMETERS:
                    type: string
                    maxLength: 255
                  DEFINED_PARAMETERS:
                    type: string
                    maxLength: 255
                  PROGRAMNAME:
                    type: string
                    maxLength: 128
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
