openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_SERV_SESSION_OPEN:
    post:
      tags:
      - DSVAS_SERV
      operationId: /rfc/DSVAS_SERV_SESSION_OPEN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HANDLE_TO_USE:
                  type: integer
                  format: int32
                  description: 'DSVAS: First part of check ID'
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Session language
                MODE:
                  type: string
                  default: C
                  maxLength: 1
                  description: Opening mode
                RECORD_NAME:
                  type: string
                  maxLength: 30
                  description: 'DSVAS: Name of Session Recording'
                SESSNO:
                  type: object
                  properties:
                    SESSITYPE:
                      type: string
                      maxLength: 2
                      description: 'DSVAS: Type of instanced session'
                    SESSNO:
                      type: string
                      maxLength: 13
                      description: 'DSVAS: Number of instanced session'
                START_CHECK:
                  type: object
                  properties:
                    CON:
                      type: string
                      maxLength: 10
                      description: 'DSVAS: Context'
                    INS:
                      type: string
                      maxLength: 40
                      description: 'DSVAS: Instance of a context'
                    GRP:
                      type: string
                      maxLength: 20
                      description: 'DSVAS: Check group'
                    ID:
                      type: integer
                      format: int64
                      description: 'DSVAS: Check ID'
              required:
              - SESSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OPEN_MODE:
                    type: string
                    maxLength: 1
                  STILL_ACTIVE:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
