openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_DATAMODEL_UPDATE:
    post:
      tags:
      - SIDM
      operationId: /rfc/RPY_DATAMODEL_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVATION_TYPE:
                  type: string
                  default: A
                  maxLength: 1
                  description: Activation type of the data element to be changed
                DOCUTYPE:
                  type: string
                  default: T
                  maxLength: 1
                  description: '''U''->free doc. format, ''T''->subscript format'
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language in which the data model is changed
                MODEL_INF:
                  type: object
                  properties:
                    MODEL_ID:
                      type: string
                      maxLength: 26
                      description: Data Model Name
                    LANGUAGE:
                      type: string
                      maxLength: 1
                      description: Language Key
                    REFENTY_ID:
                      type: string
                      maxLength: 26
                      description: Representative
                    REFAREA_ID:
                      type: string
                      maxLength: 10
                      description: Area name
                    REF_OBJECT:
                      type: string
                      maxLength: 26
                      description: View on model
                    FLG_APPMOD:
                      type: string
                      maxLength: 1
                      description: 'Flag: complete data model  enumValues: X='
                      enum:
                      - X
                    FLG_CUST_O:
                      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_BUSI_O:
                      type: string
                      maxLength: 1
                      description: 'Flag: business object  enumValues: X='
                      enum:
                      - X
                    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'
                    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
                    SHORTTEXT:
                      type: string
                      maxLength: 60
                      description: Short text
                MODEL_NAME:
                  type: string
                  maxLength: 26
                  description: Name of the data model to be changed
                TRANSPORT_NUMBER:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: Number of the request which contains the changes
                WITH_DOCU:
                  type: string
                  default: X
                  maxLength: 1
                  description: '''X''->Doc. also changed'
                DOCU_TABLE_TECH:
                  type: array
                  items:
                    type: object
                    properties:
                      TDFORMAT:
                        type: string
                        maxLength: 2
                        description: Tag column
                      TDLINE:
                        type: string
                        maxLength: 132
                        description: Text Line
                DOCU_TABLE_USER:
                  type: array
                  items:
                    type: object
                    properties:
                      KEY_ID:
                        type: string
                        maxLength: 1
                        description: Line type ID with complex objects
                      OBJLINE:
                        type: string
                        maxLength: 72
                        description: 'EDIC: Program editor line'
                MODEL_STRUCTURE_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      MODEL_ID:
                        type: string
                        maxLength: 26
                        description: Data Model Name
                      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
                      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_INF
              - MODEL_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DOCU_TABLE_TECH:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
                  DOCU_TABLE_USER:
                    type: array
                    items:
                      type: object
                      properties:
                        KEY_ID:
                          type: string
                          maxLength: 1
                          description: Line type ID with complex objects
                        OBJLINE:
                          type: string
                          maxLength: 72
                          description: 'EDIC: Program editor line'
                  MODEL_STRUCTURE_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        MODEL_ID:
                          type: string
                          maxLength: 26
                          description: Data Model Name
                        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
                        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.
