1 Reply Latest reply on May 25, 2017 2:09 PM by jserrano-2 RSS
    dwightwhe Explorer

    Call SetPropertyValues using REST with infotable


    I'm trying to set a Thing's properties using the SetPropertyValues REST call. It has one argument, values, which is of INFOTABLE type.

    I can make this call for my XTest object with property prop:


    and get a 200 (OK) status code back, no content.

    However, there appears no change of the actual value on the server. Why does the change not go through?

    EDIT/UPDATE: If I take the infotable result of GetPropertyValues, remove the read-only property values and change the others as desired, it works. There must be something of importance missing in the above call without triggering an error.

    This solves it for me I believe. Thanks!