openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SDOK_M_ENT_PROPS_SET:
    post:
      tags:
      - SDC_MODEL
      operationId: /rfc/SDOK_M_ENT_PROPS_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AVOID_TR_RECORD:
                  type: string
                  default: ' '
                  maxLength: 1
                ENTITY:
                  type: object
                  properties:
                    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
                      - '-'
                    ENTITY:
                      type: string
                      maxLength: 30
                      description: 'Model: Entity Name'
                    VERSION:
                      type: string
                      maxLength: 1
                      description: 'Model: Entity Version  enumValues: 0=Active,9=Inactive,""=Active/Inactive,2=Deleted,1=Transport'
                      enum:
                      - '0'
                      - '9'
                      - ''
                      - '2'
                      - '1'
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                X_ONLY_CHECK:
                  type: string
                  default: ' '
                  maxLength: 1
                X_REPLACE_A:
                  type: string
                  default: ' '
                  maxLength: 1
                X_REPLACE_P:
                  type: string
                  default: ' '
                  maxLength: 1
                ATTRIBUTES:
                  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
                BAD_PROPERTIES:
                  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
                      ERR:
                        type: integer
                        format: int64
                        description: 'Model: Error code for property check  enumValues: 05=Evaluation of standard attribute not valid,03=Unique attribute evaluated more than once,01=Invalid Attribute,06=Standard attribute evaluated more than once,02=Evaluation of attribute not valid,04=Mandatory attribute not evaluated'
                        enum:
                        - '05'
                        - '03'
                        - '01'
                        - '06'
                        - '02'
                        - '04'
                CST_ATTRIBUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                PROPERTIES:
                  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
              required:
              - ENTITY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  X_CST_ERROR:
                    type: string
                    maxLength: 1
                  ATTRIBUTES:
                    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
                  BAD_PROPERTIES:
                    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
                        ERR:
                          type: integer
                          format: int64
                          description: 'Model: Error code for property check  enumValues: 05=Evaluation of standard attribute not valid,03=Unique attribute evaluated more than once,01=Invalid Attribute,06=Standard attribute evaluated more than once,02=Evaluation of attribute not valid,04=Mandatory attribute not evaluated'
                          enum:
                          - '05'
                          - '03'
                          - '01'
                          - '06'
                          - '02'
                          - '04'
                  CST_ATTRIBUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                  PROPERTIES:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
