openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LCRDB_CLASS_EXISTENCE:
    post:
      tags:
      - LCRDBR
      operationId: /rfc/LCRDB_CLASS_EXISTENCE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION:
                  type: string
                  default: S
                  maxLength: 1
                  description: 'AI-LCR: Application Server or Client'
                CLASSNAME:
                  type: string
                  description: Class Name
                GIVE_TYPE:
                  type: integer
                  format: int32
                  default: 0
                NAMESPACE:
                  type: string
                  description: Namespace
                NA_KEY:
                  type: integer
                  format: int32
                  description: Namespace Key
                SERIAL_EXISTS:
                  type: integer
                  format: int32
                  default: 0
              required:
              - CLASSNAME
              - NAMESPACE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CLASS_TYPE:
                    type: string
                    maxLength: 1
                  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.
