<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alfresco REST API can't update residual properties in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-rest-api-can-t-update-residual-properties/m-p/131424#M35482</link>
    <description>&lt;P&gt;You may try using the legacy REST API.&lt;/P&gt;
&lt;P&gt;To update a residual property, use a call similar to the following one.&lt;/P&gt;
&lt;PRE&gt;curl --location --request POST 'http://127.0.0.1:8080/alfresco/s/api/metadata/node/workspace/SpacesStore/cbcb93fd-5c24-4468-9433-c0f68e1a19c5' \
--header 'Authorization: Basic YWRtaW46YWRtaW4=' \
--header 'Content-Type: application/json' \
--data-raw '{
    "properties" : {
      "app:counterValue": "2"
    }
}'&lt;/PRE&gt;</description>
    <pubDate>Wed, 10 Nov 2021 08:58:13 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2021-11-10T08:58:13Z</dc:date>
    <item>
      <title>Alfresco REST API can't update residual properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-rest-api-can-t-update-residual-properties/m-p/131423#M35481</link>
      <description>&lt;P&gt;I'm running into an issue with the REST API where it appears it can view, but not update residual properties. I have a residual property &lt;STRONG&gt;app:counterValue&lt;/STRONG&gt; on a node in my repository:&lt;/P&gt;&lt;PRE&gt;{
    "entry": {
        "aspectNames": [
            "cm:auditable"
        ],
        "modifiedAt": "2021-09-21T19:36:17.340+0000",
        "modifiedByUser": {
            "id": "System",
            "displayName": "System"
        },
        "name": "NOTE_COUNTER",
        "id": "8f8f37d8-2566-45bf-acc8-a5ee471dff17",
        "nodeType": "cm:content",
        "properties": {
            "app:counterValue": 100016
        },
        "parentId": "f5280d70-6ed7-49f0-927c-63ed702bb21c"
    }
}&lt;/PRE&gt;&lt;P&gt;If I try to update the property using the REST API I get an "&lt;STRONG&gt;Unknown property: app:counterValue&lt;/STRONG&gt;". I tried without the prefix and get the same thing. Is there any way around this other than using a custom webscript?&lt;/P&gt;&lt;P&gt;This is my update request:&lt;/P&gt;&lt;PRE&gt;PUT 'http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/8f8f37d8-2566-45bf-acc8-a5ee471dff17?include=properties&amp;amp;fields=id,name'
{
    "properties": { "app:counterValue": 100017 }
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Nov 2021 17:19:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-rest-api-can-t-update-residual-properties/m-p/131423#M35481</guid>
      <dc:creator>sherwinf</dc:creator>
      <dc:date>2021-11-09T17:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco REST API can't update residual properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-rest-api-can-t-update-residual-properties/m-p/131424#M35482</link>
      <description>&lt;P&gt;You may try using the legacy REST API.&lt;/P&gt;
&lt;P&gt;To update a residual property, use a call similar to the following one.&lt;/P&gt;
&lt;PRE&gt;curl --location --request POST 'http://127.0.0.1:8080/alfresco/s/api/metadata/node/workspace/SpacesStore/cbcb93fd-5c24-4468-9433-c0f68e1a19c5' \
--header 'Authorization: Basic YWRtaW46YWRtaW4=' \
--header 'Content-Type: application/json' \
--data-raw '{
    "properties" : {
      "app:counterValue": "2"
    }
}'&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Nov 2021 08:58:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-rest-api-can-t-update-residual-properties/m-p/131424#M35482</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-11-10T08:58:13Z</dc:date>
    </item>
  </channel>
</rss>

