AnsweredAssumed Answered

can I use parameters in content json?

Question asked by gregor.vilkner on Jan 24, 2018
Latest reply on Jan 26, 2018 by pmartin

Can parameters be used in content json? or is this limited to Resource? Say I want to put the Id of a newly created element into an attribute field...

The snippet below works, but the attribute gets set to {1} - so the parameter replacement does not happen. Because it's a string inside a string?

Kind regards,



"setAttributesXYZ": {

    "Method": "PUT",

    "Resource": "https://piwebapi/piwebapi/attributes/{0}/value",

    "Content": "{\"Value\":\"{1}\"}",

    "Parameters": [




    "ParentIds": [