openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_DEMO_FORMABS_PROC_WRITE:
    post:
      tags:
      - SWF_WSDEMO
      operationId: /rfc/SWF_DEMO_FORMABS_PROC_WRITE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_APPROVBY:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: Approver
                I_APPROVDATE:
                  type: string
                  format: date
                  default: SY-DATUM
                  description: Date
                I_FORMNUMBER:
                  type: integer
                  format: int64
                  description: Number of Leave Request
                I_PROCSTATE:
                  type: string
                  maxLength: 1
                  description: Processing Status
              required:
              - I_FORMNUMBER
              - I_PROCSTATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MESSAGE:
                    type: string
                    maxLength: 120
                    description: Language-Specific Message
                  E_RETCODE:
                    type: integer
                    format: int32
                    description: Error Code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
