openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_LOCKLIST_ADA:
    post:
      tags:
      - SADB
      operationId: /rfc/GET_LOCKLIST_ADA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                LOCK_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      PROCESS:
                        type: string
                        maxLength: 10
                        description: 'SAP DB: Process ID'
                      USERNAME:
                        type: string
                        maxLength: 32
                        description: SAP DB User Name
                      DATE_L:
                        type: string
                        maxLength: 10
                        description: SDB Date
                      TIME:
                        type: string
                        maxLength: 8
                        description: SDB Time
                      TERMID:
                        type: string
                        maxLength: 18
                        description: Terminal ID
                      REQTOUT:
                        type: string
                        maxLength: 10
                        description: SDB Timeout
                      LASTWRITE:
                        type: string
                        maxLength: 10
                        description: SDB Timeout
                      LOCKMODE:
                        type: string
                        maxLength: 14
                        description: SDB Locking Mode
                      LOCKSTATE:
                        type: string
                        maxLength: 10
                        description: SDB Lock Status
                      REQMODE:
                        type: string
                        maxLength: 14
                        description: SDB Locking Mode
                      REQSTATE:
                        type: string
                        maxLength: 10
                        description: SDB Lock Status
                      APPLPROC:
                        type: string
                        maxLength: 10
                        description: 'SAP DB: Process ID'
                      APPLNODE:
                        type: string
                        maxLength: 64
                        description: SDB Node Name
                      OWNER:
                        type: string
                        maxLength: 32
                        description: SAP DB User Name
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: SDB Table Name
                      TABLEID:
                        type: string
                        maxLength: 16
                        description: Table ID
                      ROWIDLEN:
                        type: integer
                        format: int32
                        description: Length of table row ID
                      ROWID_L:
                        type: string
                        maxLength: 256
                        description: Table row ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LOCK_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        PROCESS:
                          type: string
                          maxLength: 10
                          description: 'SAP DB: Process ID'
                        USERNAME:
                          type: string
                          maxLength: 32
                          description: SAP DB User Name
                        DATE_L:
                          type: string
                          maxLength: 10
                          description: SDB Date
                        TIME:
                          type: string
                          maxLength: 8
                          description: SDB Time
                        TERMID:
                          type: string
                          maxLength: 18
                          description: Terminal ID
                        REQTOUT:
                          type: string
                          maxLength: 10
                          description: SDB Timeout
                        LASTWRITE:
                          type: string
                          maxLength: 10
                          description: SDB Timeout
                        LOCKMODE:
                          type: string
                          maxLength: 14
                          description: SDB Locking Mode
                        LOCKSTATE:
                          type: string
                          maxLength: 10
                          description: SDB Lock Status
                        REQMODE:
                          type: string
                          maxLength: 14
                          description: SDB Locking Mode
                        REQSTATE:
                          type: string
                          maxLength: 10
                          description: SDB Lock Status
                        APPLPROC:
                          type: string
                          maxLength: 10
                          description: 'SAP DB: Process ID'
                        APPLNODE:
                          type: string
                          maxLength: 64
                          description: SDB Node Name
                        OWNER:
                          type: string
                          maxLength: 32
                          description: SAP DB User Name
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: SDB Table Name
                        TABLEID:
                          type: string
                          maxLength: 16
                          description: Table ID
                        ROWIDLEN:
                          type: integer
                          format: int32
                          description: Length of table row ID
                        ROWID_L:
                          type: string
                          maxLength: 256
                          description: Table row ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
