openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EUP_GET_BSP_OUTPUT_DATA:
    post:
      tags:
      - BSP_CO
      summary: Called by the J2EE to get the output data.
      operationId: /rfc/EUP_GET_BSP_OUTPUT_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_PROCESS_ID:
                  type: string
                  maxLength: 32
                  description: Unique id of the process.
                IV_TASK_ID:
                  type: string
                  maxLength: 32
                  description: Unique id of the task.
                ET_RESULT_STATES:
                  type: array
                  items:
                    type: object
                    properties:
                      RESULT_STATE:
                        type: string
                        maxLength: 32
                        description: The data element of a bsp co result state.
              required:
              - IV_PROCESS_ID
              - IV_TASK_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_OUTPUT_VALUE:
                    type: string
                    description: The output data
                  ET_RESULT_STATES:
                    type: array
                    items:
                      type: object
                      properties:
                        RESULT_STATE:
                          type: string
                          maxLength: 32
                          description: The data element of a bsp co result state.
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
