openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_GET_NEXT_WF_OBJID:
    post:
      tags:
      - RHWM
      summary: Find Next Free Object ID for Workflow Task
      operationId: /rfc/RH_GET_NEXT_WF_OBJID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                READ_ONLY_T78NR_ENTRY:
                  type: string
                  default: ' '
                  maxLength: 1
              required:
              - ACT_OTYPE
              - ACT_PLVAR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEXT_FREE_OBJID:
                    type: integer
                    format: int64
                  T78NR_LEAD_NR:
                    type: integer
                    format: int64
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
