openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SEL_TRANSACTIONS_ADA:
    post:
      tags:
      - SADB
      operationId: /rfc/SEL_TRANSACTIONS_ADA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                TRANSACTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      SESSNO:
                        type: integer
                        format: int32
                        description: 'livecache: Session'
                      TRANSCNT:
                        type: string
                        maxLength: 20
                        description: 'liveCache: Transaction counter'
                      PROCESS:
                        type: integer
                        format: int32
                        description: 'liveCache: Process ID'
                      USERNAME:
                        type: string
                        maxLength: 32
                        description: 'liveCache: User name'
                      CONDATE:
                        type: string
                        format: date
                        description: Date
                      CONTIME:
                        type: string
                        maxLength: 6
                        description: SAP DB Time (6 Places in SAP Layout)
                      TERMID:
                        type: string
                        maxLength: 18
                        description: 'liveCache: Terminal ID'
                      REQTOUT:
                        type: string
                        maxLength: 10
                        description: 'liveCache: Request timeout'
                      LSTWRITE:
                        type: string
                        maxLength: 10
                        description: 'liveCache: Last write'
                      LOCKMODE:
                        type: string
                        maxLength: 14
                        description: 'liveCache: Lock mode'
                      LCKSTATE:
                        type: string
                        maxLength: 10
                        description: 'liveCache: Lock status'
                      REQMODE:
                        type: string
                        maxLength: 14
                        description: 'liveCache: Lock request mode'
                      REQSTATE:
                        type: string
                        maxLength: 10
                        description: 'liveCache: Lock request status'
                      CONSVIEW:
                        type: string
                        maxLength: 13
                        description: 'liveCache: Transactions: ConsistentView'
                      APPLPROC:
                        type: integer
                        format: int32
                        description: 'liveCache: PID of application process'
                      APPLNODE:
                        type: string
                        maxLength: 64
                        description: 'liveCache: Application server'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TRANSACTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        SESSNO:
                          type: integer
                          format: int32
                          description: 'livecache: Session'
                        TRANSCNT:
                          type: string
                          maxLength: 20
                          description: 'liveCache: Transaction counter'
                        PROCESS:
                          type: integer
                          format: int32
                          description: 'liveCache: Process ID'
                        USERNAME:
                          type: string
                          maxLength: 32
                          description: 'liveCache: User name'
                        CONDATE:
                          type: string
                          format: date
                          description: Date
                        CONTIME:
                          type: string
                          maxLength: 6
                          description: SAP DB Time (6 Places in SAP Layout)
                        TERMID:
                          type: string
                          maxLength: 18
                          description: 'liveCache: Terminal ID'
                        REQTOUT:
                          type: string
                          maxLength: 10
                          description: 'liveCache: Request timeout'
                        LSTWRITE:
                          type: string
                          maxLength: 10
                          description: 'liveCache: Last write'
                        LOCKMODE:
                          type: string
                          maxLength: 14
                          description: 'liveCache: Lock mode'
                        LCKSTATE:
                          type: string
                          maxLength: 10
                          description: 'liveCache: Lock status'
                        REQMODE:
                          type: string
                          maxLength: 14
                          description: 'liveCache: Lock request mode'
                        REQSTATE:
                          type: string
                          maxLength: 10
                          description: 'liveCache: Lock request status'
                        CONSVIEW:
                          type: string
                          maxLength: 13
                          description: 'liveCache: Transactions: ConsistentView'
                        APPLPROC:
                          type: integer
                          format: int32
                          description: 'liveCache: PID of application process'
                        APPLNODE:
                          type: string
                          maxLength: 64
                          description: 'liveCache: Application server'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
