openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_OBJECT_LIST:
    post:
      tags:
      - SVRZ
      operationId: /rfc/GET_OBJECT_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTHOR:
                  type: string
                  maxLength: 12
                  description: Author of the object
                DATUM:
                  type: string
                  format: date
                  default: '19930231'
                  description: Date of the object
                KORRNUM:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: Correction number of the object
                OBJNAME:
                  type: string
                  maxLength: 110
                  description: Object name in table VRSD
                OBJTYPE:
                  type: string
                  maxLength: 4
                  description: Object type in table VRSD
                SELECT_ALL:
                  type: string
                  maxLength: 1
                  description: = 'X' if entire VRSD is to be scanned
                OBJECT_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: 'Version Management: Object Type'
                      OBJNAME:
                        type: string
                        maxLength: 110
                        description: 'Version management: Object name'
                      VERSNO:
                        type: integer
                        format: int64
                        description: 'Version Management: Version Number'
                      KORRNUM:
                        type: string
                        maxLength: 20
                        description: 'Version management: Version request number'
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: 'Version management: Version creator'
                      DATUM:
                        type: string
                        format: date
                        description: 'Version management: Version creation date'
                      ZEIT:
                        type: string
                        maxLength: 6
                        description: 'Version management: Version creation time'
                      LOEKZ:
                        type: string
                        maxLength: 1
                        description: 'Version management: Special flag  enumValues: I=Import indicator,C=End indicator,D=Deletion indicator,""=no particular indicator available'
                        enum:
                        - I
                        - C
                        - D
                        - ''
                      ORIGIN:
                        type: string
                        maxLength: 1
                        description: 'Version management: Origin ID  enumValues: X=Standard SAP version,""=Customer version'
                        enum:
                        - X
                        - ''
                      VERSMODE:
                        type: string
                        maxLength: 1
                        description: 'Version management: Version creation type  enumValues: I=Originated in import,S=Origin in system request,""=Originated in correction,U=Originated in user request'
                        enum:
                        - I
                        - S
                        - ''
                        - U
                      LASTVERSNO:
                        type: integer
                        format: int64
                        description: 'Version control: last version number (intern)'
                      FIRSTVERSN:
                        type: integer
                        format: int64
                        description: 'Version control: lowest version number (intern)'
                      RELS:
                        type: string
                        maxLength: 4
                        description: 'Version management: Release'
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      KEYLEN:
                        type: integer
                        format: int32
                        description: Key length of table in version data base
                      TABLEN:
                        type: integer
                        format: int32
                        description: Width of table in the version data base
                      DEFVERSNO:
                        type: integer
                        format: int64
                        description: Version number of the object definition
                      FULL_VERS:
                        type: string
                        maxLength: 1
                        description: '''X'' = Full version exists on VRSX (next to the delta)'
                      ARCHIVED:
                        type: string
                        maxLength: 1
                        description: 'Archiving flag for version management  enumValues: T=Version archived or temporarily  restored,X=Version archived,""=Version is not archived'
                        enum:
                        - T
                        - X
                        - ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OBJECT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: 'Version Management: Object Type'
                        OBJNAME:
                          type: string
                          maxLength: 110
                          description: 'Version management: Object name'
                        VERSNO:
                          type: integer
                          format: int64
                          description: 'Version Management: Version Number'
                        KORRNUM:
                          type: string
                          maxLength: 20
                          description: 'Version management: Version request number'
                        AUTHOR:
                          type: string
                          maxLength: 12
                          description: 'Version management: Version creator'
                        DATUM:
                          type: string
                          format: date
                          description: 'Version management: Version creation date'
                        ZEIT:
                          type: string
                          maxLength: 6
                          description: 'Version management: Version creation time'
                        LOEKZ:
                          type: string
                          maxLength: 1
                          description: 'Version management: Special flag  enumValues: I=Import indicator,C=End indicator,D=Deletion indicator,""=no particular indicator available'
                          enum:
                          - I
                          - C
                          - D
                          - ''
                        ORIGIN:
                          type: string
                          maxLength: 1
                          description: 'Version management: Origin ID  enumValues: X=Standard SAP version,""=Customer version'
                          enum:
                          - X
                          - ''
                        VERSMODE:
                          type: string
                          maxLength: 1
                          description: 'Version management: Version creation type  enumValues: I=Originated in import,S=Origin in system request,""=Originated in correction,U=Originated in user request'
                          enum:
                          - I
                          - S
                          - ''
                          - U
                        LASTVERSNO:
                          type: integer
                          format: int64
                          description: 'Version control: last version number (intern)'
                        FIRSTVERSN:
                          type: integer
                          format: int64
                          description: 'Version control: lowest version number (intern)'
                        RELS:
                          type: string
                          maxLength: 4
                          description: 'Version management: Release'
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        KEYLEN:
                          type: integer
                          format: int32
                          description: Key length of table in version data base
                        TABLEN:
                          type: integer
                          format: int32
                          description: Width of table in the version data base
                        DEFVERSNO:
                          type: integer
                          format: int64
                          description: Version number of the object definition
                        FULL_VERS:
                          type: string
                          maxLength: 1
                          description: '''X'' = Full version exists on VRSX (next to the delta)'
                        ARCHIVED:
                          type: string
                          maxLength: 1
                          description: 'Archiving flag for version management  enumValues: T=Version archived or temporarily  restored,X=Version archived,""=Version is not archived'
                          enum:
                          - T
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
