Skip to main content
1-Visitor
December 27, 2023
Question

REST Client Advance Data Format Constant String

  • December 27, 2023
  • 1 reply
  • 719 views

How to include custom string under the values.

 

Example:

{
|#each VALUES|
"variable": CONSTANTSTRING,

"|TAGNAME|_realvalue": |VALUE|,
"|TAGNAME|_quality": |QUALITY|,
"|TAGNAME|_timestamp": |TIMESTAMP|,
|/each|
}

1 reply

13-Aquamarine
January 2, 2024

@IT_10865748 

 

If the string never changes then, you can hardcode it in the payload "variable": "TheNeverChangingValue," but my guess is you want it to say something different for different tags.  You could then use the tag's description if that is the case.

 

Thanks,

 

*Chris