openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_FL_SEND_SESSION:
    post:
      tags:
      - DSVAS_FL
      summary: send a session to SAP
      operationId: /rfc/DSVAS_FL_SEND_SESSION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FLAG:
                  type: string
                  maxLength: 1
                  description: Internal
                INSM:
                  type: string
                  maxLength: 73
                  description: Message text
                PF_SESSNO:
                  type: string
                  maxLength: 13
                  description: 'DSVAS: Number of instanced session'
              required:
              - FLAG
              - INSM
              - PF_SESSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PF_ERROR:
                    type: string
                    maxLength: 73
                    description: Message text
                  URL:
                    type: string
                    maxLength: 128
                    description: 128 character
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
