Table of Contents

#Установка значения свойства элемента

Алгоритм

  • Авторизация;
  • Получение свойств элемента;
  • Изменение свойств полученного элемента.

Авторизация

Необходимо пройти стандартную процедуру авторизации требуемого пользователя в выбранном хранилище.

Варианты авторизации:

Получение свойств элемента

В консоли необходимо указать uid элемента, свойства которого хотим изменить. Указанный uid отправляется в теле POST-запроса в формате "multipart/form-data"; по адресу "/property-owner/get-by-uid". Web-сервер ПОЛИНОМ возвращает элемент и его свойства. Ответ от web-сервера ПОЛИНОМ приходит в виде структуры JSON.

Ответ на запрос "/property-owner/get-by-uid"

{
  "measureEntities": {
    "entities": [
      {
        "name": "string",
        "code": "string",
        "id": "string",
        "writeAccess": true,
        "objectId": 0,
        "typeId": 0,
        "uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "basicUnit": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ]
  },
  "measureUnits": {
    "units": [
      {
        "name": "string",
        "code": "string",
        "id": "string",
        "writeAccess": true,
        "objectId": 0,
        "typeId": 0,
        "uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "isBasic": true,
        "designation": "string",
        "fromBasicFactor": 0,
        "fromBasicOffset": 0,
        "measureEntity": {
          "objectId": 0,
          "typeId": 0
        },
        "codeOkei": "string",
        "internationalDesignationOkei": "string",
        "internationalLiteralDesignation": "string",
        "literalDesignation": "string"
      }
    ]
  },
  "definitions": {
    "doubleProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        },
        "measureEntity": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "stringProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "booleanProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "colorProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "opticProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "dateTimeProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "imageProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "rtfProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "enumProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        },
        "items": [
          {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "value": "string"
          }
        ]
      }
    ],
    "setProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        },
        "items": [
          {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "value": "string"
          }
        ]
      }
    ],
    "integerProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "binaryProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "guidProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "enumBoolProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        },
        "items": [
          {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "description": "string",
            "value": true
          }
        ]
      }
    ],
    "enumDoubleProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        },
        "items": [
          {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "description": "string",
            "value": 0
          }
        ]
      }
    ],
    "enumIntProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        },
        "items": [
          {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "description": "string",
            "value": 0
          }
        ]
      }
    ],
    "enumStringProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        },
        "items": [
          {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "description": "string",
            "value": "string"
          }
        ]
      }
    ],
    "tableProperties": [
      {
        "name": "string",
        "code": "string",
        "absoluteCode": "string",
        "writeAccess": true,
        "ownerBaseGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "id": "string",
        "description": "string",
        "isSystemObject": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "properties": [
          {
            "name": "string",
            "id": "string",
            "absoluteCode": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "isMandatory": true,
            "isMandatoryEnabled": true,
            "isHidden": true,
            "isHiddenEnabled": true,
            "isSpecial": true,
            "isSpecialEnabled": true,
            "isUnique": true,
            "isUniqueEnabled": true,
            "isIndexable": true,
            "isIndexableEnabled": true,
            "isDynamic": true,
            "isDynamicEnabled": true,
            "isDisplayedForSelection": true,
            "isDisplayedForSelectionEnabled": true,
            "isSetBeforeApplying": true,
            "isSetBeforeApplyingEnabled": true,
            "isUsedInModelFamiliesDefault": true,
            "isUsedInModelFamiliesDefaultEnabled": true,
            "isReadOnly": true,
            "isReadOnlyEnabled": true,
            "position": 0,
            "isDefaultIfEmpty": true,
            "isDefaultIfEmptyEnabled": true,
            "isDefaultEnabled": true,
            "isNameManuallySet": true,
            "propertySource": {
              "absoluteCode": "string",
              "id": "string",
              "writeAccess": true,
              "objectId": 0,
              "typeId": 0,
              "isLinked": true,
              "definition": {
                "objectId": 0,
                "typeId": 0
              },
              "ownerContract": {
                "objectId": 0,
                "typeId": 0
              },
              "linkDefinitionEnd": {
                "objectId": 0,
                "typeId": 0
              },
              "linkedConceptPropertySource": {
                "objectId": 0,
                "typeId": 0
              }
            },
            "defaultMeasureUnit": {
              "objectId": 0,
              "typeId": 0
            },
            "defaultPropertyValue": {
              "objectId": 0,
              "typeId": 0
            },
            "appointedFormula": {
              "name": "string",
              "objectId": 0,
              "typeId": 0
            }
          }
        ],
        "canUnassign": true,
        "ownerGroup": {
          "objectId": 0,
          "typeId": 0
        },
        "defaultPropertyValue": {
          "objectId": 0,
          "typeId": 0
        },
        "columns": [
          {
            "name": "string",
            "id": "string",
            "absoluteCode": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "isMandatory": true,
            "isMandatoryEnabled": true,
            "isHidden": true,
            "isHiddenEnabled": true,
            "isSpecial": true,
            "isSpecialEnabled": true,
            "isUnique": true,
            "isUniqueEnabled": true,
            "isIndexable": true,
            "isIndexableEnabled": true,
            "isDynamic": true,
            "isDynamicEnabled": true,
            "isDisplayedForSelection": true,
            "isDisplayedForSelectionEnabled": true,
            "isSetBeforeApplying": true,
            "isSetBeforeApplyingEnabled": true,
            "isUsedInModelFamiliesDefault": true,
            "isUsedInModelFamiliesDefaultEnabled": true,
            "isReadOnly": true,
            "isReadOnlyEnabled": true,
            "position": 0,
            "isDefaultIfEmpty": true,
            "isDefaultIfEmptyEnabled": true,
            "isDefaultEnabled": true,
            "isNameManuallySet": true,
            "propertySource": {
              "absoluteCode": "string",
              "id": "string",
              "writeAccess": true,
              "objectId": 0,
              "typeId": 0,
              "isLinked": true,
              "definition": {
                "objectId": 0,
                "typeId": 0
              },
              "ownerContract": {
                "objectId": 0,
                "typeId": 0
              },
              "linkDefinitionEnd": {
                "objectId": 0,
                "typeId": 0
              },
              "linkedConceptPropertySource": {
                "objectId": 0,
                "typeId": 0
              }
            },
            "defaultMeasureUnit": {
              "objectId": 0,
              "typeId": 0
            },
            "defaultPropertyValue": {
              "objectId": 0,
              "typeId": 0
            },
            "appointedFormula": {
              "name": "string",
              "objectId": 0,
              "typeId": 0
            },
            "type": 0,
            "isUniqueInTable": true,
            "tablePropertyDefinition": {
              "objectId": 0,
              "typeId": 0
            }
          }
        ]
      }
    ]
  },
  "values": {
    "doubleProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "mode": 0,
            "value": 0,
            "minValue": 0,
            "maxValue": 0,
            "lowerTolerance": 0,
            "upperTolerance": 0,
            "measureUnit": {
              "objectId": 0,
              "typeId": 0
            }
          }
        }
      ]
    },
    "stringProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": "string"
        }
      ]
    },
    "booleanProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": true
        }
      ]
    },
    "colorProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "r": 0,
            "g": 0,
            "b": 0,
            "a": 0
          }
        }
      ]
    },
    "opticProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "ambient": 0,
            "diffuse": 0,
            "emission": 0,
            "shininess": 0,
            "specularity": 0,
            "transparency": 0
          }
        }
      ]
    },
    "dateTimeProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "value": "2025-12-22T07:19:58.840Z",
            "useTime": true
          }
        }
      ]
    },
    "imageProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": "string",
          "body": "string"
        }
      ]
    },
    "rtfProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": "string"
        }
      ]
    },
    "enumProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": "string"
        }
      ]
    },
    "setProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": [
            "string"
          ]
        }
      ]
    },
    "integerProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": 0
        }
      ]
    },
    "binaryProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": "string"
        }
      ]
    },
    "guidProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": "string"
        }
      ]
    },
    "enumBoolProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "description": "string",
            "value": true
          }
        }
      ]
    },
    "enumDoubleProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "description": "string",
            "value": 0
          }
        }
      ]
    },
    "enumIntProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "description": "string",
            "value": 0
          }
        }
      ]
    },
    "enumStringProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "position": 0,
            "description": "string",
            "value": "string"
          }
        }
      ]
    },
    "tableProperties": {
      "hasValue": true,
      "value": [
        {
          "id": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "definition": {
            "objectId": 0,
            "typeId": 0
          },
          "value": {
            "rows": [
              {
                "writeAccess": true,
                "objectId": 0,
                "typeId": 0,
                "owner": {
                  "objectId": 0,
                  "typeId": 0
                },
                "owningValue": {
                  "objectId": 0,
                  "typeId": 0
                },
                "cellValues": [
                  {
                    "objectId": 0,
                    "typeId": 0
                  }
                ],
                "position": 0
              }
            ]
          }
        }
      ]
    }
  },
  "allContracts": [
    {
      "name": "string",
      "id": "string",
      "absoluteCode": "string",
      "code": "string",
      "description": "string",
      "isSystemObject": true,
      "writeAccess": true,
      "objectId": 0,
      "typeId": 0,
      "properties": [
        {
          "name": "string",
          "id": "string",
          "absoluteCode": "string",
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "isMandatory": true,
          "isMandatoryEnabled": true,
          "isHidden": true,
          "isHiddenEnabled": true,
          "isSpecial": true,
          "isSpecialEnabled": true,
          "isUnique": true,
          "isUniqueEnabled": true,
          "isIndexable": true,
          "isIndexableEnabled": true,
          "isDynamic": true,
          "isDynamicEnabled": true,
          "isDisplayedForSelection": true,
          "isDisplayedForSelectionEnabled": true,
          "isSetBeforeApplying": true,
          "isSetBeforeApplyingEnabled": true,
          "isUsedInModelFamiliesDefault": true,
          "isUsedInModelFamiliesDefaultEnabled": true,
          "isReadOnly": true,
          "isReadOnlyEnabled": true,
          "position": 0,
          "isDefaultIfEmpty": true,
          "isDefaultIfEmptyEnabled": true,
          "isDefaultEnabled": true,
          "isNameManuallySet": true,
          "propertySource": {
            "absoluteCode": "string",
            "id": "string",
            "writeAccess": true,
            "objectId": 0,
            "typeId": 0,
            "isLinked": true,
            "definition": {
              "objectId": 0,
              "typeId": 0
            },
            "ownerContract": {
              "objectId": 0,
              "typeId": 0
            },
            "linkDefinitionEnd": {
              "objectId": 0,
              "typeId": 0
            },
            "linkedConceptPropertySource": {
              "objectId": 0,
              "typeId": 0
            }
          },
          "defaultMeasureUnit": {
            "objectId": 0,
            "typeId": 0
          },
          "defaultPropertyValue": {
            "objectId": 0,
            "typeId": 0
          },
          "appointedFormula": {
            "name": "string",
            "objectId": 0,
            "typeId": 0
          }
        }
      ],
      "canUnassign": true
    }
  ],
  "propertyOwner": {
    "writeAccess": true,
    "id": "string",
    "objectId": 0,
    "typeId": 0,
    "properties": [
      {
        "name": "string",
        "id": "string",
        "writeAccess": true,
        "objectId": 0,
        "typeId": 0,
        "type": 0,
        "isOwn": true,
        "isLinked": true,
        "contract": {
          "objectId": 0,
          "typeId": 0
        },
        "definition": {
          "objectId": 0,
          "typeId": 0
        },
        "contractPropertySource": {
          "objectId": 0,
          "typeId": 0
        },
        "linkedPropertyInfo": {
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "linkDefinitionEnd": {
            "objectId": 0,
            "typeId": 0
          },
          "linkableItem": {
            "objectId": 0,
            "typeId": 0
          }
        },
        "value": {
          "objectId": 0,
          "typeId": 0
        },
        "evaluationPropertyInfo": {
          "writeAccess": true,
          "objectId": 0,
          "typeId": 0,
          "evaluationMode": 0,
          "formula": {
            "objectId": 0,
            "typeId": 0
          },
          "appointedFormula": {
            "objectId": 0,
            "typeId": 0
          },
          "usePropertyValue": true
        }
      }
    ]
  }

Изменение свойств полученного элемента

Формируется PUT-запрос установки значений свойствам. Данный запрос отправляется по адресу "/property-owner/set-property-values". Web-сервер ПОЛИНОМ присваивает указанным свойствам значения.

Запрос "/property-owner/set-property-values"

В теле запроса передаются идентификаторы элемента-владельца свойств (блок "propertyOwner&"), идентификаторы понятия, определения свойства и ссылка на значение свойства (блок "properties") и значение свойства (блок "values") .

"values": {
    "doubleProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "mode": 0,
        "value": 0,
        "minValue": 0,
        "maxValue": 0,
        "lowerTolerance": 0,
        "upperTolerance": 0,
        "measureUnit": {
          "objectId": 0,
          "typeId": 0
        }
      }
    ],
    "stringProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": "string"
      }
    ],
    "booleanProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": true
      }
    ],
    "colorProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "r": 0,
        "g": 0,
        "b": 0,
        "a": 0
      }
    ],
    "opticProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "ambient": 0,
        "diffuse": 0,
        "emission": 0,
        "shininess": 0,
        "specularity": 0,
        "transparency": 0
      }
    ],
    "dateTimeProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": "2024-06-25T12:10:53.110Z",
        "useTime": true
      }
    ],
    "imageProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "isEmpty": true,
        "value": "string"
      }
    ],
    "rtfProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": "string"
      }
    ],
    "enumProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": "string"
      }
    ],
    "setProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "values": [
          "string"
        ]
      }
    ],
    "integerProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": 0
      }
    ],
    "binaryProperties": [
      {
        "objectId": 4,
        "typeId": 29
        "isEmpty": false,
        "value": "ytrf1odl.3sr"
      }
    ],
    "guidProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      }
    ],
    "enumBoolProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": {
          "description": "string",
          "value": true,
          "position": 0
        }
      }
    ],
    "enumDoubleProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": {
          "description": "string",
          "value": 0,
          "position": 0
        }
      }
    ],
    "enumIntProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": {
          "description": "string",
          "value": 0,
          "position": 0
        }
      }
    ],
    "enumStringProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "value": {
          "description": "string",
          "value": "string",
          "position": 0
        }
      }
    ],
    "tableProperties": [
      {
        "objectId": 0,
        "typeId": 0,
        "columns": [
          {
            "objectId": 0,
            "typeId": 0,
            "tablePropertyDefinitionColumn": {
              "objectId": 0,
              "typeId": 0
            },
            "width": 0
          }
        ],
        "rows": [
          {
            "cellValues": [
              {
                "objectId": 0,
                "typeId": 0
              }
            ]
          }
        ]
      }
    ]
  },
  "properties": [
    {
      "value": {
        "objectId": 4,
        "typeId": 29
      },
      "contract": {
        "objectId": 1,
        "typeId": 38
      },
      "definition": {
        "objectId": 1,
        "typeId": 14
      }
    }
  ],
  "propertyOwner": {
     "objectId": 42,
      "typeId": 4
  }
}

Ответ на запрос "/property-owner/set-property-values"

В качестве ответа возвращается статус выполнения запроса (200 OK в случае успешного выполнения).