openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_VERSION_LIST:
    post:
      tags:
      - SVRZ
      summary: Extracts the Versions of an Object from the Version Directory
      operationId: /rfc/GET_VERSION_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJNAME:
                  type: string
                  default: ' '
                  maxLength: 34
                  description: Object name in table VRSD
                OBJTYPE:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: Object type in table VRSD
                VERSION_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: Version Management
                      OBJNAME:
                        type: string
                        maxLength: 34
                        description: Version Management
                      VERSNO:
                        type: integer
                        format: int64
                        description: Version Management
                      KORRNUM:
                        type: string
                        maxLength: 10
                        description: Version Management
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Version Management
                      DATUM:
                        type: string
                        format: date
                        description: Version Management
                      ZEIT:
                        type: string
                        maxLength: 6
                        description: Version Management
                      LOEKZ:
                        type: string
                        maxLength: 1
                        description: Version Management
                      ORIGIN:
                        type: string
                        maxLength: 1
                        description: Version Management
                      VERSMODE:
                        type: string
                        maxLength: 1
                        description: Version Management
                      LASTVERSNO:
                        type: integer
                        format: int64
                        description: Version Management
                      FIRSTVERSN:
                        type: integer
                        format: int64
                        description: Version Management
                      RELS:
                        type: string
                        maxLength: 4
                        description: Version Management
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      KEYLEN:
                        type: integer
                        format: int32
                        description: Version Management
                      TABLEN:
                        type: integer
                        format: int32
                        description: Version Management
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  VERSION_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: Version Management
                        OBJNAME:
                          type: string
                          maxLength: 34
                          description: Version Management
                        VERSNO:
                          type: integer
                          format: int64
                          description: Version Management
                        KORRNUM:
                          type: string
                          maxLength: 10
                          description: Version Management
                        AUTHOR:
                          type: string
                          maxLength: 12
                          description: Version Management
                        DATUM:
                          type: string
                          format: date
                          description: Version Management
                        ZEIT:
                          type: string
                          maxLength: 6
                          description: Version Management
                        LOEKZ:
                          type: string
                          maxLength: 1
                          description: Version Management
                        ORIGIN:
                          type: string
                          maxLength: 1
                          description: Version Management
                        VERSMODE:
                          type: string
                          maxLength: 1
                          description: Version Management
                        LASTVERSNO:
                          type: integer
                          format: int64
                          description: Version Management
                        FIRSTVERSN:
                          type: integer
                          format: int64
                          description: Version Management
                        RELS:
                          type: string
                          maxLength: 4
                          description: Version Management
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        KEYLEN:
                          type: integer
                          format: int32
                          description: Version Management
                        TABLEN:
                          type: integer
                          format: int32
                          description: Version Management
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
