openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_ADMIN_SESSIONS_DEFINED:
    post:
      tags:
      - DSVAS_ADMIN
      operationId: /rfc/DSVAS_ADMIN_SESSIONS_DEFINED
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_SESSNO:
                  type: string
                  maxLength: 13
                  description: 'DSVAS: Number of instanced session'
                PT_SESSPACKINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      BUNDLE_ID:
                        type: string
                        maxLength: 8
                        description: 'DSVAS: Session package ID'
                      BUNDLE_VERSNR:
                        type: integer
                        format: int64
                        description: 'DSVAS: Version number (e.g session type, session group)'
                      SESSITYPE:
                        type: string
                        maxLength: 2
                        description: 'DSVAS: Type of instanced session'
                      SESSNO:
                        type: string
                        maxLength: 13
                        description: 'DSVAS: Number of instanced session'
                      SESSGRP:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Session group'
                      SESSTYPE:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Session type'
                      SESSVERSNR:
                        type: integer
                        format: int64
                        description: 'DSVAS: Version number (e.g session type, session group)'
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TEXT:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Description of length 60'
              required:
              - PF_SESSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PT_SESSPACKINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        BUNDLE_ID:
                          type: string
                          maxLength: 8
                          description: 'DSVAS: Session package ID'
                        BUNDLE_VERSNR:
                          type: integer
                          format: int64
                          description: 'DSVAS: Version number (e.g session type, session group)'
                        SESSITYPE:
                          type: string
                          maxLength: 2
                          description: 'DSVAS: Type of instanced session'
                        SESSNO:
                          type: string
                          maxLength: 13
                          description: 'DSVAS: Number of instanced session'
                        SESSGRP:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Session group'
                        SESSTYPE:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Session type'
                        SESSVERSNR:
                          type: integer
                          format: int64
                          description: 'DSVAS: Version number (e.g session type, session group)'
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TEXT:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Description of length 60'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
