openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LCRDB_GET_INSTANCE_ASSOCIATORS:
    post:
      tags:
      - LCRDBR
      operationId: /rfc/LCRDB_GET_INSTANCE_ASSOCIATORS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION:
                  type: string
                  default: S
                  maxLength: 1
                  description: 'AI-LCR: Application Server or Client'
                FILTER_ASSOC_CLASS:
                  type: string
                FILTER_RESULT_CLASS:
                  type: string
                FILTER_RESULT_ROLE:
                  type: string
                FILTER_SOURCE_ROLE:
                  type: string
                GIVE_NAMES:
                  type: integer
                  format: int32
                  default: 1
                GIVE_SERIAL:
                  type: integer
                  format: int32
                  default: 0
                GIVE_XML:
                  type: integer
                  format: int32
                  default: 0
                INSTANCENAME:
                  type: string
                NAMESPACE:
                  type: string
                  description: Namespace
                NA_KEY:
                  type: integer
                  format: int32
                  description: Namespace Key
              required:
              - INSTANCENAME
              - NAMESPACE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ASSOCIATORS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          description: Name of Entities (Display)
                        XML:
                          type: string
                          format: byte
                          description: 'AI LCR: Representation as XML Byte Sequence'
                        SERIAL:
                          type: string
                          format: byte
                          description: 'AI-LCR: Java Serialization'
                  RETURN:
                    type: integer
                    format: int32
                    description: 'AI-LCR: Return Value for Database Access'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
