openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_FEASIBLE_METHODS_GET:
    post:
      tags:
      - SWWA
      summary: Test for Which FMs Are Allowed for the WI Depending on Status and Type
      operationId: /rfc/SWW_WI_FEASIBLE_METHODS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                METHOD_NAME:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Name of Method/FM To Be Checked
                WI_ID:
                  type: integer
                  format: int64
                  description: Work Item ID
                FEASIBLE_METHODS:
                  type: array
                  items:
                    type: object
                    properties:
                      METH_NAME:
                        type: string
                        maxLength: 30
                        description: Method/FM for work item
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FEASIBLE_METHODS:
                    type: array
                    items:
                      type: object
                      properties:
                        METH_NAME:
                          type: string
                          maxLength: 30
                          description: Method/FM for work item
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
