How to use "Update ConfiForms Field value by filter" API

Denver Thomas
Contributor
December 4, 2023

/rest/confiforms/1.0/updateFieldValue/{pageId}/{formName}

/rest/confiforms/1.0/updateFieldValue/{pageId}/{formName}/{filter}

Can I get an example of how to use this?

It all seems straightforward enough, but where do I actually define the field I want to update and what I want to update it with?

 

What I've tried:
confiforms/1.0/updateFieldValue/{pageId}/{formName}&fv=sendemail:1

 

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 4, 2023

Hi @Denver Thomas 

You will need to put your form name instead of {formName} and page id (numeric) instead of {pageId}

Alex

Denver Thomas
Contributor
December 4, 2023

Thanks for getting back to me, Alex

Right, right (I've got those variables defined elsewhere in my code),

I'm just not sure how to format the,

&fv=sendemail:1

part at the end

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 4, 2023

/rest/confiforms/1.0/updateFieldValue/{pageId}/{formName}/{filter}?fv=sendemail:1

Will update the form's sendemail field matching the given filter with 1

Like Denver Thomas likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events