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