openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_GET_WFD_ID:
    post:
      tags:
      - RHWA
      summary: Determine Workflow Definition of Task (and Org. Unit) Specified
      operationId: /rfc/RH_GET_WFD_ID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_ORG_UNIT:
                  type: string
                  maxLength: 14
                  description: Role object (type and ID)
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                  description: Plan version
                ACT_TASK:
                  type: string
                  maxLength: 14
                  description: Role object (type and ID)
                SEARCH_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date for role resolution
              required:
              - ACT_TASK
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_ACTIVE:
                    type: string
                    maxLength: 1
                    description: Plan version
                  ACT_ACTIV_DATE:
                    type: string
                    format: date
                    description: Plan version
                  ACT_ACTIV_TIME:
                    type: string
                    maxLength: 6
                    description: Plan version
                  ACT_VERSION:
                    type: string
                    maxLength: 4
                    description: Plan version
                  ACT_WFD_ID:
                    type: string
                    maxLength: 10
                    description: Plan version
                  SAPRL:
                    type: string
                    maxLength: 4
                    description: Plan version
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
