openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWP_WF_DEFINITION_KEY_GET:
    post:
      tags:
      - SWP7
      operationId: /rfc/SWP_WF_DEFINITION_KEY_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WF_ID:
                  type: integer
                  format: int64
                  description: Workflow (ID)
              required:
              - WF_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WF_DEF_KEY:
                    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.
