openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SVRS_GET_VERSION_SMD1_40:
    post:
      tags:
      - SVRW
      operationId: /rfc/SVRS_GET_VERSION_SMD1_40
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESTINATION:
                  type: string
                  maxLength: 32
                IV_NO_RELEASE_TRANSFORMATION:
                  type: string
                  maxLength: 1
                OBJECT_NAME:
                  type: string
                  maxLength: 110
                VERSNO:
                  type: integer
                  format: int64
                PMEA:
                  type: array
                  items:
                    type: object
                    properties:
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      X_OBLIGAT:
                        type: string
                        maxLength: 1
                        description: 'Attribute must be evaluated  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_UNIQUE:
                        type: string
                        maxLength: 1
                        description: 'Attribute must be evaluated as a unique attribute  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_MAINTAIN:
                        type: string
                        maxLength: 1
                        description: 'Attribute can be displayed to end users for maintenance  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_HIDDEN:
                        type: string
                        maxLength: 1
                        description: 'Attribute should not be displayed to end users  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                PMEFP:
                  type: array
                  items:
                    type: object
                    properties:
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      PROP_VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                      X_RUNTIME:
                        type: string
                        maxLength: 1
                        description: 'Model: Property is relevant for runtime  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                PMESP:
                  type: array
                  items:
                    type: object
                    properties:
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      PROP_VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                PMET:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCRIPT:
                        type: string
                        maxLength: 64
                        description: Short Description
                PMIA:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRIBUTE:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      X_ASSIGN:
                        type: string
                        maxLength: 1
                        description: 'Model: Attribute assignment  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_OBLIGAT:
                        type: string
                        maxLength: 1
                        description: 'Attribute must be evaluated  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_UNIQUE:
                        type: string
                        maxLength: 1
                        description: 'Attribute must be evaluated as a unique attribute  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_MAINTAIN:
                        type: string
                        maxLength: 1
                        description: 'Attribute can be displayed to end users for maintenance  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      X_HIDDEN:
                        type: string
                        maxLength: 1
                        description: 'Attribute should not be displayed to end users  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      FIELD_NAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                PMIAP:
                  type: array
                  items:
                    type: object
                    properties:
                      ATTRIBUTE:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: 'Model: Attribute for an attribute assignment'
                      PROP_VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                      X_CUSTOM:
                        type: string
                        maxLength: 1
                        description: 'Model: Customizing property  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                PMK:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTITY:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: Created by
                      CREA_TIME:
                        type: integer
                        format: int64
                        description: Creation time (UTC)
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHNG_D:
                        type: string
                        format: date
                        description: Changed on
                      CHNG_T:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      MODELSPACE:
                        type: string
                        maxLength: 30
                        description: 'Model: Document model area'
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                          connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                        enum:
                        - P
                        - '4'
                        - R
                        - '1'
                        - +
                        - p
                        - T
                        - x
                        - A
                        - y
                        - X
                        - u
                        - '2'
                        - ''
                        - '5'
                        - '*'
                        - S
                        - O
                        - C
                        - l
                        - W
                        - L
                        - t
                        - M
                        - '3'
                        - '>'
                        - <
                        - r
                        - '6'
                        - o
                        - V
                        - K
                        - '-'
                      HEADERTAB:
                        type: string
                        maxLength: 30
                        description: Table Name
                      V_CLASS:
                        type: string
                        maxLength: 30
                        description: 'Model: Name of a virtual class'
                VSMODISRC:
                  type: array
                  items:
                    type: object
                    properties:
                      RELID:
                        type: string
                        maxLength: 2
                        description: Relation ID
                      OBJ_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      SUB_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      SUB_NAME:
                        type: string
                        maxLength: 120
                        description: 'ABAP Workbench: LIMU Name'
                      INT_TYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      INT_NAME:
                        type: string
                        maxLength: 40
                        description: Development Environment TADIR Name
                      OPERATION:
                        type: string
                        maxLength: 4
                        description: 'Customer enhancement: Operation  enumValues: ORIG=Object Reset to Original,REPA=Modification without support,MIGR=Matchcode object migration,NOTE=Note Corrections,POST=Exit at end of modularization unit,MOD=Modifications to sources,TORI=Translation Entry Reset to Original,IMP=Business Add-In - Implementation,ALL=Unit overlay,PRE=Exit at start of modularization unit,TRSL=Translation entry,NEW=New unit'
                        enum:
                        - ORIG
                        - REPA
                        - MIGR
                        - NOTE
                        - POST
                        - MOD
                        - TORI
                        - IMP
                        - ALL
                        - PRE
                        - TRSL
                        - NEW
                      SORTFIELD:
                        type: integer
                        format: int32
                        description: Continuation ID
                      VERSION:
                        type: string
                        maxLength: 6
                        description: Version number
                      CLUSTR:
                        type: integer
                        format: int32
                        description: BIN2 data element for SYST
                      CLUSTD:
                        type: string
                        format: byte
                        description: EU cluster field 3500 for INDX-like tables
              required:
              - OBJECT_NAME
              - VERSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_LINE:
                    type: string
                    maxLength: 72
                  PMEA:
                    type: array
                    items:
                      type: object
                      properties:
                        PROP_NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        X_OBLIGAT:
                          type: string
                          maxLength: 1
                          description: 'Attribute must be evaluated  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_UNIQUE:
                          type: string
                          maxLength: 1
                          description: 'Attribute must be evaluated as a unique attribute  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_MAINTAIN:
                          type: string
                          maxLength: 1
                          description: 'Attribute can be displayed to end users for maintenance  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_HIDDEN:
                          type: string
                          maxLength: 1
                          description: 'Attribute should not be displayed to end users  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  PMEFP:
                    type: array
                    items:
                      type: object
                      properties:
                        PROP_NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        PROP_VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                        X_RUNTIME:
                          type: string
                          maxLength: 1
                          description: 'Model: Property is relevant for runtime  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  PMESP:
                    type: array
                    items:
                      type: object
                      properties:
                        PROP_NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        PROP_VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  PMET:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESCRIPT:
                          type: string
                          maxLength: 64
                          description: Short Description
                  PMIA:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRIBUTE:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        X_ASSIGN:
                          type: string
                          maxLength: 1
                          description: 'Model: Attribute assignment  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_OBLIGAT:
                          type: string
                          maxLength: 1
                          description: 'Attribute must be evaluated  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_UNIQUE:
                          type: string
                          maxLength: 1
                          description: 'Attribute must be evaluated as a unique attribute  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_MAINTAIN:
                          type: string
                          maxLength: 1
                          description: 'Attribute can be displayed to end users for maintenance  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        X_HIDDEN:
                          type: string
                          maxLength: 1
                          description: 'Attribute should not be displayed to end users  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        FIELD_NAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                  PMIAP:
                    type: array
                    items:
                      type: object
                      properties:
                        ATTRIBUTE:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        PROP_NAME:
                          type: string
                          maxLength: 25
                          description: 'Model: Attribute for an attribute assignment'
                        PROP_VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                        X_CUSTOM:
                          type: string
                          maxLength: 1
                          description: 'Model: Customizing property  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                  PMK:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTITY:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
                        CREA_USER:
                          type: string
                          maxLength: 12
                          description: Created by
                        CREA_TIME:
                          type: integer
                          format: int64
                          description: Creation time (UTC)
                        CHNG_USER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        CHNG_D:
                          type: string
                          format: date
                          description: Changed on
                        CHNG_T:
                          type: string
                          maxLength: 6
                          description: Last changed at
                        MODELSPACE:
                          type: string
                          maxLength: 30
                          description: 'Model: Document model area'
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Model: Model Object Type  enumValues: P=PHIO class,4=Virtual PHIO class,R=RELA class,1=Real LOIO class,+=PHIO secondary table,p=PHIO (Instance Layer),T=Context class attribute assignment,x=PHIO (Instance Layer / Header),A=IO attribute,y=PHIO (Instance Layer / Check-out),X=Context class,u=LOIO (Instance Layer / Description),2=Virtual LOIO class,""=No model entity,5=Real RELA class,*=LOIO secondary table,S=IO class attribute assignment,O=LOIO/PHIO class,C=Class
                            connection space,l=LOIO (Instance Layer),W=Real class,L=LOIO class,t=LOIO (Instance Layer /Header),M=Document area,3=Real PHIO class,>=RELA secondary table,<=LOIO Secondary Table for Relations Attributes,r=RELA (Instance Layer),6=Virtual RELA class,o=LOIO/PHIO (Instance Layer),V=Virtual class,K=IO class,-=PHIO Secondary Table for Relations Attributes'
                          enum:
                          - P
                          - '4'
                          - R
                          - '1'
                          - +
                          - p
                          - T
                          - x
                          - A
                          - y
                          - X
                          - u
                          - '2'
                          - ''
                          - '5'
                          - '*'
                          - S
                          - O
                          - C
                          - l
                          - W
                          - L
                          - t
                          - M
                          - '3'
                          - '>'
                          - <
                          - r
                          - '6'
                          - o
                          - V
                          - K
                          - '-'
                        HEADERTAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        V_CLASS:
                          type: string
                          maxLength: 30
                          description: 'Model: Name of a virtual class'
                  VSMODISRC:
                    type: array
                    items:
                      type: object
                      properties:
                        RELID:
                          type: string
                          maxLength: 2
                          description: Relation ID
                        OBJ_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        SUB_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        SUB_NAME:
                          type: string
                          maxLength: 120
                          description: 'ABAP Workbench: LIMU Name'
                        INT_TYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        INT_NAME:
                          type: string
                          maxLength: 40
                          description: Development Environment TADIR Name
                        OPERATION:
                          type: string
                          maxLength: 4
                          description: 'Customer enhancement: Operation  enumValues: ORIG=Object Reset to Original,REPA=Modification without support,MIGR=Matchcode object migration,NOTE=Note Corrections,POST=Exit at end of modularization unit,MOD=Modifications to sources,TORI=Translation Entry Reset to Original,IMP=Business Add-In - Implementation,ALL=Unit overlay,PRE=Exit at start of modularization unit,TRSL=Translation entry,NEW=New unit'
                          enum:
                          - ORIG
                          - REPA
                          - MIGR
                          - NOTE
                          - POST
                          - MOD
                          - TORI
                          - IMP
                          - ALL
                          - PRE
                          - TRSL
                          - NEW
                        SORTFIELD:
                          type: integer
                          format: int32
                          description: Continuation ID
                        VERSION:
                          type: string
                          maxLength: 6
                          description: Version number
                        CLUSTR:
                          type: integer
                          format: int32
                          description: BIN2 data element for SYST
                        CLUSTD:
                          type: string
                          format: byte
                          description: EU cluster field 3500 for INDX-like tables
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
