openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EUP_CALLABLE_OBJECT_EXECUTE:
    post:
      tags:
      - GP_PROCESS_RUNTIME
      summary: Executes a callable object.
      operationId: /rfc/EUP_CALLABLE_OBJECT_EXECUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_ACCEPT_BY:
                  type: string
                  format: date
                  description: The time stamp for asynchronous execution.
                IV_ANONYMOS:
                  type: string
                  maxLength: 1
                  description: Whether or not the item is anonymous.
                IV_CO_ID:
                  type: string
                  maxLength: 32
                  description: The id of the callable object to execute.
                IV_EXECUTOR:
                  type: string
                  maxLength: 12
                  description: The executor.
                IV_GLOBAL_VERSION:
                  type: integer
                  format: int32
                  description: The version of the callable object to execute - global part.
                IV_LOCAL_VERSION:
                  type: integer
                  format: int32
                  description: The version of the callable object to execute - local part.
                IV_SYSTEM_ID:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
                IV_VALUE_DATA:
                  type: string
                  description: The input value data.
              required:
              - IV_ACCEPT_BY
              - IV_ANONYMOS
              - IV_CO_ID
              - IV_EXECUTOR
              - IV_GLOBAL_VERSION
              - IV_LOCAL_VERSION
              - IV_SYSTEM_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_RESULT:
                    type: object
                    properties:
                      STATE:
                        type: integer
                        format: int32
                        description: ''
                      RETURNED_DATA:
                        type: string
                        description: ''
                      ATTACHMENT_DATA:
                        type: string
                        format: byte
                        description: ''
                      ATTACHMENT_MIME_TYPE:
                        type: string
                        description: ''
                      REDIRECT_URL:
                        type: string
                        description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
