Skip to main content
Question

Help with API

  • April 8, 2021
  • 0 replies
  • 65 views

I have never used an API.  How do I assign a value to a field with an url API?  I want the user to click a link of dashboard and the API to assign the value to the first field on the form from the link.

This is the url to the form that I  want to assign the value for field Managing Company.

 

I know the API gets added to the url, but not sure how to format it.  This is the url to the form: https://jsupor.quickbase.com/db/bn9gef6we?a=nwr.  What would be the url if I want the form to open with Managing Company assigned "Supor Sarens, LLC."?

 

Any help is greatly appreciated.

 

Kyle McAfee

Estimating & Database Design

 

SHH Logistics LLC

15171 Cronewood Lane

Memphis, IN 47143

 

Phone: 812.989.4171 / 973.229.9099

 

KMcAfee@SuporHeavyHaul.com

www.SuporHeavyHaul.com

 

WBE Certified Business

 

 

 

This topic has been closed for replies.

@Kyle McAfee

Instead of ?a=nwr you're going to want to use ?a=API_GenAddRecordForm you'll also need to pass a parameter with &_fid_XX= where XX is the field id of the field you'd like to change. What comes after the = is the value that you'd like to set in that field. It is best practice to wrap the value in a URLEncode() function.​



------------------------------
Justin Torrence
Quickbase Expert, Jaybird Technologies
jtorrence@jaybirdtechnologies.com
https://www.jaybirdtechnologies.com/
------------------------------