openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_UDMO:
    post:
      tags:
      - SVRR
      summary: Returns the version of a data model
      operationId: /rfc/SVRS_GET_VERSION_UDMO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECT_NAME:
                  type: string
                  maxLength: 34
                  description: Object Name
                VERSNO:
                  type: integer
                  format: int64
                DM40V_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DMOID:
                        type: string
                        maxLength: 10
                        description: ''
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: ''
                      SPRACHE:
                        type: string
                        maxLength: 1
                        description: ''
                      REF_ENTID:
                        type: string
                        maxLength: 10
                        description: ''
                      REF_OBJECT:
                        type: string
                        maxLength: 10
                        description: ''
                      REF_CLUST:
                        type: string
                        maxLength: 10
                        description: ''
                      FLG_DEF:
                        type: string
                        maxLength: 1
                        description: ''
                      FLG_COMPL:
                        type: string
                        maxLength: 1
                        description: ''
                      FLG_FRAME:
                        type: string
                        maxLength: 1
                        description: ''
                      FLG_CUST:
                        type: string
                        maxLength: 1
                        description: ''
                      FLG_BUSINS:
                        type: string
                        maxLength: 1
                        description: ''
                      OBJTYP:
                        type: string
                        maxLength: 4
                        description: ''
                      COLORTYPE:
                        type: string
                        maxLength: 1
                        description: ''
                      FSTUSER:
                        type: string
                        maxLength: 12
                        description: ''
                      FSTDATE:
                        type: string
                        format: date
                        description: ''
                      FSTTIME:
                        type: string
                        maxLength: 6
                        description: ''
                      LSTUSER:
                        type: string
                        maxLength: 12
                        description: ''
                      LSTDATE:
                        type: string
                        format: date
                        description: ''
                      LSTTIME:
                        type: string
                        maxLength: 6
                        description: ''
                      LOESCHZ:
                        type: string
                        maxLength: 1
                        description: ''
                      LANGBEZ:
                        type: string
                        maxLength: 60
                        description: ''
                      FCTR_ID:
                        type: string
                        maxLength: 10
                        description: ''
                DM41S_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DMOID:
                        type: string
                        maxLength: 10
                        description: Version Management
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: Version Management
                      OBJID:
                        type: string
                        maxLength: 10
                        description: Version Management
                      OBJTYP:
                        type: string
                        maxLength: 1
                        description: EDM object type, 1 position
                      HIERPOS:
                        type: integer
                        format: int64
                        description: Version Management
                      XPOS:
                        type: integer
                        format: int64
                        description: Varchart X position
                      YPOS:
                        type: integer
                        format: int64
                        description: Varchart Y position
                      WIDTH:
                        type: integer
                        format: int64
                        description: Frame width
                      HEIGHT:
                        type: integer
                        format: int64
                        description: Frame height
                      FSTUSER:
                        type: string
                        maxLength: 12
                        description: Created By
                      FSTDATE:
                        type: string
                        format: date
                        description: Date on which record was added
                      FSTTIME:
                        type: string
                        maxLength: 6
                        description: Creation Time
                      LSTUSER:
                        type: string
                        maxLength: 12
                        description: User who changed record
                      LSTDATE:
                        type: string
                        format: date
                        description: Changed On
                      LSTTIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      LOESCHZ:
                        type: string
                        maxLength: 1
                        description: Deletion Indicator
                      INSTDVIEW:
                        type: string
                        maxLength: 1
                        description: Version Management
              required:
              - OBJECT_NAME
              - VERSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_LINE:
                    type: string
                    maxLength: 72
                  DM40V_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DMOID:
                          type: string
                          maxLength: 10
                          description: ''
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: ''
                        SPRACHE:
                          type: string
                          maxLength: 1
                          description: ''
                        REF_ENTID:
                          type: string
                          maxLength: 10
                          description: ''
                        REF_OBJECT:
                          type: string
                          maxLength: 10
                          description: ''
                        REF_CLUST:
                          type: string
                          maxLength: 10
                          description: ''
                        FLG_DEF:
                          type: string
                          maxLength: 1
                          description: ''
                        FLG_COMPL:
                          type: string
                          maxLength: 1
                          description: ''
                        FLG_FRAME:
                          type: string
                          maxLength: 1
                          description: ''
                        FLG_CUST:
                          type: string
                          maxLength: 1
                          description: ''
                        FLG_BUSINS:
                          type: string
                          maxLength: 1
                          description: ''
                        OBJTYP:
                          type: string
                          maxLength: 4
                          description: ''
                        COLORTYPE:
                          type: string
                          maxLength: 1
                          description: ''
                        FSTUSER:
                          type: string
                          maxLength: 12
                          description: ''
                        FSTDATE:
                          type: string
                          format: date
                          description: ''
                        FSTTIME:
                          type: string
                          maxLength: 6
                          description: ''
                        LSTUSER:
                          type: string
                          maxLength: 12
                          description: ''
                        LSTDATE:
                          type: string
                          format: date
                          description: ''
                        LSTTIME:
                          type: string
                          maxLength: 6
                          description: ''
                        LOESCHZ:
                          type: string
                          maxLength: 1
                          description: ''
                        LANGBEZ:
                          type: string
                          maxLength: 60
                          description: ''
                        FCTR_ID:
                          type: string
                          maxLength: 10
                          description: ''
                  DM41S_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DMOID:
                          type: string
                          maxLength: 10
                          description: Version Management
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: Version Management
                        OBJID:
                          type: string
                          maxLength: 10
                          description: Version Management
                        OBJTYP:
                          type: string
                          maxLength: 1
                          description: EDM object type, 1 position
                        HIERPOS:
                          type: integer
                          format: int64
                          description: Version Management
                        XPOS:
                          type: integer
                          format: int64
                          description: Varchart X position
                        YPOS:
                          type: integer
                          format: int64
                          description: Varchart Y position
                        WIDTH:
                          type: integer
                          format: int64
                          description: Frame width
                        HEIGHT:
                          type: integer
                          format: int64
                          description: Frame height
                        FSTUSER:
                          type: string
                          maxLength: 12
                          description: Created By
                        FSTDATE:
                          type: string
                          format: date
                          description: Date on which record was added
                        FSTTIME:
                          type: string
                          maxLength: 6
                          description: Creation Time
                        LSTUSER:
                          type: string
                          maxLength: 12
                          description: User who changed record
                        LSTDATE:
                          type: string
                          format: date
                          description: Changed On
                        LSTTIME:
                          type: string
                          maxLength: 6
                          description: Last changed at
                        LOESCHZ:
                          type: string
                          maxLength: 1
                          description: Deletion Indicator
                        INSTDVIEW:
                          type: string
                          maxLength: 1
                          description: Version Management
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
