openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_KORRNUM_AUTHOR_DATUM:
    post:
      tags:
      - SVRZ
      summary: Fetches the Correction Number, Author and Date of the Last Change
      operationId: /rfc/GET_KORRNUM_AUTHOR_DATUM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJNAME:
                  type: string
                  default: ' '
                  maxLength: 34
                  description: Object name (report name, screen name ... )
                OBJTYPE:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: Object type ('REPO', 'DYNP', 'CUAD' ... )
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AUTHOR:
                    type: string
                    maxLength: 12
                    description: Author of the last change
                  DATUM:
                    type: string
                    format: date
                    description: Date of the last change
                  KORRNUM:
                    type: string
                    maxLength: 10
                    description: Open correction, if it exists
                  ZEIT:
                    type: string
                    maxLength: 6
                    description: Time of the last change
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
