Forum Discussion

JonFroderberg's avatar
JonFroderberg
Qrew Cadet
3 years ago

Referencing Quickbase Field Names inside XML Formatted Webhooks

I have a use case where I want to increment a counter field on a parent record (Phase Code) when a child record (Estimate-Phase) is modified/updated via a Webhook on the child table.

HTTP method is POST
Message format is XML
Message header is QUICKBASE-ACTION API_EditRecord

So far I have the following for my Message body:

<qdbapi>

<udata>Estimate-Phase Trigger Counter</udata> <usertoken>user_token_goes_here</usertoken>
<apptoken>app_token_goes_here</apptoken>

<rid>[Related Phase Code]</rid>
<field fid="676">[Estimate-Phase Trigger Counter + 1]</field>

</qdbapi>

Am I formatting the field references correctly?

------------------------------
Jon Froderberg
PRIME Developer
Harder Mechanical Contractors
https://www.harder.com
Portland, OR
801.946.0576
------------------------------
  • Never mind everyone! I have the field names formatted correctly.  One of my Webhook trigger criteria was incorrect.

    ------------------------------
    Jon Froderberg
    PRIME Developer
    Harder Mechanical Contractors
    https://www.harder.com
    Portland, OR
    801.946.0576
    ------------------------------