openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LCRDB_MODIFY_INSTANCE:
    post:
      tags:
      - LCRDBW
      operationId: /rfc/LCRDB_MODIFY_INSTANCE
      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: 'AI-LCR: Namespace Key'
                REFERENCES:
                  type: array
                  items:
                    type: object
                    properties:
                      REF_NAME:
                        type: string
                        description: Reference Name (Class or Instance)
                      ROLE:
                        type: string
                        description: Role in Association
                SERIAL:
                  type: string
                  format: byte
                  description: 'AI-LCR: Java Serialization'
                SET_SERIAL:
                  type: integer
                  format: int32
                  default: 1
                SET_XML:
                  type: integer
                  format: int32
                  default: 1
                XML:
                  type: string
                  format: byte
                  description: 'AI-LCR: Representation as XML String'
              required:
              - INSTANCENAME
              - NAMESPACE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: integer
                    format: int32
                    description: 'AI-LCR: Return Value for Database Access'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
