openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_EDIT_WS_DIRECT_RFC:
    post:
      tags:
      - RHWS
      operationId: /rfc/RH_EDIT_WS_DIRECT_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_FCODE:
                  type: string
                  maxLength: 20
                ACT_OBJID:
                  type: integer
                  format: int64
                ACT_SWD_PRKEYS:
                  type: object
                  properties:
                    APPL:
                      type: string
                      maxLength: 2
                      description: 'CATT: Application'
                    SAPPL:
                      type: string
                      maxLength: 3
                      description: 'CATT: Sub-application'
                    THST1:
                      type: string
                      maxLength: 3
                      description: 'CATT: Component'
                    PRIND:
                      type: integer
                      format: int64
                      description: Index of application-specific Workflow Builder
                NO_GRAPHIC:
                  type: string
                  default: ' '
                  maxLength: 1
                WITH_DIALOG:
                  type: string
                  default: ' '
                  maxLength: 1
              required:
              - ACT_FCODE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_OBJID:
                    type: integer
                    format: int64
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
