Skip to main content
Question

Webhook Syntax -

  • February 1, 2021
  • 0 replies
  • 12 views

Forum|alt.badge.img+14
I have a webhook that sets a field property for a single field. I am trying to figure out the correct syntax for setting that property for multiple​ fields.

Current working code:
<qdbapi>
<usertoken>xxxxxxxusertokenherexxxxxx</usertoken>
<fid>276</fid>
<append_only>0</append_only>
</qdbapi>

What didn't work:
<qdbapi>
<usertoken>xxxxxxxusertokenherexxxxxx</usertoken>
<fid>276</fid>
<fid>300</fid>
<append_only>0</append_only>
</qdbapi>

------------------------------
Mike Tamoush
------------------------------

  • Registered
  • February 2, 2021
I assume this is using API_SetFieldProperties? As far as I can tell this only works with single fields. You should be able to do it with Pipelines by creating a loop or even a code page possibly. If you knew the fields you wanted to edit each time and did it all in a code page that could possibly work. It just depends what the trigger for all this is too. Pipelines would probably be much easier.