openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_GET_SIM_WFD_ID:
    post:
      tags:
      - RHWY
      summary: Find WFD_ID for a Specified WF or WS Version
      operationId: /rfc/RH_GET_SIM_WFD_ID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_OBJID:
                  type: integer
                  format: int64
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                ACT_VERSION:
                  type: string
                  maxLength: 4
                SEARCH_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                ACT_WFD_KEY:
                  type: array
                  items:
                    type: object
                    properties:
                      WFD_ID:
                        type: string
                        maxLength: 10
                        description: Number of workflow definition
                      VERSION:
                        type: string
                        maxLength: 4
                        description: Version
                      EXETYP:
                        type: string
                        maxLength: 1
                        description: 'Workflow Type  enumValues: E=Runtime,R=Ad Hoc Runtime,S=Definition,D=Ad Hoc Definition,C=Configuration Definition,A=Configuration Runtime'
                        enum:
                        - E
                        - R
                        - S
                        - D
                        - C
                        - A
              required:
              - ACT_OBJID
              - ACT_OTYPE
              - ACT_VERSION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_WFD_KEY:
                    type: array
                    items:
                      type: object
                      properties:
                        WFD_ID:
                          type: string
                          maxLength: 10
                          description: Number of workflow definition
                        VERSION:
                          type: string
                          maxLength: 4
                          description: Version
                        EXETYP:
                          type: string
                          maxLength: 1
                          description: 'Workflow Type  enumValues: E=Runtime,R=Ad Hoc Runtime,S=Definition,D=Ad Hoc Definition,C=Configuration Definition,A=Configuration Runtime'
                          enum:
                          - E
                          - R
                          - S
                          - D
                          - C
                          - A
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
