openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_DATAMODEL_READ_TC:
    post:
      tags:
      - SDUX
      operationId: /rfc/RPY_DATAMODEL_READ_TC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVATION:
                  type: string
                  default: A
                  maxLength: 1
                FLG_ONLY_HIER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Language
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                MODEL_NAME:
                  type: string
                  maxLength: 26
                  description: Data model name
                ENTITIES:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTID:
                        type: string
                        maxLength: 26
                        description: Entity type name
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                        enum:
                        - S
                        - T
                        - N
                        - A
                        - L
                      SPRACHE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      REF_CLUST:
                        type: string
                        maxLength: 10
                        description: Area name
                      ZEIT:
                        type: string
                        maxLength: 1
                        description: 'Time-dependency flag  enumValues: ""=Non-time-dependent,X=Time-dependent'
                        enum:
                        - ''
                        - X
                      ZEINHT:
                        type: string
                        maxLength: 2
                        description: 'Time unit  enumValues: 40=Value date,28=Fiscal year,23=Planning periods,8=Time,1=History,34=Fiscal year/acquisition year,""=Not a measurement unit,32=Acquisition year/asset retirement year,3=Month,29=Calendar year,12=Schedule line date,26=Acquisition year,10=Valid from date,24=Planning time,35=Fiscal year/acquisition period,36=Fiscal year/calendar year,30=Movement time,14=Creation time,27=Asset retirement year,7=Section of the day,19=Time of birth,31=Execution
                          time,39=Due Date,18=Shift,41=Approval year,5=Hour,20=Time of physical inventory,22=Posting period,4=Period,13=Delivery date,15=Requirements time,17=End time,37=Posting period/calendar year,2=Year,38=Posting period/acquisition period,21=Posting time,25=Acquisition period,33=Planning period/planning time,9=Validity period,6=Day,16=Start time,11=End of validity period'
                        enum:
                        - '40'
                        - '28'
                        - '23'
                        - '8'
                        - '1'
                        - '34'
                        - ''
                        - '32'
                        - '3'
                        - '29'
                        - '12'
                        - '26'
                        - '10'
                        - '24'
                        - '35'
                        - '36'
                        - '30'
                        - '14'
                        - '27'
                        - '7'
                        - '19'
                        - '31'
                        - '39'
                        - '18'
                        - '41'
                        - '5'
                        - '20'
                        - '22'
                        - '4'
                        - '13'
                        - '15'
                        - '17'
                        - '37'
                        - '2'
                        - '38'
                        - '21'
                        - '25'
                        - '33'
                        - '9'
                        - '6'
                        - '16'
                        - '11'
                      FLG_CUST:
                        type: string
                        maxLength: 1
                        description: 'Flag: customizing object  enumValues: A=Is generally applicable,C=Is only used in customizing,""=Is not used in customizing'
                        enum:
                        - A
                        - C
                        - ''
                      LANGBEZ:
                        type: string
                        maxLength: 60
                        description: Short text
                      GRAFBEZ:
                        type: string
                        maxLength: 60
                        description: Name of Graphic
                HIERARCHY:
                  type: array
                  items:
                    type: object
                    properties:
                      DMOID:
                        type: string
                        maxLength: 26
                        description: Data Model Name
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                        enum:
                        - S
                        - T
                        - N
                        - A
                        - L
                      OBJID:
                        type: string
                        maxLength: 26
                        description: Data Modeler object name
                      OBJTYP:
                        type: string
                        maxLength: 1
                        description: 'EDM object type, 1 position  enumValues: D=Data model,E=Entity Type'
                        enum:
                        - D
                        - E
                      HIERPOS:
                        type: integer
                        format: int64
                        description: Position on a hierarchy level
                      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
                      INSTDVIEW:
                        type: string
                        maxLength: 1
                        description: 'Flag entity type is also displayed in reduced view  enumValues: X='
                        enum:
                        - X
                MODELS:
                  type: array
                  items:
                    type: object
                    properties:
                      DMOID:
                        type: string
                        maxLength: 26
                        description: Data Model Name
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                        enum:
                        - S
                        - T
                        - N
                        - A
                        - L
                      SPRACHE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      REF_ENTID:
                        type: string
                        maxLength: 26
                        description: Representative
                      REF_OBJECT:
                        type: string
                        maxLength: 26
                        description: Referenced model
                      REF_CLUST:
                        type: string
                        maxLength: 10
                        description: Area name
                      FLG_COMPL:
                        type: string
                        maxLength: 1
                        description: 'Flag: application data model  enumValues: X='
                        enum:
                        - X
                      FLG_FRAME:
                        type: string
                        maxLength: 1
                        description: 'Flag: frame  enumValues: X='
                        enum:
                        - X
                      FLG_CUST:
                        type: string
                        maxLength: 1
                        description: 'Flag: customizing object  enumValues: A=Is generally applicable,C=Is only used in customizing,""=Is not used in customizing'
                        enum:
                        - A
                        - C
                        - ''
                      FLG_BUSINS:
                        type: string
                        maxLength: 1
                        description: 'Flag: business object  enumValues: X='
                        enum:
                        - X
                      OBJTYP:
                        type: string
                        maxLength: 4
                        description: 'Type of EDM object  enumValues: DATM=Data model,ENTI=Entity,CLUS=Cluster'
                        enum:
                        - DATM
                        - ENTI
                        - CLUS
                      COLORTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type for identifying objects  enumValues: z=Type z,v=Type v,w=Type w,x=Type x,y=Type y,ß=Extra type,j=Type j,k=Type k,l=Type l,m=Type m,f=Type f,g=Type g,h=Type h,i=Type i,r=Type r,s=Type s,t=Type t,u=Type u,n=Type n,o=Type o,p=Type p,q=Type q,Z=Type Z,V=Type V,W=Type W,X=Type X,Y=Type Y,b=Type b,c=Type c,d=Type d,e=Type e,a=Type a,J=Type J,K=Type K,L=Type L,M=Type M,F=Type F,G=Type G,H=Type H,I=Type I,R=Type R,S=Type S,T=Type T,U=Type U,N=Type N,O=Type O,P=Type
                          P,Q=Type Q,6=Type 6,7=Type 7,8=Type 8,9=Type 9,B=Type B,C=Type C,D=Type D,E=Type E,A=Type A,2=Type 2,3=Type 3,4=Type 4,5=Type 5,1=Type 1,0=Type 0 = default type'
                        enum:
                        - z
                        - v
                        - w
                        - x
                        - y
                        - ß
                        - j
                        - k
                        - l
                        - m
                        - f
                        - g
                        - h
                        - i
                        - r
                        - s
                        - t
                        - u
                        - n
                        - o
                        - p
                        - q
                        - Z
                        - V
                        - W
                        - X
                        - Y
                        - b
                        - c
                        - d
                        - e
                        - a
                        - J
                        - K
                        - L
                        - M
                        - F
                        - G
                        - H
                        - I
                        - R
                        - S
                        - T
                        - U
                        - N
                        - O
                        - P
                        - Q
                        - '6'
                        - '7'
                        - '8'
                        - '9'
                        - B
                        - C
                        - D
                        - E
                        - A
                        - '2'
                        - '3'
                        - '4'
                        - '5'
                        - '1'
                        - '0'
                      LANGBEZ:
                        type: string
                        maxLength: 60
                        description: Short text
                      FCTR_ID:
                        type: string
                        maxLength: 20
                        description: Application Component
                RELATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTIDTO:
                        type: string
                        maxLength: 26
                        description: Target entity type
                      ENTIDFROM:
                        type: string
                        maxLength: 26
                        description: Start entity type
                      EBROLNR:
                        type: string
                        maxLength: 1
                        description: Relationship role
                      EBVAR:
                        type: string
                        maxLength: 1
                        description: 'Temporary reference for relationships  enumValues: X=Reference restriction,""=No reference restriction'
                        enum:
                        - X
                        - ''
                      EBTYP:
                        type: string
                        maxLength: 1
                        description: 'Relationship type  enumValues: H=Hierarchical,R=Referential,X=External,A=Aggregating'
                        enum:
                        - H
                        - R
                        - X
                        - A
                      CARD1:
                        type: string
                        maxLength: 2
                        description: 'Cardinality of a relationship  enumValues: 1=Each dependent entity has exactly one source entity,C=Each dependent entity has a maximum of one source entity'
                        enum:
                        - '1'
                        - C
                      CARD2:
                        type: string
                        maxLength: 2
                        description: 'Cardinality of a relationship  enumValues: N=Each source entity has at least one dependent entity,XX=Relationship to objects not belonging to the SAP data model,C=Each source entity has a maximum of one dependent entity,1=Each source entity has exactly one dependent entity,CN=Each source entity has any number of dependent entities'
                        enum:
                        - N
                        - XX
                        - C
                        - '1'
                        - CN
                      RELTXT1:
                        type: string
                        maxLength: 30
                        description: Relationship name
                      RELTXT2:
                        type: string
                        maxLength: 30
                        description: Relationship name
                SPECIALIZATION:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTID_FROM:
                        type: string
                        maxLength: 26
                        description: Start entity type
                      ENTID_TO:
                        type: string
                        maxLength: 26
                        description: Target entity type
                      SPEZ_ID:
                        type: string
                        maxLength: 4
                        description: Specialization category
                      SHTXT_FROM:
                        type: string
                        maxLength: 60
                        description: Short text
                      SHTXT_TO:
                        type: string
                        maxLength: 60
                        description: Short text
                      MOD_USER:
                        type: string
                        maxLength: 12
                        description: Changed by
                      MOD_DATE:
                        type: string
                        format: date
                        description: Changed on
                      MOD_TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                SPECTYP:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTITY_ID:
                        type: string
                        maxLength: 26
                        description: Entity type name
                      SPEZ_ID:
                        type: string
                        maxLength: 4
                        description: Specialization category
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      COMPLETE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Completeness of specialization  enumValues: X='
                        enum:
                        - X
                      DISJUNCT:
                        type: string
                        maxLength: 1
                        description: 'Flag: disjunct specialization  enumValues: X='
                        enum:
                        - X
                      SHORTTEXT:
                        type: string
                        maxLength: 60
                        description: Short text
                      MOD_USER:
                        type: string
                        maxLength: 12
                        description: Changed by
                      MOD_DATE:
                        type: string
                        format: date
                        description: Changed on
                      MOD_TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
              required:
              - MODEL_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ENTITIES:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTID:
                          type: string
                          maxLength: 26
                          description: Entity type name
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                          enum:
                          - S
                          - T
                          - N
                          - A
                          - L
                        SPRACHE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        REF_CLUST:
                          type: string
                          maxLength: 10
                          description: Area name
                        ZEIT:
                          type: string
                          maxLength: 1
                          description: 'Time-dependency flag  enumValues: ""=Non-time-dependent,X=Time-dependent'
                          enum:
                          - ''
                          - X
                        ZEINHT:
                          type: string
                          maxLength: 2
                          description: 'Time unit  enumValues: 40=Value date,28=Fiscal year,23=Planning periods,8=Time,1=History,34=Fiscal year/acquisition year,""=Not a measurement unit,32=Acquisition year/asset retirement year,3=Month,29=Calendar year,12=Schedule line date,26=Acquisition year,10=Valid from date,24=Planning time,35=Fiscal year/acquisition period,36=Fiscal year/calendar year,30=Movement time,14=Creation time,27=Asset retirement year,7=Section of the day,19=Time of birth,31=Execution
                            time,39=Due Date,18=Shift,41=Approval year,5=Hour,20=Time of physical inventory,22=Posting period,4=Period,13=Delivery date,15=Requirements time,17=End time,37=Posting period/calendar year,2=Year,38=Posting period/acquisition period,21=Posting time,25=Acquisition period,33=Planning period/planning time,9=Validity period,6=Day,16=Start time,11=End of validity period'
                          enum:
                          - '40'
                          - '28'
                          - '23'
                          - '8'
                          - '1'
                          - '34'
                          - ''
                          - '32'
                          - '3'
                          - '29'
                          - '12'
                          - '26'
                          - '10'
                          - '24'
                          - '35'
                          - '36'
                          - '30'
                          - '14'
                          - '27'
                          - '7'
                          - '19'
                          - '31'
                          - '39'
                          - '18'
                          - '41'
                          - '5'
                          - '20'
                          - '22'
                          - '4'
                          - '13'
                          - '15'
                          - '17'
                          - '37'
                          - '2'
                          - '38'
                          - '21'
                          - '25'
                          - '33'
                          - '9'
                          - '6'
                          - '16'
                          - '11'
                        FLG_CUST:
                          type: string
                          maxLength: 1
                          description: 'Flag: customizing object  enumValues: A=Is generally applicable,C=Is only used in customizing,""=Is not used in customizing'
                          enum:
                          - A
                          - C
                          - ''
                        LANGBEZ:
                          type: string
                          maxLength: 60
                          description: Short text
                        GRAFBEZ:
                          type: string
                          maxLength: 60
                          description: Name of Graphic
                  HIERARCHY:
                    type: array
                    items:
                      type: object
                      properties:
                        DMOID:
                          type: string
                          maxLength: 26
                          description: Data Model Name
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                          enum:
                          - S
                          - T
                          - N
                          - A
                          - L
                        OBJID:
                          type: string
                          maxLength: 26
                          description: Data Modeler object name
                        OBJTYP:
                          type: string
                          maxLength: 1
                          description: 'EDM object type, 1 position  enumValues: D=Data model,E=Entity Type'
                          enum:
                          - D
                          - E
                        HIERPOS:
                          type: integer
                          format: int64
                          description: Position on a hierarchy level
                        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
                        INSTDVIEW:
                          type: string
                          maxLength: 1
                          description: 'Flag entity type is also displayed in reduced view  enumValues: X='
                          enum:
                          - X
                  MODELS:
                    type: array
                    items:
                      type: object
                      properties:
                        DMOID:
                          type: string
                          maxLength: 26
                          description: Data Model Name
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                          enum:
                          - S
                          - T
                          - N
                          - A
                          - L
                        SPRACHE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        REF_ENTID:
                          type: string
                          maxLength: 26
                          description: Representative
                        REF_OBJECT:
                          type: string
                          maxLength: 26
                          description: Referenced model
                        REF_CLUST:
                          type: string
                          maxLength: 10
                          description: Area name
                        FLG_COMPL:
                          type: string
                          maxLength: 1
                          description: 'Flag: application data model  enumValues: X='
                          enum:
                          - X
                        FLG_FRAME:
                          type: string
                          maxLength: 1
                          description: 'Flag: frame  enumValues: X='
                          enum:
                          - X
                        FLG_CUST:
                          type: string
                          maxLength: 1
                          description: 'Flag: customizing object  enumValues: A=Is generally applicable,C=Is only used in customizing,""=Is not used in customizing'
                          enum:
                          - A
                          - C
                          - ''
                        FLG_BUSINS:
                          type: string
                          maxLength: 1
                          description: 'Flag: business object  enumValues: X='
                          enum:
                          - X
                        OBJTYP:
                          type: string
                          maxLength: 4
                          description: 'Type of EDM object  enumValues: DATM=Data model,ENTI=Entity,CLUS=Cluster'
                          enum:
                          - DATM
                          - ENTI
                          - CLUS
                        COLORTYPE:
                          type: string
                          maxLength: 1
                          description: 'Type for identifying objects  enumValues: z=Type z,v=Type v,w=Type w,x=Type x,y=Type y,ß=Extra type,j=Type j,k=Type k,l=Type l,m=Type m,f=Type f,g=Type g,h=Type h,i=Type i,r=Type r,s=Type s,t=Type t,u=Type u,n=Type n,o=Type o,p=Type p,q=Type q,Z=Type Z,V=Type V,W=Type W,X=Type X,Y=Type Y,b=Type b,c=Type c,d=Type d,e=Type e,a=Type a,J=Type J,K=Type K,L=Type L,M=Type M,F=Type F,G=Type G,H=Type H,I=Type I,R=Type R,S=Type S,T=Type T,U=Type U,N=Type N,O=Type O,P=Type
                            P,Q=Type Q,6=Type 6,7=Type 7,8=Type 8,9=Type 9,B=Type B,C=Type C,D=Type D,E=Type E,A=Type A,2=Type 2,3=Type 3,4=Type 4,5=Type 5,1=Type 1,0=Type 0 = default type'
                          enum:
                          - z
                          - v
                          - w
                          - x
                          - y
                          - ß
                          - j
                          - k
                          - l
                          - m
                          - f
                          - g
                          - h
                          - i
                          - r
                          - s
                          - t
                          - u
                          - n
                          - o
                          - p
                          - q
                          - Z
                          - V
                          - W
                          - X
                          - Y
                          - b
                          - c
                          - d
                          - e
                          - a
                          - J
                          - K
                          - L
                          - M
                          - F
                          - G
                          - H
                          - I
                          - R
                          - S
                          - T
                          - U
                          - N
                          - O
                          - P
                          - Q
                          - '6'
                          - '7'
                          - '8'
                          - '9'
                          - B
                          - C
                          - D
                          - E
                          - A
                          - '2'
                          - '3'
                          - '4'
                          - '5'
                          - '1'
                          - '0'
                        LANGBEZ:
                          type: string
                          maxLength: 60
                          description: Short text
                        FCTR_ID:
                          type: string
                          maxLength: 20
                          description: Application Component
                  RELATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTIDTO:
                          type: string
                          maxLength: 26
                          description: Target entity type
                        ENTIDFROM:
                          type: string
                          maxLength: 26
                          description: Start entity type
                        EBROLNR:
                          type: string
                          maxLength: 1
                          description: Relationship role
                        EBVAR:
                          type: string
                          maxLength: 1
                          description: 'Temporary reference for relationships  enumValues: X=Reference restriction,""=No reference restriction'
                          enum:
                          - X
                          - ''
                        EBTYP:
                          type: string
                          maxLength: 1
                          description: 'Relationship type  enumValues: H=Hierarchical,R=Referential,X=External,A=Aggregating'
                          enum:
                          - H
                          - R
                          - X
                          - A
                        CARD1:
                          type: string
                          maxLength: 2
                          description: 'Cardinality of a relationship  enumValues: 1=Each dependent entity has exactly one source entity,C=Each dependent entity has a maximum of one source entity'
                          enum:
                          - '1'
                          - C
                        CARD2:
                          type: string
                          maxLength: 2
                          description: 'Cardinality of a relationship  enumValues: N=Each source entity has at least one dependent entity,XX=Relationship to objects not belonging to the SAP data model,C=Each source entity has a maximum of one dependent entity,1=Each source entity has exactly one dependent entity,CN=Each source entity has any number of dependent entities'
                          enum:
                          - N
                          - XX
                          - C
                          - '1'
                          - CN
                        RELTXT1:
                          type: string
                          maxLength: 30
                          description: Relationship name
                        RELTXT2:
                          type: string
                          maxLength: 30
                          description: Relationship name
                  SPECIALIZATION:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTID_FROM:
                          type: string
                          maxLength: 26
                          description: Start entity type
                        ENTID_TO:
                          type: string
                          maxLength: 26
                          description: Target entity type
                        SPEZ_ID:
                          type: string
                          maxLength: 4
                          description: Specialization category
                        SHTXT_FROM:
                          type: string
                          maxLength: 60
                          description: Short text
                        SHTXT_TO:
                          type: string
                          maxLength: 60
                          description: Short text
                        MOD_USER:
                          type: string
                          maxLength: 12
                          description: Changed by
                        MOD_DATE:
                          type: string
                          format: date
                          description: Changed on
                        MOD_TIME:
                          type: string
                          maxLength: 6
                          description: Last changed at
                  SPECTYP:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTITY_ID:
                          type: string
                          maxLength: 26
                          description: Entity type name
                        SPEZ_ID:
                          type: string
                          maxLength: 4
                          description: Specialization category
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        COMPLETE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Completeness of specialization  enumValues: X='
                          enum:
                          - X
                        DISJUNCT:
                          type: string
                          maxLength: 1
                          description: 'Flag: disjunct specialization  enumValues: X='
                          enum:
                          - X
                        SHORTTEXT:
                          type: string
                          maxLength: 60
                          description: Short text
                        MOD_USER:
                          type: string
                          maxLength: 12
                          description: Changed by
                        MOD_DATE:
                          type: string
                          format: date
                          description: Changed on
                        MOD_TIME:
                          type: string
                          maxLength: 6
                          description: Last changed at
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
