DigitalTeam
7 years agoQrew Member
Create relationship between records via an api request
Hi there,
We are using the PHP SDK for interacting with the QuickBase api and have successfully managed to add new records using API_AddRecord.
The problem we have is there doesn't seem to be a documented way of creating relationships via the api.
For example, we would like to create a new entry record and store the questions/answers they've submitted in a separate table, linked to the entry by Record ID so that all data can be pulled through and filtered from the entries table in the QuickBase dashboard.
Entries table
RID: 34
Name: John Smith
Age: 45
Nationality: British
Answers Table
RID: 101
Question: Do you undertake moderate exercise 2-3 times a week?
Answer: Yes
EntryID: 34
RID: 102
Question: Do you smoke?
Answer: Yes
EntryID: 34
Has anyone managed to carry this out via the api before? Any help or pointers would be appreciated.
Thanks in advance,
Nick
We are using the PHP SDK for interacting with the QuickBase api and have successfully managed to add new records using API_AddRecord.
The problem we have is there doesn't seem to be a documented way of creating relationships via the api.
For example, we would like to create a new entry record and store the questions/answers they've submitted in a separate table, linked to the entry by Record ID so that all data can be pulled through and filtered from the entries table in the QuickBase dashboard.
Entries table
RID: 34
Name: John Smith
Age: 45
Nationality: British
Answers Table
RID: 101
Question: Do you undertake moderate exercise 2-3 times a week?
Answer: Yes
EntryID: 34
RID: 102
Question: Do you smoke?
Answer: Yes
EntryID: 34
Has anyone managed to carry this out via the api before? Any help or pointers would be appreciated.
Thanks in advance,
Nick