openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LCRDB_INSTANCE_EXISTENCE:
    post:
      tags:
      - LCRDBR
      operationId: /rfc/LCRDB_INSTANCE_EXISTENCE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION:
                  type: string
                  default: S
                  maxLength: 1
                  description: 'AI-LCR: Application Server or Client'
                INSTANCENAME:
                  type: string
                NAMESPACE:
                  type: string
                  description: Namespace
                NA_KEY:
                  type: integer
                  format: int32
                  description: Namespace Key
                SERIAL_EXISTS:
                  type: integer
                  format: int32
                  default: 0
              required:
              - INSTANCENAME
              - NAMESPACE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXISTS:
                    type: integer
                    format: int32
                  RETURN:
                    type: integer
                    format: int32
                    description: 'AI-LCR: Return Value for Database Access'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
