Forum Discussion
EvanMartinez
7 years agoQrew Elite
Hi Joey,
For what you are looking to do with your Webhooks you would most likely want to make use of the API Import from CSV. It can be formatted using the %repeaton% %repeatoff% and field markers to create a set of records. Here is an example below:
<qdbapi>
<usertoken>InsertUserTokenHere</usertoken>
<apptoken>app_token</apptoken>
<records_csv>
%RepeatOn%
<![CDATA[
"[Date Created]","[Project Name]","[CheckBox1]", "[Record ID#]","First Record Created by Webhook"
"[Date Created]","[Project Name]","[CheckBox2]", "[Record ID#]","Second Record Created By Webhook"
"[Date Created]","[Project Name]","[CheckBox3]", "[Record ID#]","Third Record Created By Webhook"
"[Date Created]","[Project Name]","[CheckBox4]", "[Record ID#]","Fourth Record Created By Webhook"
"[Date Created]","[Project Name]","[CheckBox5]", "[Record ID#]"," Fifth Record Created By Webhook"
]]>
%RepeatOff%
</records_csv>
<clist>6.7.8.9.10</clist>
<skipfirst>0</skipfirst>
</qdbapi>
This is just a rough example, but essentially it is using the one record creation to trigger off a set of Records being created using the Import from CSV function in a Webhook. Each line would just be another record created in the endpoint table. This is just an example off the top of my head so it would need some refining for your use case but I think it is the right direction for what you are looking for. I hope this suggestion is helpful Joey. I have also linked below the Import from CSV help document that goes over the syntax for building an API Import from CSV.
http://help.quickbase.com/api-guide/importfromcsv.html
For what you are looking to do with your Webhooks you would most likely want to make use of the API Import from CSV. It can be formatted using the %repeaton% %repeatoff% and field markers to create a set of records. Here is an example below:
<qdbapi>
<usertoken>InsertUserTokenHere</usertoken>
<apptoken>app_token</apptoken>
<records_csv>
%RepeatOn%
<![CDATA[
"[Date Created]","[Project Name]","[CheckBox1]", "[Record ID#]","First Record Created by Webhook"
"[Date Created]","[Project Name]","[CheckBox2]", "[Record ID#]","Second Record Created By Webhook"
"[Date Created]","[Project Name]","[CheckBox3]", "[Record ID#]","Third Record Created By Webhook"
"[Date Created]","[Project Name]","[CheckBox4]", "[Record ID#]","Fourth Record Created By Webhook"
"[Date Created]","[Project Name]","[CheckBox5]", "[Record ID#]"," Fifth Record Created By Webhook"
]]>
%RepeatOff%
</records_csv>
<clist>6.7.8.9.10</clist>
<skipfirst>0</skipfirst>
</qdbapi>
This is just a rough example, but essentially it is using the one record creation to trigger off a set of Records being created using the Import from CSV function in a Webhook. Each line would just be another record created in the endpoint table. This is just an example off the top of my head so it would need some refining for your use case but I think it is the right direction for what you are looking for. I hope this suggestion is helpful Joey. I have also linked below the Import from CSV help document that goes over the syntax for building an API Import from CSV.
http://help.quickbase.com/api-guide/importfromcsv.html