openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPI_PS_LOAD_RECORDS_ASYNCH:
    post:
      tags:
      - SPI31
      operationId: /rfc/SPI_PS_LOAD_RECORDS_ASYNCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_PROCTYPE:
                  type: string
                  maxLength: 32
                  description: 'SPI: Process Type ID'
                IP_STEPID:
                  type: string
                  maxLength: 32
                  description: 'SPI: Process Step ID'
                IP_TASKNAME:
                  type: string
                  maxLength: 26
                IP_TIMEOUT:
                  type: integer
                  format: int64
                  description: UTC time stamp in long form (YYYYMMDDhhmmssmmmuuun)
              required:
              - IP_PROCTYPE
              - IP_STEPID
              - IP_TIMEOUT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_STEP_STAT:
                    type: object
                    properties:
                      STEPID:
                        type: string
                        maxLength: 32
                        description: 'SPI: Process Step ID'
                      PROC_OPEN:
                        type: integer
                        format: int32
                        description: No. of Open Processes
                      PROC_NEW:
                        type: integer
                        format: int32
                        description: Number of New Processes
                      INSERTED:
                        type: integer
                        format: int32
                        description: Number Inserted
                      UPDATED:
                        type: integer
                        format: int32
                        description: Number Updated
                      LOADED:
                        type: integer
                        format: int32
                        description: Number Loaded
                      SERVER:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
