openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERS_AND_DELTA_REPO:
    post:
      tags:
      - SVRS
      operationId: /rfc/SVRS_GET_VERS_AND_DELTA_REPO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMPARE_MODE:
                  type: integer
                  format: int32
                  default: 1
                  description: Comparison mode
                DELTA_WITH_KORRNUM:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: ="X" if including correction information
                DESTINATION:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Logical destination for RFC
                OBJECT_NAME:
                  type: string
                  maxLength: 110
                  description: Report name
                VERSNO_NEW:
                  type: integer
                  format: int64
                  default: 0
                  description: Version number of the more recent
                VERSNO_OLD:
                  type: integer
                  format: int64
                  description: Version number of the older object
                ABAPTEXT_DELTA:
                  type: array
                  items:
                    type: object
                    properties:
                      VRSFLAG:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      NUMBER:
                        type: integer
                        format: int32
                        description: Line number
                      LINE:
                        type: string
                        maxLength: 72
                        description: Text editor text line
                ABAPTEXT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: Text editor text line
                KORRNUM_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      KORRFLG:
                        type: string
                        maxLength: 2
                        description: Flag for the correction number in version management
                      KORRNUM:
                        type: string
                        maxLength: 20
                        description: Version correction
                TEXTPOOL_DELTA:
                  type: array
                  items:
                    type: object
                    properties:
                      VRSFLAG:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      ID:
                        type: string
                        maxLength: 1
                        description: ABAP/4 text pool ID (selection text/numbered text)
                      KEY:
                        type: string
                        maxLength: 8
                        description: Text element key (number/selection name)
                      ENTRY:
                        type: string
                        maxLength: 255
                        description: Language-dependent text in ABAP/4 text pool
                      LENGTH:
                        type: integer
                        format: int32
                        description: Reserved length for text (with language reserve)
                TEXTPOOL_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 1
                        description: ABAP/4 text pool ID (selection text/numbered text)
                      KEY:
                        type: string
                        maxLength: 8
                        description: Text element key (number/selection name)
                      ENTRY:
                        type: string
                        maxLength: 255
                        description: Language-dependent text in ABAP/4 text pool
                      LENGTH:
                        type: integer
                        format: int32
                        description: Reserved length for text (with language reserve)
                TRDIR_DELTA:
                  type: array
                  items:
                    type: object
                    properties:
                      VRSFLAG:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      NAME:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      SQLX:
                        type: string
                        maxLength: 1
                        description: Source code protection
                      EDTX:
                        type: string
                        maxLength: 1
                        description: 'Editor lock flag  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      VARCL:
                        type: string
                        maxLength: 1
                        description: Case-Sensitive
                      DBAPL:
                        type: string
                        maxLength: 1
                        description: Application database
                      DBNA:
                        type: string
                        maxLength: 2
                        description: Logical database
                      CLAS:
                        type: string
                        maxLength: 4
                        description: Program class
                      TYPE:
                        type: string
                        maxLength: 3
                        description: Selection screen version
                      OCCURS:
                        type: string
                        maxLength: 1
                        description: Automatically generated program
                      SUBC:
                        type: string
                        maxLength: 1
                        description: 'Program type  enumValues: X=XSLT Program,S=Subroutine Pool,F=Function group,I=INCLUDE program,M=Module Pool,J=Interface pool,T=Type Pool,K=Class pool,1=Executable program'
                        enum:
                        - X
                        - S
                        - F
                        - I
                        - M
                        - J
                        - T
                        - K
                        - '1'
                      APPL:
                        type: string
                        maxLength: 1
                        description: Application
                      SECU:
                        type: string
                        maxLength: 8
                        description: Authorization Group
                      CNAM:
                        type: string
                        maxLength: 12
                        description: Author
                      CDAT:
                        type: string
                        format: date
                        description: Created on
                      UNAM:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      UDAT:
                        type: string
                        format: date
                        description: Changed On
                      VERN:
                        type: string
                        maxLength: 6
                        description: Version number
                      LEVL:
                        type: string
                        maxLength: 4
                        description: Level
                      RSTAT:
                        type: string
                        maxLength: 1
                        description: 'Status  enumValues: P=SAP Standard Production Program,""=,K=Customer Production Program,T=Test Program,S=System Program'
                        enum:
                        - P
                        - ''
                        - K
                        - T
                        - S
                      RMAND:
                        type: string
                        maxLength: 3
                        description: Client
                      RLOAD:
                        type: string
                        maxLength: 1
                        description: Master Language
                      FIXPT:
                        type: string
                        maxLength: 1
                        description: 'Fixed point arithmetic  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      SSET:
                        type: string
                        maxLength: 1
                        description: 'Start only via variant  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      SDATE:
                        type: string
                        format: date
                        description: 'Standard selection screen generation: Date'
                      STIME:
                        type: string
                        maxLength: 6
                        description: 'Standard selection screen generation: Time'
                      IDATE:
                        type: string
                        format: date
                        description: 'Selection screen generation: Date'
                      ITIME:
                        type: string
                        maxLength: 6
                        description: 'Selection screen generation: Time'
                      LDBNAME:
                        type: string
                        maxLength: 20
                        description: LDB name
                      UCCHECK:
                        type: string
                        maxLength: 1
                        description: Flag, if unicode check was performed
                TRDIR_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      SQLX:
                        type: string
                        maxLength: 1
                        description: Source code protection
                      EDTX:
                        type: string
                        maxLength: 1
                        description: 'Editor lock flag  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      VARCL:
                        type: string
                        maxLength: 1
                        description: Case-Sensitive
                      DBAPL:
                        type: string
                        maxLength: 1
                        description: Application database
                      DBNA:
                        type: string
                        maxLength: 2
                        description: Logical database
                      CLAS:
                        type: string
                        maxLength: 4
                        description: Program class
                      TYPE:
                        type: string
                        maxLength: 3
                        description: Selection screen version
                      OCCURS:
                        type: string
                        maxLength: 1
                        description: Automatically generated program
                      SUBC:
                        type: string
                        maxLength: 1
                        description: 'Program type  enumValues: X=XSLT Program,S=Subroutine Pool,F=Function group,I=INCLUDE program,M=Module Pool,J=Interface pool,T=Type Pool,K=Class pool,1=Executable program'
                        enum:
                        - X
                        - S
                        - F
                        - I
                        - M
                        - J
                        - T
                        - K
                        - '1'
                      APPL:
                        type: string
                        maxLength: 1
                        description: Application
                      SECU:
                        type: string
                        maxLength: 8
                        description: Authorization Group
                      CNAM:
                        type: string
                        maxLength: 12
                        description: Author
                      CDAT:
                        type: string
                        format: date
                        description: Created on
                      UNAM:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      UDAT:
                        type: string
                        format: date
                        description: Changed On
                      VERN:
                        type: string
                        maxLength: 6
                        description: Version number
                      LEVL:
                        type: string
                        maxLength: 4
                        description: Level
                      RSTAT:
                        type: string
                        maxLength: 1
                        description: 'Status  enumValues: P=SAP Standard Production Program,""=,K=Customer Production Program,T=Test Program,S=System Program'
                        enum:
                        - P
                        - ''
                        - K
                        - T
                        - S
                      RMAND:
                        type: string
                        maxLength: 3
                        description: Client
                      RLOAD:
                        type: string
                        maxLength: 1
                        description: Master Language
                      FIXPT:
                        type: string
                        maxLength: 1
                        description: 'Fixed point arithmetic  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      SSET:
                        type: string
                        maxLength: 1
                        description: 'Start only via variant  enumValues: X=Switch on,""=Switch off'
                        enum:
                        - X
                        - ''
                      SDATE:
                        type: string
                        format: date
                        description: 'Standard selection screen generation: Date'
                      STIME:
                        type: string
                        maxLength: 6
                        description: 'Standard selection screen generation: Time'
                      IDATE:
                        type: string
                        format: date
                        description: 'Selection screen generation: Date'
                      ITIME:
                        type: string
                        maxLength: 6
                        description: 'Selection screen generation: Time'
                      LDBNAME:
                        type: string
                        maxLength: 20
                        description: LDB name
                      UCCHECK:
                        type: string
                        maxLength: 1
                        description: Flag, if unicode check was performed
              required:
              - OBJECT_NAME
              - VERSNO_OLD
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ABAPTEXT_DELTA:
                    type: array
                    items:
                      type: object
                      properties:
                        VRSFLAG:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        NUMBER:
                          type: integer
                          format: int32
                          description: Line number
                        LINE:
                          type: string
                          maxLength: 72
                          description: Text editor text line
                  ABAPTEXT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: Text editor text line
                  KORRNUM_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        KORRFLG:
                          type: string
                          maxLength: 2
                          description: Flag for the correction number in version management
                        KORRNUM:
                          type: string
                          maxLength: 20
                          description: Version correction
                  TEXTPOOL_DELTA:
                    type: array
                    items:
                      type: object
                      properties:
                        VRSFLAG:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        ID:
                          type: string
                          maxLength: 1
                          description: ABAP/4 text pool ID (selection text/numbered text)
                        KEY:
                          type: string
                          maxLength: 8
                          description: Text element key (number/selection name)
                        ENTRY:
                          type: string
                          maxLength: 255
                          description: Language-dependent text in ABAP/4 text pool
                        LENGTH:
                          type: integer
                          format: int32
                          description: Reserved length for text (with language reserve)
                  TEXTPOOL_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 1
                          description: ABAP/4 text pool ID (selection text/numbered text)
                        KEY:
                          type: string
                          maxLength: 8
                          description: Text element key (number/selection name)
                        ENTRY:
                          type: string
                          maxLength: 255
                          description: Language-dependent text in ABAP/4 text pool
                        LENGTH:
                          type: integer
                          format: int32
                          description: Reserved length for text (with language reserve)
                  TRDIR_DELTA:
                    type: array
                    items:
                      type: object
                      properties:
                        VRSFLAG:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        NAME:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        SQLX:
                          type: string
                          maxLength: 1
                          description: Source code protection
                        EDTX:
                          type: string
                          maxLength: 1
                          description: 'Editor lock flag  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        VARCL:
                          type: string
                          maxLength: 1
                          description: Case-Sensitive
                        DBAPL:
                          type: string
                          maxLength: 1
                          description: Application database
                        DBNA:
                          type: string
                          maxLength: 2
                          description: Logical database
                        CLAS:
                          type: string
                          maxLength: 4
                          description: Program class
                        TYPE:
                          type: string
                          maxLength: 3
                          description: Selection screen version
                        OCCURS:
                          type: string
                          maxLength: 1
                          description: Automatically generated program
                        SUBC:
                          type: string
                          maxLength: 1
                          description: 'Program type  enumValues: X=XSLT Program,S=Subroutine Pool,F=Function group,I=INCLUDE program,M=Module Pool,J=Interface pool,T=Type Pool,K=Class pool,1=Executable program'
                          enum:
                          - X
                          - S
                          - F
                          - I
                          - M
                          - J
                          - T
                          - K
                          - '1'
                        APPL:
                          type: string
                          maxLength: 1
                          description: Application
                        SECU:
                          type: string
                          maxLength: 8
                          description: Authorization Group
                        CNAM:
                          type: string
                          maxLength: 12
                          description: Author
                        CDAT:
                          type: string
                          format: date
                          description: Created on
                        UNAM:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        UDAT:
                          type: string
                          format: date
                          description: Changed On
                        VERN:
                          type: string
                          maxLength: 6
                          description: Version number
                        LEVL:
                          type: string
                          maxLength: 4
                          description: Level
                        RSTAT:
                          type: string
                          maxLength: 1
                          description: 'Status  enumValues: P=SAP Standard Production Program,""=,K=Customer Production Program,T=Test Program,S=System Program'
                          enum:
                          - P
                          - ''
                          - K
                          - T
                          - S
                        RMAND:
                          type: string
                          maxLength: 3
                          description: Client
                        RLOAD:
                          type: string
                          maxLength: 1
                          description: Master Language
                        FIXPT:
                          type: string
                          maxLength: 1
                          description: 'Fixed point arithmetic  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        SSET:
                          type: string
                          maxLength: 1
                          description: 'Start only via variant  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        SDATE:
                          type: string
                          format: date
                          description: 'Standard selection screen generation: Date'
                        STIME:
                          type: string
                          maxLength: 6
                          description: 'Standard selection screen generation: Time'
                        IDATE:
                          type: string
                          format: date
                          description: 'Selection screen generation: Date'
                        ITIME:
                          type: string
                          maxLength: 6
                          description: 'Selection screen generation: Time'
                        LDBNAME:
                          type: string
                          maxLength: 20
                          description: LDB name
                        UCCHECK:
                          type: string
                          maxLength: 1
                          description: Flag, if unicode check was performed
                  TRDIR_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        SQLX:
                          type: string
                          maxLength: 1
                          description: Source code protection
                        EDTX:
                          type: string
                          maxLength: 1
                          description: 'Editor lock flag  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        VARCL:
                          type: string
                          maxLength: 1
                          description: Case-Sensitive
                        DBAPL:
                          type: string
                          maxLength: 1
                          description: Application database
                        DBNA:
                          type: string
                          maxLength: 2
                          description: Logical database
                        CLAS:
                          type: string
                          maxLength: 4
                          description: Program class
                        TYPE:
                          type: string
                          maxLength: 3
                          description: Selection screen version
                        OCCURS:
                          type: string
                          maxLength: 1
                          description: Automatically generated program
                        SUBC:
                          type: string
                          maxLength: 1
                          description: 'Program type  enumValues: X=XSLT Program,S=Subroutine Pool,F=Function group,I=INCLUDE program,M=Module Pool,J=Interface pool,T=Type Pool,K=Class pool,1=Executable program'
                          enum:
                          - X
                          - S
                          - F
                          - I
                          - M
                          - J
                          - T
                          - K
                          - '1'
                        APPL:
                          type: string
                          maxLength: 1
                          description: Application
                        SECU:
                          type: string
                          maxLength: 8
                          description: Authorization Group
                        CNAM:
                          type: string
                          maxLength: 12
                          description: Author
                        CDAT:
                          type: string
                          format: date
                          description: Created on
                        UNAM:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        UDAT:
                          type: string
                          format: date
                          description: Changed On
                        VERN:
                          type: string
                          maxLength: 6
                          description: Version number
                        LEVL:
                          type: string
                          maxLength: 4
                          description: Level
                        RSTAT:
                          type: string
                          maxLength: 1
                          description: 'Status  enumValues: P=SAP Standard Production Program,""=,K=Customer Production Program,T=Test Program,S=System Program'
                          enum:
                          - P
                          - ''
                          - K
                          - T
                          - S
                        RMAND:
                          type: string
                          maxLength: 3
                          description: Client
                        RLOAD:
                          type: string
                          maxLength: 1
                          description: Master Language
                        FIXPT:
                          type: string
                          maxLength: 1
                          description: 'Fixed point arithmetic  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        SSET:
                          type: string
                          maxLength: 1
                          description: 'Start only via variant  enumValues: X=Switch on,""=Switch off'
                          enum:
                          - X
                          - ''
                        SDATE:
                          type: string
                          format: date
                          description: 'Standard selection screen generation: Date'
                        STIME:
                          type: string
                          maxLength: 6
                          description: 'Standard selection screen generation: Time'
                        IDATE:
                          type: string
                          format: date
                          description: 'Selection screen generation: Date'
                        ITIME:
                          type: string
                          maxLength: 6
                          description: 'Selection screen generation: Time'
                        LDBNAME:
                          type: string
                          maxLength: 20
                          description: LDB name
                        UCCHECK:
                          type: string
                          maxLength: 1
                          description: Flag, if unicode check was performed
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
