Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
5 years ago

Webhook Syntax -

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
------------------------------
  • AustinK's avatar
    AustinK
    Qrew Commander
    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.