openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LCRDB_GET_CHANGELOG:
    post:
      tags:
      - LCRDBR
      operationId: /rfc/LCRDB_GET_CHANGELOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPLICATION:
                  type: string
                  default: S
                  maxLength: 1
                  description: 'AI-LCR: Application Server or Client'
                CLASSNAME:
                  type: string
                GIVE_SERIAL:
                  type: integer
                  format: int32
                  default: 0
                GIVE_XML:
                  type: integer
                  format: int32
                  default: 1
                NAMESPACE:
                  type: string
                  description: Namespace
                NA_KEY:
                  type: integer
                  format: int32
                  description: 'AI-LCR: Namespace Key'
                OBJECT_TYPE:
                  type: string
                  maxLength: 1
                OPERATION:
                  type: string
                  maxLength: 1
                TIMESTAMP_HIGH:
                  type: integer
                  format: int64
                  description: 'AI-LCR: Time Stamp'
                TIMESTAMP_LOW:
                  type: integer
                  format: int64
                  description: 'AI-LCR: Time Stamp'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHANGELOGS:
                    type: array
                    items:
                      type: object
                      properties:
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: 'AI-LCR: Time Stamp'
                        COUNTER:
                          type: integer
                          format: int32
                          description: Time Stamp - Counter
                        CLASSNAME:
                          type: string
                          description: Class Name
                        OBJTYPE:
                          type: string
                          maxLength: 1
                          description: 'AI-LCR: Object or Class Type'
                        OPERATION:
                          type: string
                          maxLength: 1
                          description: 'AI-LCR: Change Operation'
                        OFFSET_XML:
                          type: integer
                          format: int32
                          description: Byte Offset of 2. XML Block
                        OFFSET_SERIAL:
                          type: integer
                          format: int32
                          description: Byte Offset of 2. Serialization Block
                        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.
